openspyrit / spas Goto Github PK
View Code? Open in Web Editor NEWSingle-Pixel Acquisition Software
Home Page: https://spas.readthedocs.io/en/latest/
License: GNU Lesser General Public License v3.0
Single-Pixel Acquisition Software
Home Page: https://spas.readthedocs.io/en/latest/
License: GNU Lesser General Public License v3.0
Line 6 in 893daf8
Une idée ?
_, acquisition_parameters, _, _ = read_metadata(meta_path)
Gives
Traceback (most recent call last):
Input In [27] in <cell line: 1>
_, acquisition_parameters, _, _ = read_metadata(meta_path)
File c:\users\ducros\openspyrit\spas\spas\metadata.py:823 in read_metadata
saved_acquisition_params.undo_readable_pattern_order()
File c:\users\ducros\openspyrit\spas\spas\metadata.py:244 in undo_readable_pattern_order
self.patterns_wp = self.patterns_wp.strip('[').strip(']').split(', ')
AttributeError: 'NoneType' object has no attribute 'strip'
cv2 used in :
spas > scripts > read_video_from_monchromeIDScam.py
and
spas > spas > visualization.py
Remove it because of problematic installation in some cases.
je viens juste d'installer spas et l'ajout module pyueye pose problème
Il faudrait peut-être traiter ça en même temps que l'issue #6 ? A voir avec Thomas ?
File ~.conda\envs\spyrit-spas-dev\lib\site-packages\pyueye\dll.py:166 in load_dll
dll = DLL(libinfo, libnames, os.getenv(envname))
File ~.conda\envs\spyrit-spas-dev\lib\site-packages\pyueye\dll.py:96 in init
raise RuntimeError("could not find any library for {} ({})".format(libinfo, dllmsg))
RuntimeError: could not find any library for ueye_api (DLL_PATH: unset)
spas/spas/reconstruction_nn.py
Line 70 in 893daf8
Pass acquisition_parameters.patterns
to the function to initialize the networks using the Ord
argument. By default it corresponds to the the diagonal of the covariance matrix.
NB: the network should be trained with the same subset of patterns.
Hello,
I having an issues when I launch the project.
DLL of the cam not installed !! Is there another way to have avaspecx64.dll ? I try on internet and I contacted the company also but no success.
Thank you for help
During the development of spas, I had to fork the repositories ALP4lib because some features had minor issues that would not work properly with spas.
You can see in
Line 15 in b486bcb
Hello,
I'm having an issue when using the library to read metadata from SPIHIM (without any need for the dll). I get the following error when importing read_metadata from spas :
The error comes from pyueye not having a DLL_PATH specified, thus failing the 'from pyueye import ueye' instruction.
A quick fix for my need (since I don't think I'm using it in my code) was to comment all occurences of ueye in the CAM class, but I don't think it's a good idea in the long run as I might find troubles later...
Check the images from the two functions are the same:
model.forward_reconstruc_pinv
reconstruction_hadamard
Importing SPAS is impossible for Linux users. This is due to the use of Winreg which is not compatible with linux.
While the package is not meant to be used for Linux users to control the instrument side of things, it still is important for Linux users to be able to import it to read data/metadata etc.
Potentially isolate the use of winreg and other windows specific applications inside a "submodule" so that linux users can use some of the functions that do not control the intrumentation.
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.