sidpy.viz.dataset_viz.ComplexSpectralImageFitVisualizer

class sidpy.viz.dataset_viz.ComplexSpectralImageFitVisualizer(original_dataset, fit_parameters, xvec=None, figure=None, horizontal=True, **kwargs)[source]

Bases: ComplexSpectralImageVisualizer

Visualizer for complex 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.

  • 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_legend