sidpy.viz.dataset_viz.SpectralImageFitVisualizer¶
- class sidpy.viz.dataset_viz.SpectralImageFitVisualizer(original_dataset, fit_dataset, xvec=None, figure=None, horizontal=True)[source]¶
Bases:
SpectralImageVisualizer
Visualizer for spectral image datasets, fit by the Sidpy Fitter This class is called by Sidpy Fitter for visualizing the raw/fit dataset interactively.
- Inputs:
original_dataset: sidpy.Dataset containing the raw data
fit_dataset: sidpy.Dataset with the fitted parameters, or the sidpy.Dataset returned by SidpyFitter.
xvec: Independent dimension vector, default is None (will be acquired from original_dataset if not provided).
figure: (Optional, default None) - handle to existing figure
horiziontal: (Optional, default True) - whether spectrum should be plotted horizontally
Methods
get_fit_spectrum
get_spectrum
get_xy
set_bin
set_dataset
set_image
set_legend
set_spectrum
update_image
verify_dataset