SpectralFrame

class gwcs.coordinate_frames.SpectralFrame(axes_order: tuple[int] = (0,), reference_frame: Time | BaseCoordinateFrame | None = None, unit: tuple[Unit] | None = None, axes_names: tuple[str] | None = None, name: str | None = None, axis_physical_types: tuple[str | None] | None = None)[source]

Bases: CoordinateFrame

Represents Spectral Frame

Parameters:
axes_ordertuple or int

A dimension in the input data that corresponds to this axis.

reference_frameastropy.coordinates.builtin_frames

Reference frame (usually used with output_frame to convert to world coordinate objects).

unitstr or units.Unit instance

Spectral unit.

axes_namesstr

Spectral axis name.

namestr

Name for this frame.

Attributes Summary

world_axis_object_classes

The APE 14 object classes for this frame.

Attributes Documentation

world_axis_object_classes