%run 'NBCONFIG.ipynb'
%pylab inline
Populating the interactive namespace from numpy and matplotlib ['dti', 'd', 'h', 'm', 'us', 's', 'ms', 'intvl', 'ns']
Populating the interactive namespace from numpy and matplotlib
from skspec.data import aunps_water, aunps_glass
from skspec.interact import SpectraGui
from skspec.interact import SpectraModel
testspectra = aunps_glass().as_varunit('s')
test2 = aunps_water()
testspectra.reference = 0
specmodel = SpectraModel(spec=testspectra) #I can initialize/set traits here
gui = SpectraGui(model=specmodel)
gui.tight_layout()
WARNING:skspec.core.spectra:Spectrum does not have subtracted baseline; could affect result in specious absorbance data.
gui