-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open single HSI spectrum #88
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to import a single HSI spectrum?
When I try to do this, I get the following error:
Traceback` (most recent call last):
File "C:\crikit\io\meta_process.py", line 171, in meta_process
output_cls_instance.x_rep.data = _np.squeeze(_np.linspace(start, stop, steps))
File "C:\crikit\data\replicate.py", line 79, in data
raise TypeError('data must be 1D ndarray')
TypeError: data must be 1D ndarray
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\crikit\CRIkitUI.py", line 694, in fileOpenHDFNIST
self.hsi)
File "C:\crikit\io\macros.py", line 34, in import_hdf_nist_special
_meta_process(_snb(), output_cls_instance)
File "C:\crikit\io\meta_process.py", line 213, in meta_process
_traceback.print_exc(limit=1)
NameError: name '_traceback' is not defined
After that, CRIKit is shut down.
When a map is allready opened in crikit, opening this single spectrum as NRB is possible, though.
Workaround: Create a 2x2 pixel pseudo map as .h5 file, where each data point contains the same single HSI spectrum.
The text was updated successfully, but these errors were encountered: