MappingMapping
-
Inter-relate two coordinate systems
- Description:
- This class provides the basic facilities for transforming a set
of coordinates (representing "input" points) to give a new set
of coordinates (representing "output" points). It is used to
describe the relationship which exists between two different
coordinate systems and to implement operations which make use of
this (such as transforming coordinates and resampling grids of
data). However, the Mapping class does not have a constructor
function of its own, as it is simply a container class for a
family of specialised Mappings which implement particular types
of coordinate transformation.
- Constructor Function:
- None.
-
Inheritance
- The Mapping class inherits from the ObjectObject class.
-
Attributes
- In addition to those attributes common to all Objects, every
Mapping also has the following attributes:
- InvertInvert: Mapping inversion flag
- IsLinearIsLinear: Is the Mapping linear?
- IsSimpleIsSimple: Has the Mapping been simplified?
- NinNin: Number of input coordinates for a Mapping
- NoutNout: Number of output coordinates for a Mapping
- ReportReport: Report transformed coordinates?
- TranForwardTranForward: Forward transformation defined?
- TranInverseTranInverse: Inverse transformation defined?
-
Functions
- In addition to those functions applicable to all Objects, the
following functions may also be applied to all Mappings:
- astDecomposeastDecompose: Decompose a Mapping into two component Mappings
- astTranGridastTranGrid: Transform a grid of positions
- astInvertastInvert: Invert a Mapping
- astLinearApproxastLinearApprox: Calculate a linear approximation to a Mapping
- astMapBoxastMapBox: Find a bounding box for a Mapping
- astMapSplitastMapSplit: Split a Mapping up into parallel component Mappings
- astQuadApproxastQuadApprox: Calculate a quadratic approximation to a 2D Mapping
- astRateastRate: Calculate the rate of change of a Mapping output
- astRebin
X
astRebinX: Rebin a region of a data grid
- astResample
X
astResampleX: Resample a region of a data grid
- astRemoveRegionsastRemoveRegions: Remove any Regions from a Mapping
- astSimplifyastSimplify: Simplify a Mapping
- astTran1astTran1: Transform 1-dimensional coordinates
- astTran2astTran2: Transform 2-dimensional coordinates
- astTranNastTranN: Transform N-dimensional coordinates
- astTranPastTranP: Transform N-dimensional coordinates held in separate arrays