| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
WCSBase
WCS(header, key=' ', relax=False)
WCS objects convert between pixel and world coordinates, based on the WCS settings in a FITS file.
| Instance Methods | |||
|
|||
|
|||
| a new object with type S, a subtype of T |
|
||
| int |
|
||
|
|||
| int |
|
||
| int |
|
||
| dict |
|
||
| bool |
|
||
| bool |
|
||
| bool |
|
||
| dict |
|
||
| dict |
|
||
|
|||
| dict |
|
||
|
|||
| int |
|
||
|
|||
| int |
|
||
|
Inherited from |
|||
| Properties | |
| string |
alt Character code for alternate coordinate descriptions. |
| array[2][2] of double |
cdCDi_ja linear transformation matrix.
|
| array[naxis] of double |
cdelt Coordinate increments ( CDELTia) for each coord axis.
|
| list of strings |
cname A list of the coordinate axis names, CNAMEia.
|
| array[naxis] of int |
colax An array recording the column numbers for each axis in a pixel list. |
|
colnum Where the coordinate representation is associated with an image-array column in a FITS binary table, this variable may be used to record the relevant column number. |
|
| array[naxis] of double |
crder The random error in each coordinate axis, CRDERia.
|
| array[2][2] of double |
crotaCROTAia keyvalues for each coordinate axis.
|
| array[naxis] of double |
crpix Coordinate reference pixels ( CRPIXja) for each pixel
axis.
|
| array[naxis] of double |
crval Coordinate reference values ( CRVALia) for each
coordinate axis.
|
| array[naxis] of double |
csyer The systematic error in the coordinate value axes, CSYERia.
|
| list of strings |
ctype List of CTYPEia keyvalues.
|
| int |
cubeface Index into the pixcrd (pixel coordinate) array for the
CUBEFACE axis.
|
| list of strings |
cunit List of CUNITia keyvalues which define the units of
measurement of the CRVALia, CDELTia and
CDi_ja keywords.
|
| string |
dateavg Representative mid-point of the date of observation in ISO format, yyyy-mm-ddThh:mm:ss.
|
| string |
dateobs Start of the date of observation in ISO format, yyyy-mm-ddThh:mm:ss.
|
| float |
equinox The equinox associated with dynamical equatorial or ecliptic coordinate systems, EQUINOXa (or EPOCH in
older headers).
|
| int |
lat The index into the world coordinate array containing latitude values. |
| float |
latpole The native latitude of the celestial pole, LATPOLEa
(deg).
|
| int |
lng The index into the world coordinate array containing longitude values. |
| float |
lonpole The native longitude of the celestial pole, LONPOLEa
(deg).
|
| float |
mjdavg Modified Julian Date (MJD = JD - 2400000.5), MJD-AVG,
corresponding to DATE-AVG.
|
| float |
mjdobs Modified Julian Date (MJD = JD - 2400000.5), MJD-OBS,
corresponding to DATE-OBS.
|
| string |
name The name given to the coordinate representation WCSNAMEa.
|
| int |
naxis The number of axes (pixel and coordinate), given by the NAXIS or WCSAXESa keyvalues.
|
| array[3] of double |
obsgeo Location of the observer in a standard terrestrial reference frame, OBSGEO-X, OBSGEO-Y, OBSGEO-Z
(in metres).
|
| array[2][2] of double |
pc The PCi_ja (pixel coordinate) transformation matrix.
|
| list of tuples |
psPSi_ma keywords for each i and m.
|
| list of tuples |
pvPVi_ma keywords for each i and m.
|
| string |
radesys The equatorial or ecliptic coordinate system type, RADESYSa.
|
| float |
restfrq Rest frequency (Hz) from RESTFRQa.
|
| float |
restwav Rest wavelength (m) from RESTWAVa.
|
| int |
spec The index containing the spectral axis values. |
| string |
specsys Spectral reference frame (standard of rest), SPECSYSa
|
| string |
ssysobs The actual spectral reference frame in which there is no differential variation in the spectral coordinate across the field-of-view, SSYSOBSa.
|
| string |
ssyssrc The spectral reference frame (standard of rest) in which the redshift was measured, SSYSSRCa.
|
| float |
velangl The angle in degrees that should be used to decompose an observed velocity into radial and transverse components. |
| float |
velosys The relative radial velocity (m/s) between the observer and the selected standard of rest in the direction of the celestial reference coordinate, VELOSYSa.
|
| float |
zsource The redshift, ZSOURCEa, of the source.
|
|
Inherited from |
|
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Translates AIPS-convention celestial projection types,
|
Fixes WCS keyvalues for malformed cylindrical projections.
|
Translates the old
|
Applies all of the corrections handled separately by datfix, unitfix, celfix, spcfix and cylfix.
|
Returns Matrix elements in the IRAF convention are equivalent to the product
While
See Also: cd for more information. |
Returns True if In the AIPS convention,
See Also: cd for more information. |
Returns True if
See Also: cd for more information. |
Given either the celestial longitude or latitude plus an element of the pixel coordinate, solves for the remaining elements by iterating on the unknown celestial coordinate element using s2p.
|
Converts pixel to world coordinates.
|
Print the contents of the WCS object to stdout. Probably only useful for debugging purposes, and may be removed in the future. |
Transforms world coordinates to pixel coordinates.
|
Sets up a WCS object for use according to information supplied within it.
Note that this routine need not be called directly; it will be invoked by p2s and s2p if necessary.
|
Translates AIPS-convention spectral coordinate types.
{
|
Translates the spectral axis in a WCS object. For example, a
|
Translates non-standard
|
| Property Details |
altCharacter code for alternate coordinate descriptions. For example,
the
|
cd
For historical compatibility, two alternate specifications of the
has_pci_ja, has_cdi_ja and has_crotaia can be used to determine which of these alternatives are present in the header.
These alternate specifications of the linear transformation matrix are
translated immediately to
|
cdeltCoordinate increments ( Any undefined elements are returned as NaN.
|
colnumWhere the coordinate representation is associated with an image-array column in a FITS binary table, this variable may be used to record the relevant column number. It should be set to zero for an image header or pixel list. |
crderThe random error in each coordinate axis, Any undefined elements are returned as NaN.
See Also: csyer |
crota
See Also: cd for more information. |
crpixCoordinate reference pixels ( Pixel coordinates are zero-based.
|
csyerThe systematic error in the coordinate value axes,
Any undefined elements are returned as NaN.
See Also: crder |
ctypeList of The ctype keyword values must be in upper case and there must be zero or one pair of matched celestial axis types, and zero or one spectral axis.
|
cubefaceIndex into the The quadcube projections (
These routines support both methods; set determines which
is being used by the presence or absence of a
|
cunitList of As For celestial axes, if cunit is not blank, set uses
For spectral axes, if cunit is not blank, set uses
set ignores cunit for other coordinate types; cunit may be used to label coordinate values.
|
dateavgRepresentative mid-point of the date of observation in ISO format,
See Also: dateobs |
dateobsStart of the date of observation in ISO format,
See Also: dateavg |
equinoxThe equinox associated with dynamical equatorial or ecliptic
coordinate systems, If the equinox is undefined, NaN is returned.
|
latThe index into the world coordinate array containing latitude values.
See Also: lng |
latpoleThe native latitude of the celestial pole,
See Also: lonpole |
lngThe index into the world coordinate array containing longitude values.
See Also: lat |
lonpoleThe native longitude of the celestial pole,
See Also: latpole |
mjdavgModified Julian Date (MJD = JD - 2400000.5), If mjdavg is undefined, NaN is returned.
See Also: mjdobs |
mjdobsModified Julian Date (MJD = JD - 2400000.5), If mjdobs is undefined, NaN is returned.
See Also: mjdavg |
obsgeoLocation of the observer in a standard terrestrial reference frame,
Any undefined elements are returned as NaN.
|
pcThe [[PC1_1, PC1_2], [PC2_1, PC2_2]]
|
ps
|
pv
|
restfrqRest frequency (Hz) from If restfrq is undefined, NaN is returned.
See Also: restwav |
restwavRest wavelength (m) from If restwav is undefined, NaN is returned.
See Also: restfrq |
specsysSpectral reference frame (standard of rest),
|
ssysobsThe actual spectral reference frame in which there is no differential
variation in the spectral coordinate across the field-of-view,
|
ssyssrcThe spectral reference frame (standard of rest) in which the redshift
was measured,
See Also: zsource |
velanglThe angle in degrees that should be used to decompose an observed velocity into radial and transverse components. If velangl is undefined, NaN is returned.
|
velosysThe relative radial velocity (m/s) between the observer and the
selected standard of rest in the direction of the celestial reference
coordinate, If velosys is undefined, NaN is returned.
|
zsourceThe redshift, If zsource is undefined, NaN is returned.
See Also: ssyssrc |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 14:39:29 2008 | http://epydoc.sourceforge.net |