gwcs.coordinate_frames.AxisType

class gwcs.coordinate_frames.AxisType(*values)

Bases: StrEnum

Enumeration of the Axis types

Attributes

AxisType.SPATIAL = 'SPATIAL'
AxisType.SPECTRAL = 'SPECTRAL'
AxisType.TIME = 'TIME'
AxisType.STOKES = 'STOKES'
AxisType.PIXEL = 'PIXEL'
AxisType.UNDEFINED = 'UNDEFINED'

Methods

from_input(axis_type)

Convert a string to an AxisType.

classmethod AxisType.from_input(axis_type)

Convert a string to an AxisType.

Parameters:

axis_type (str)

Return type:

AxisType | str