AxisType

class gwcs.coordinate_frames.AxisType(*values)[source]

Bases: StrEnum

Enumeration of the Axis types

Attributes Summary

Methods Summary

from_input(axis_type)

Convert a string to an AxisType.

Attributes Documentation

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

Methods Documentation

classmethod from_input(axis_type: str) AxisType | str[source]

Convert a string to an AxisType.