GithubHelp home page GithubHelp logo

ccampjr / crikit2 Goto Github PK

View Code? Open in Web Editor NEW
17.0 6.0 11.0 20.7 MB

CRIKit2 is a hyperspectral imaging toolkit formerly known as the coherent Raman imaging toolkit.

License: Other

Python 96.99% Jupyter Notebook 3.00% Batchfile 0.01%
python hyperspectral raman visualization scientific nist matplotlib phase-retrieval kramers-kronig svd

crikit2's Issues

SVD crash

There is a crash reported on a Mac OS system that gives a message about a possible LAPACK bug

To the effect:
img_nonselect = self.img_all - img_select on line 217 DialogAbstractFactorization
cannot subtract float and None type

line 49 & 54 dialogSVD

line 1708 in CRIkitUI

Multiple ROI selection

Is it possible to add a ROI selection function like ROI manager that can let users to add/remove and save/load the multiple ROIs?

Occassionally, ROI spectrum crashes with x- and y- length error

File "c:\users\chc\documents\python\crikit2\crikit\CRIkitUI.py", line 1240, in
lambda event: self._roiClick(event, self._roiSpectrumPlot))
File "c:\users\chc\documents\python\crikit2\crikit\CRIkitUI.py", line 1410, in _roiClick
pass_fcn((self.x_loc_list, self.y_loc_list))
File "c:\users\chc\documents\python\crikit2\crikit\CRIkitUI.py", line 1339, in _roiSpectrumPlot
self.plotter.plot(self.hsi.f, spectrum, label=label_plot, meta=meta)
File "c:\users\chc\documents\python\sciplot_pyqt5\sciplot\sciplotUI.py", line 535, in _plot
plot_data.mplobj = self.mpl_widget.ax.plot(x, y, label=label, **kwargs)
File "C:\Users\chc\Documents\Python\WinPython-64bit-3.5.2.1Qt5\python-3.5.2.amd64\lib\site-packages\matplotlib_init
.py"
, line 1819, in inner
return func(ax, *args, **kwargs)
File "C:\Users\chc\Documents\Python\WinPython-64bit-3.5.2.1Qt5\python-3.5.2.amd64\lib\site-packages\matplotlib\axes_axes.p
y", line 1382, in plot
for line in self._get_lines(*args, **kwargs):
File "C:\Users\chc\Documents\Python\WinPython-64bit-3.5.2.1Qt5\python-3.5.2.amd64\lib\site-packages\matplotlib\axes_base.p
y", line 381, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "C:\Users\chc\Documents\Python\WinPython-64bit-3.5.2.1Qt5\python-3.5.2.amd64\lib\site-packages\matplotlib\axes_base.p
y", line 359, in _plot_args
x, y = self._xy_from_xy(x, y)
File "C:\Users\chc\Documents\Python\WinPython-64bit-3.5.2.1Qt5\python-3.5.2.amd64\lib\site-packages\matplotlib\axes_base.p
y", line 219, in _xy_from_xy
raise ValueError("x and y must have same first dimension")
ValueError: x and y must have same first dimension

SVD not working

Traceback (most recent call last):
File "c:\users\chc\documents\python\crikit2\crikit\CRIkitUI.py", line 1723, in deNoise
mask=self.hsi.mask, parent=self)
TypeError: main() got an unexpected keyword argument 'mask'

Reduce Model memory usage

Creating the model clearly doubles or triples the necessary memory needed. Lots of copies going on.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.