LSST Applications g063fba187b+cac8b7c890,g0f08755f38+6aee506743,g1653933729+a8ce1bb630,g168dd56ebc+a8ce1bb630,g1a2382251a+b4475c5878,g1dcb35cd9c+8f9bc1652e,g20f6ffc8e0+6aee506743,g217e2c1bcf+73dee94bd0,g28da252d5a+1f19c529b9,g2bbee38e9b+3f2625acfc,g2bc492864f+3f2625acfc,g3156d2b45e+6e55a43351,g32e5bea42b+1bb94961c2,g347aa1857d+3f2625acfc,g35bb328faa+a8ce1bb630,g3a166c0a6a+3f2625acfc,g3e281a1b8c+c5dd892a6c,g3e8969e208+a8ce1bb630,g414038480c+5927e1bc1e,g41af890bb2+8a9e676b2a,g7af13505b9+809c143d88,g80478fca09+6ef8b1810f,g82479be7b0+f568feb641,g858d7b2824+6aee506743,g89c8672015+f4add4ffd5,g9125e01d80+a8ce1bb630,ga5288a1d22+2903d499ea,gb58c049af0+d64f4d3760,gc28159a63d+3f2625acfc,gcab2d0539d+b12535109e,gcf0d15dbbd+46a3f46ba9,gda6a2b7d83+46a3f46ba9,gdaeeff99f8+1711a396fd,ge79ae78c31+3f2625acfc,gef2f8181fd+0a71e47438,gf0baf85859+c1f95f4921,gfa517265be+6aee506743,gfa999e8aa5+17cd334064,w.2024.51
LSST Data Management Base Package
|
Native latitude of the reference point of a FITS-WCS projection. (double, read-only)
This attribute gives the latitude of the reference point of the FITS-WCS projection implemented by a WcsMap. The value is in radians in the "native spherical" coordinate system. This value is fixed for most projections, for instance it is PI/2
(90 degrees) for all zenithal projections. For some projections (e.g. the conics) the value is not fixed, but is specified by parameter one on the latitude axis.
FITS-WCS paper II introduces the concept of a "fiducial point" which is logical distinct from the projection reference point. It is easy to confuse the use of these two points. The fiducial point is the point which has celestial coordinates given by the CRVAL
FITS keywords. The native spherical coordinates for this point default to the values of the NatLat and NatLon {NatLon" attributes, but these defaults
mey be over-ridden by values stored in the <tt>PVi_j</tt> keywords. Put
another way, the <tt>CRVAL</tt> keywords will by default give the celestial
coordinates of the projection reference point, but may refer to
some other point if alternative native longitude and latitude values
are provided through the <tt>PVi_j</tt> keywords.
@subsection WcsMap_NatLon NatLon
Native longitude of the reference point of a FITS-WCS projection. (double, read-only)
This attribute gives the longitude of the reference point of the
FITS-WCS projection implemented by a @ref WcsMap. The value is in
radians in the "native spherical" coordinate system, and will
usually be zero. See @ref WcsMap_NatLat "NatLat" for further information.
@subsection WcsMap_PVi_m PVi_m
FITS-WCS projection parameters. (double)
This attribute specifies the projection parameter values to be
used by a @ref WcsMap when implementing a FITS-WCS sky projection.
Each PV attribute name should include two integers, <tt>i</tt> and <tt>m</tt>,
separated by an underscore. The axis index is specified
by <tt>i</tt>, and should be in the range 1 to 99. The parameter number
is specified by <tt>m</tt>, and should be in the range 0 to 99. For
example, "PV2_1=45.0" would specify a value for projection
parameter 1 of axis 2 in a @ref WcsMap.
These projection parameters correspond exactly to the values
stored using the FITS-WCS keywords "PV1_1", "PV1_2", etc. This
means that projection parameters which correspond to angles must
be given in degrees (despite the fact that the angular
coordinates and other attributes used by a @ref WcsMap are in
radians).
The set of projection parameters used by a @ref WcsMap depends on the
type of projection, which is determined by its WcsType
parameter. Most projections either do not require projection
parameters, or use parameters 1 and 2 associated with the latitude
axis. You should consult the FITS-WCS paper for details.
Some projection parameters have default values (as defined in
the FITS-WCS paper) which apply if no explicit value is given.
You may omit setting a value for these "optional" parameters and the
default will apply. Some projection parameters, however, have no
default and a value must be explicitly supplied. This is most
conveniently
done using the "options" argument of astWcsMap (q.v.) when a @ref WcsMap
done using the OPTIONS argument of AST_WCSMAP (q.v.) when a @ref WcsMap
is first created. An error will result when a @ref WcsMap is used to
transform coordinates if any of its required projection
parameters has not been set and lacks a default value.
A "get" operation for a parameter which has not been assigned a value
will return the default value defined in the FITS-WCS paper, or
AST__BAD if the paper indicates that the parameter has no default.
A default value of zero is returned for parameters which are not
accessed by the projection.
Note, the FITS-WCS paper reserves parameters 1 and 2 on the longitude
axis to hold the native longitude and latitude of the fiducial
point of the projection, in degrees. The default values for these
parameters are determined by the projection type. The AST-specific
TPN projection does not use this convention - all projection
parameters for both axes are used to represent polynomical correction
terms, and the native longitude and latitude at the fiducial point may
not be changed from the default values of zero and 90 degrees.
<h3>Notes:</h3>
- If the projection parameter values given for a @ref WcsMap do not
satisfy all the required constraints (as defined in the FITS-WCS
paper), then an error will result when the @ref WcsMap is used to
transform coordinates.
@subsection WcsMap_PVMax PVMax(i)
Maximum number of FITS-WCS projection parameters. (int, read-only)
This attribute specifies the largest legal index for a PV projection
parameter attached to a specified axis of the @ref WcsMap (i.e. the
largest legal value for <tt>m</tt> when accessing the @ref WcsMap_PVi_m "PVi_m" attribute). The axis index is specified by i
, and should be in the range 1 to 99. The value for each axis is determined by the projection type specified when the WcsMap is first created cannot subsequently be changed.
FITS-WCS projection axes. (int, read-only)
This attribute gives the indices of the longitude and latitude coordinates of the FITS-WCS projection within the coordinate space used by a WcsMap. These indices are defined when the WcsMap is first created and cannot subsequently be altered.
If lonlat
is 1, the index of the longitude axis is returned. If lonlat
is 2, the index of the latitude axis is returned.
FITS-WCS projection type. (int, read only)
This attribute specifies which type of FITS-WCS projection will be performed by a WcsMap. The value is specified when a WcsMap is first created and cannot subsequently be changed.
The values used are represented by enum class WcsType
with names that match the (upper case) 3-character code used by the FITS-WCS CTYPEi
keyword to identify the projection. For example WcsType::TAN
is the tangent plane or gnomonic projection and WcsType::AIT
is the Hammer-Aitoff projection. WcsType::TPN
is an exception in that it is not part of the FITS-WCS standard (it represents a TAN projection with polynomial correction terms as defined in an early draft of the FITS-WCS paper).