scikit-spectra icon indicating copy to clipboard operation
scikit-spectra copied to clipboard

Python pandas-based toolkit for explorative spectroscopy, in particular UVVis spectroscopic data.

Results 80 scikit-spectra issues
Sort by recently updated
recently updated
newest added

Tested on both **panel** and*\* specstack*\* (save behavior): If I make a timespectra with index from numpy array or Index(), works fine: ``` spec=SpecIndex(np.arange(400, 700,10), unit='nm' ) testdates=date_range(start='3/3/12',periods=30,freq='h') ts=TimeSpectra(abs(np.random.randn(30,30)), columns=testdates,...

Should be a ts method that can shift data. Already has one of these functions I think for timeseries data (offset) but should work with time interval and spectral index....

SpecIndex ought to have some sort of precision rounding. Otherwise, get issues. The baseline subtractino index, for example, is due to non equivalence put to exp-13 ish decimal places of...

Major todo

When carefully sampling 20-40 on plot that doesn't have custom index/ranges, still returns like 22-44. Full screen or otherwise.

See notebook AUDilution from feb 26 for polynomial fitting. What about general fitting from scipy curvefit/optimize? Thinking either have separate functions for each style: polyfit gaussfit etc... Then for general...

enhancement

If I manually change spectral index, does baseline/reference also change? If not, may make more sense to only store the values of these arrays and then when they are called...

Major todo

This module is just copied from another project and needs curated.

How do I make boxcar, for example, which is not a native df operation act on timespectra?

For get_files_in_dir(), add a "by 10" mechanism.

http://www.diveintopython.net/unit_testing/index.html First should incorporate some of pandas unit tests to make sure my MetaDataframe class actually works correctly, and then create some spectroscopy-related tests.

Major todo