Frame2D

class gwcs.coordinate_frames.Frame2D(axes_order=0, 1, unit=Unit('pix'), Unit('pix'), axes_names='x', 'y', name=None, axis_physical_types=None)[source]

Bases: gwcs.coordinate_frames.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.

Methods Summary

coordinate_to_quantity(*coords)

Given a rich coordinate object return an astropy quantity object.

coordinates(*args)

Create world coordinates object

Methods Documentation

coordinate_to_quantity(*coords)[source]

Given a rich coordinate object return an astropy quantity object.

coordinates(*args)[source]

Create world coordinates object