Frame2D

class gwcs.coordinate_frames.Frame2D(axes_order: tuple[int, int] = (0, 1), unit: tuple[Unit, Unit] = (Unit('pix'), Unit('pix')), axes_names: tuple[str, str] = ('x', 'y'), name: str | None = None, axes_type: tuple[AxisType | str, AxisType | str] | None = None, axis_physical_types: tuple[str | None, str | None] | None = None)[source]

Bases: CoordinateFrame

A 2D coordinate frame.

Parameters:
axes_ordertuple of int

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

unitlist of astropy.units.Unit

Unit for each axis.

axes_nameslist

Names of the axes in this frame.

namestr

Name of this frame.