SpectralUnmixer#
- class patato.SpectralUnmixer(chromophores: List[Spectrum | str], wavelengths, rescaling_factor=1, algorithm_id='')#
Bases:
SpatialProcessingAlgorithm
The spectral unmixer. This takes in reconstruction data and spits out linearly spectrall unmixed data.
- __init__(chromophores: List[Spectrum | str], wavelengths, rescaling_factor=1, algorithm_id='')[source]#
Methods
__init__
(chromophores, wavelengths[, ...])add_child
(child)get_algorithm_id
()re_grid
(reconstruction, scaling_factor)- param reconstruction:
run
(reconstruction, _, **kwargs)