Cross Dispersion Profile#

Plugin Availability

The plugin will be visible when at least one compatible dataset is loaded.

Analyze cross-dispersion profiles in 2D spectra.

Description#

The Cross Dispersion Profile plugin extracts and displays profiles perpendicular to the dispersion direction in 2D spectroscopic data.

Key Features:

  • Extract spatial profiles

  • Analyze trace position

  • Profile visualization

  • Background estimation

UI Access#

Click the Cross Dispersion Profile icon in the plugin toolbar to view cross-dispersion profiles.

API Access#

plg = specviz2d.plugins['Cross Dispersion Profile']
# Access profile data

API References#

The Cross Dispersion Profile plugin allows for visualizaion of the

cross-dispersion profile of 2d spectra, at a specified wavelength / pixel and window.

The following attributes and methods are available through the public plugin API:

  • show()

  • open_in_tray()

  • close_in_tray()

  • measure_cross_dispersion_profile()

  • dataset (DatasetSelect):

    Dataset used to calculate and plot cross-dispersion profile.

  • pixel

    Pixel on spectral axis used to compute and plot profile.

  • y_pixel

    Center of profile on cross-dispersion axis.

  • use_full_width

    If true, full cross-dispersion axis will be used to compute the profile.

  • width

    If use_full_with is False, this value will set the size of the window for the profile on the cross-dispersion axis, centered at y_pixel.

  • profile

    Computed profile, as a Quantity array.

For detailed API documentation, see CrossDispersionProfile.

See Also#