SpectralAxis#

class sunkit_spex.spectrum.spectrum.SpectralAxis(value, *args, bin_specification='centers', **kwargs)[source]#

Bases: SpectralCoord

Coordinate object representing spectral values corresponding to a specific spectrum. Overloads SpectralCoord with additional information (currently only bin edges).

Parameters:

bin_specification (str, optional) – Must be “edges” or “centers”. Determines whether specified axis values are interpreted as bin edges or bin centers. Defaults to “centers”.

Attributes Summary

bin_edges

Calculates bin edges if the spectral axis was created with centers specified.

Attributes Documentation

bin_edges#

Calculates bin edges if the spectral axis was created with centers specified.