Python equivalents
Each GWCS.jl name with a counterpart in Python GWCS or astropy, as its docstring states it.
| GWCS.jl | Python |
|---|---|
AbstractCoordinateFrame | gwcs.coordinate_frames.BaseCoordinateFrame. |
AbstractTransform | astropy.modeling.Model. |
AffineTransform | astropy.modeling.models.AffineTransformation2D, which is two-dimensional only. |
AiryProjection | astropy.modeling.models.Pix2Sky_Airy and Sky2Pix_Airy. |
AnnotatedTransform | the name, inputs, and outputs of astropy.modeling.Model. |
ArrayLabelMapper | gwcs.selector.LabelMapperArray. |
AxisType | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
BonneProjection | astropy.modeling.models.Pix2Sky_BonneEqualArea and Sky2Pix_BonneEqualArea. |
BoundingBox | astropy.modeling.bounding_box.ModelBoundingBox. |
COBESphericalCube | astropy.modeling.models.Pix2Sky_COBEQuadSphericalCube and Sky2Pix_COBEQuadSphericalCube. |
CartesianToSpherical | gwcs.geometry.CartesianToSpherical. |
CelestialFrame | gwcs.coordinate_frames.CelestialFrame. |
CelestialToNative | astropy.modeling.models.RotateCelestial2Native. |
CompositeFrame | gwcs.coordinate_frames.CompositeFrame. |
CompoundBoundingBox | astropy.modeling.bounding_box.CompoundBoundingBox. |
ConicEqualArea | astropy.modeling.models.Pix2Sky_ConicEqualArea and Sky2Pix_ConicEqualArea. |
ConicEquidistant | astropy.modeling.models.Pix2Sky_ConicEquidistant and Sky2Pix_ConicEquidistant. |
ConicOrthomorphic | astropy.modeling.models.Pix2Sky_ConicOrthomorphic and Sky2Pix_ConicOrthomorphic. |
ConicPerspective | astropy.modeling.models.Pix2Sky_ConicPerspective and Sky2Pix_ConicPerspective. |
ConstantTransform | astropy.modeling.models.Const1D and Const2D. |
CoordinateFrame | gwcs.coordinate_frames.CoordinateFrame. |
CylindricalEqualArea | astropy.modeling.models.Pix2Sky_CylindricalEqualArea and Sky2Pix_CylindricalEqualArea. |
CylindricalPerspective | astropy.modeling.models.Pix2Sky_CylindricalPerspective and Sky2Pix_CylindricalPerspective. |
DictionaryLabelMapper | gwcs.selector.LabelMapperDict. |
EmptyFrame | gwcs.coordinate_frames.EmptyFrame. |
Frame2D | gwcs.coordinate_frames.Frame2D. |
GnomonicProjection | astropy.modeling.models.Pix2Sky_Gnomonic and Sky2Pix_Gnomonic. |
HEALPixPolarProjection | astropy.modeling.models.Pix2Sky_HEALPixPolar and Sky2Pix_HEALPixPolar. |
HEALPixProjection | astropy.modeling.models.Pix2Sky_HEALPix and Sky2Pix_HEALPix. |
HammerAitoffProjection | astropy.modeling.models.Pix2Sky_HammerAitoff and Sky2Pix_HammerAitoff. |
IdentityTransform | astropy.modeling.models.Identity. |
IntermediateToNative | the Pix2Sky_* projections of astropy.modeling.models. |
MercatorProjection | astropy.modeling.models.Pix2Sky_Mercator and Sky2Pix_Mercator. |
MollweideProjection | astropy.modeling.models.Pix2Sky_Molleweide and Sky2Pix_Molleweide, as astropy spells it. |
NativeToCelestial | astropy.modeling.models.RotateNative2Celestial. |
NativeToIntermediate | the Sky2Pix_* projections of astropy.modeling.models. |
NoConvergence | gwcs.wcs.NoConvergence. |
PIXEL | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
ParabolicProjection | astropy.modeling.models.Pix2Sky_Parabolic and Sky2Pix_Parabolic. |
PlateCarreeProjection | astropy.modeling.models.Pix2Sky_PlateCarree and Sky2Pix_PlateCarree. |
PolyconicProjection | astropy.modeling.models.Pix2Sky_Polyconic and Sky2Pix_Polyconic. |
Polynomial1D | astropy.modeling.models.Polynomial1D. |
Polynomial2D | astropy.modeling.models.Polynomial2D, whose coefficients are named c{i}_{j} for the same terms. |
QuadrilateralizedSphericalCube | astropy.modeling.models.Pix2Sky_QuadSphericalCube and Sky2Pix_QuadSphericalCube. |
RangeLabelMapper | gwcs.selector.LabelMapperRange. |
RegionSelector | gwcs.selector.RegionsSelector, whose undefined_transform_value is the value it returns outside every region. |
RemapAxes | astropy.modeling.models.Mapping, whose indices are zero-based. |
Rotation2D | astropy.modeling.models.Rotation2D. |
Rotation3D | astropy.modeling.models.RotationSequence3D. |
SPATIAL | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
SPECTRAL | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
STOKES | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
SansonFlamsteedProjection | astropy.modeling.models.Pix2Sky_SansonFlamsteed and Sky2Pix_SansonFlamsteed. |
Scale | astropy.modeling.models.Scale. |
Shift | astropy.modeling.models.Shift. |
SlantOrthographic | astropy.modeling.models.Pix2Sky_SlantOrthographic and Sky2Pix_SlantOrthographic. |
SlantZenithalPerspective | astropy.modeling.models.Pix2Sky_SlantZenithalPerspective and Sky2Pix_SlantZenithalPerspective. |
SpectralFrame | gwcs.coordinate_frames.SpectralFrame. |
SphericalToCartesian | gwcs.geometry.SphericalToCartesian. |
Step | gwcs.wcs.Step. |
StereographicProjection | astropy.modeling.models.Pix2Sky_Stereographic and Sky2Pix_Stereographic. |
StokesFrame | gwcs.coordinate_frames.StokesFrame. |
TIME | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
TangentialSphericalCube | astropy.modeling.models.Pix2Sky_TangentialSphericalCube and Sky2Pix_TangentialSphericalCube. |
TemporalFrame | gwcs.coordinate_frames.TemporalFrame. |
TransformLabelMapper | gwcs.selector.LabelMapper. |
UNDEFINED | the strings of gwcs.coordinate_frames.CoordinateFrame.axes_type. |
WCS | gwcs.WCS, which takes the steps as a list of (frame, transform) pairs. |
WithInverse | setting astropy.modeling.Model.inverse. |
WithInverseLabelMapper | setting inverse on a gwcs.selector label mapper. |
ZenithalEqualArea | astropy.modeling.models.Pix2Sky_ZenithalEqualArea and Sky2Pix_ZenithalEqualArea. |
ZenithalEquidistant | astropy.modeling.models.Pix2Sky_ZenithalEquidistant and Sky2Pix_ZenithalEquidistant. |
ZenithalPerspective | astropy.modeling.models.Pix2Sky_ZenithalPerspective and Sky2Pix_ZenithalPerspective. |
available_frames | gwcs.WCS.available_frames. |
axis_correlation_matrix | gwcs.WCS.axis_correlation_matrix, and astropy.modeling.separable.separability_matrix for a transform. |
axis_names | gwcs.coordinate_frames.CoordinateFrame.axes_names. |
axis_physical_types | gwcs.coordinate_frames.CoordinateFrame.axis_physical_types. |
axis_types | gwcs.coordinate_frames.CoordinateFrame.axes_type, which holds strings. |
axis_units | gwcs.coordinate_frames.CoordinateFrame.unit, which holds astropy units rather than strings. |
celestial_transform | a Pix2Sky_* projection of astropy.modeling.models followed by RotateNative2Celestial. |
compose | the | operator of astropy.modeling.Model. |
degree | the degree attribute of astropy.modeling.models.Polynomial1D and Polynomial2D. |
elementwise | the arithmetic operators of astropy.modeling.Model. |
find_all_fits_wcs | astropy.wcs.find_all_wcs. |
fix_inputs | astropy.modeling.fix_inputs, and gwcs.WCS.fix_inputs for a WCS. |
frame_dimension | gwcs.coordinate_frames.CoordinateFrame.naxes. |
get_transform | gwcs.WCS.get_transform. |
grid_from_bounding_box | gwcs.wcstools.grid_from_bounding_box, which returns one array per axis rather than a matrix. |
has_inverse | astropy.modeling.Model.has_inverse. |
ignored_axes | astropy.modeling.bounding_box.ModelBoundingBox.ignored, which is zero-based. |
in_image | gwcs.WCS.in_image. |
input_dimension | astropy.modeling.Model.n_inputs. |
input_frame | gwcs.WCS.input_frame. |
input_names | astropy.modeling.Model.inputs, which always has names. |
insert_frame | gwcs.WCS.insert_frame, which changes the WCS in place. |
insert_transform | gwcs.WCS.insert_transform, which changes the WCS in place. |
inverse_transform | astropy.modeling.Model.inverse, which raises NotImplementedError when there is none. |
map_label | evaluating a gwcs.selector label mapper. |
numerical_inverse | gwcs.WCS.numerical_inverse. |
output_dimension | astropy.modeling.Model.n_outputs. |
output_frame | gwcs.WCS.output_frame. |
output_names | astropy.modeling.Model.outputs, which always has names. |
parallel | the & operator of astropy.modeling.Model. |
parse_fits_wcs | astropy.wcs.WCS, which evaluates the header with WCSLIB rather than building a GWCS pipeline. |
pixel_axis_names | gwcs.WCS.pixel_axis_names. |
pixel_axis_physical_types | gwcs.WCS.input_frame.axis_physical_types. |
pixel_axis_types | gwcs.WCS.input_frame.axes_type, which holds strings. |
pixel_axis_units | gwcs.WCS.input_frame.unit, which holds astropy units rather than strings. |
pixel_n_dim | gwcs.WCS.pixel_n_dim. |
pixel_to_world | gwcs.WCS.pixel_to_world_values; Python's pixel_to_world returns astropy coordinate objects instead. |
register_transform! | the from_yaml_tree of an asdf.extension.Converter. |
register_transform_serializer! | the to_yaml_tree of an asdf.extension.Converter. |
select_bounding_box | astropy.modeling.bounding_box.CompoundBoundingBox[selector]. |
selected_transform | gwcs.selector.RegionsSelector.selector[label]. |
selector_axes | the index of each entry of astropy.modeling.bounding_box.CompoundBoundingBox.selector_args, which is zero-based. |
selector_ignored | the ignore of each entry of astropy.modeling.bounding_box.CompoundBoundingBox.selector_args. |
set_transform | gwcs.WCS.set_transform, which changes the WCS in place. |
transform | gwcs.WCS.transform, which applies the bounding box by default. |
transform_dependencies | astropy.modeling.separable.separability_matrix. |
transform_name | astropy.modeling.Model.name. |
with_bounding_box | setting gwcs.WCS.bounding_box, which changes the WCS in place. |
with_pixel_shape | setting gwcs.WCS.pixel_shape, which changes the WCS in place. |
world_axis_names | gwcs.WCS.world_axis_names. |
world_axis_physical_types | gwcs.WCS.world_axis_physical_types. |
world_axis_types | gwcs.WCS.output_frame.axes_type, which holds strings. |
world_axis_units | gwcs.WCS.world_axis_units. |
world_n_dim | gwcs.WCS.world_n_dim. |
world_to_pixel | gwcs.WCS.world_to_pixel_values; Python's world_to_pixel takes astropy coordinate objects instead. |
write_asdf | asdf.AsdfFile({key: wcs}).write_to(filename). |