kb1dds / pysheaf Goto Github PK
View Code? Open in Web Editor NEWPython Cellular Sheaf Library
Home Page: http://kb1dds.github.io/pysheaf/
License: Apache License 2.0
Python Cellular Sheaf Library
Home Page: http://kb1dds.github.io/pysheaf/
License: Apache License 2.0
Arrays that are numpy.ndarray
s are fine elsewhere, but when you run Sheaf.FuseAssignment()
with the default optimizer, it crashes. The default optimizer's wrapper should probably resolve this internally by flattening all arrays into vectors (and rebuilding restriction maps accordingly) before passing to the optimizer.
It would be very helpful. For example:
Robinson, Michael. "Sheaves are the canonical data structure for sensor integration." Information Fusion 36 (2017): 208-224.
(name says it all!)
The Problem is that cells outside of the open set can still flow values into the open set (on its boundary) that make the various problems not independent.
This should actually be a phantom problem if a value is specified with optimization=False on the boundary, because then we don't actually have a choice for a different value there.
I tried to resolve this using Views of the Sheaf, but that seems to give strange results.
I can't immediately find licensing information for PySheaf.
I recommend adding a LICENSE
or LICENSE.txt
file to the root directory. If you're feeling extra motivated, you can also mention the license in the README.rst
and in docs/index.rst
.
Do you have a specific license in mind? If not, you can peruse the "main" open source licensing options here: https://opensource.org/licenses (or a more comprehensive list here: https://opensource.org/licenses/alphabetical ).
I replaced the Cell class constructor with:
def __init__(self,dimension,compactClosure=True,cofaces=None, name=None):
self.dimension=dimension
self.compactClosure=compactClosure
if cofaces != None:
self.cofaces = cofaces
else:
self.cofaces = []
self.name = name
The empty list in the original constructor linked the coface list of all the cells together if the cofaces were added after the cells were instantiated.
We're having issues importing the pysheaf.analysisTools
module because the module imports pysheaf.dataTools
by simply saying import dataTools
:
pysheaf/pysheaf/analysisTools.py
Line 25 in 23002b2
That works within the module since the file is local, but external programs that try to import pysheaf.analysisTools
can't resolve this import of dataTools
, since they don't know where the module lives.
The fix should be just replacing import dataTools
with from . import dataTools
in analysisTools.py
.
We tested this fix locally and that resolved the issue -- import pysheaf.analysisTools
worked as expected in our external program.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.