Collaboration diagram for Astrometry Functions:
|
Files | |
| file | psAstrometry.h |
| This file defines the basic types for astronomical coordinate transformation. | |
Data Structures | |
| struct | psGrommit |
| Wallace's Grommit. More... | |
| struct | psFixedPattern |
| Fixed Pattern Corrections. More... | |
| struct | psReadout |
| Readout data structure. More... | |
| struct | psCell |
| Cell data structure. More... | |
| struct | psChip |
| Chip data structure. More... | |
| struct | psFPA |
| A Focal-Plane. More... | |
| struct | psObservatory |
| Observatory Information. More... | |
| struct | psExposure |
| Exposure Information. More... | |
Typedefs | |
| typedef psChip | psChip |
| Chip data structure. | |
| typedef psFPA | psFPA |
| A Focal-Plane. | |
| typedef psExposure | psExposure |
| Exposure Information. | |
Functions | |
| psFixedPattern * | psFixedPatternAlloc (double x0, double y0, double xScale, double yScale, const psImage *x, const psImage *y) |
| Allocator for psFixedPattern struct. | |
| psExposure * | psExposureAlloc (double ra, double dec, double hourAngle, double zenithDistance, double azimuth, const psTime *time, float rotAngle, float temperature, float pressure, float humidity, float exposureTime, float wavelength, const psObservatory *observatory) |
| Allocator for psExposure. | |
| psObservatory * | psObservatoryAlloc (const char *name, double latitude, double longitude, double height, double tlr) |
| Allocator for psObservatory. | |
| psFPA * | psFPAAlloc (psS32 nChips, const psExposure *exp) |
| Allocator for psFPA. | |
| psChip * | psChipAlloc (psS32 nCells, psFPA *parentFPA) |
| Allocates a psChip. | |
| psCell * | psCellAlloc (psS32 nReadouts, psChip *parentChip) |
| Allocates a psCell. | |
| psReadout * | psReadoutAlloc () |
| Allocates a psReadout. | |
| psGrommit * | psGrommitAlloc (const psExposure *exp) |
| Allocates a Wallace's Grommit structure. | |
| psCell * | psCellInFPA (const psPlane *coord, const psFPA *FPA) |
| Find cooresponding cell for given FPA coordinate. | |
| psChip * | psChipInFPA (const psPlane *coord, const psFPA *FPA) |
| Find cooresponding chip for given FPA coordinate. | |
| psCell * | psCellInChip (const psPlane *coord, const psChip *chip) |
| Find cooresponding cell for given Chip coordinate. | |
| psPlane * | psCoordCellToChip (psPlane *out, const psPlane *in, const psCell *cell) |
| Translate a cell coordinate into a chip coordinate. | |
| psPlane * | psCoordChipToFPA (psPlane *out, const psPlane *in, const psChip *chip) |
| Translate a chip coordinate into a FPA coordinate. | |
| psPlane * | psCoordFPAToTP (psPlane *out, const psPlane *in, double color, double magnitude, const psFPA *fpa) |
| Translate a FPA coordinate into a Tangent Plane coordinate. | |
| psSphere * | psCoordTPToSky (psSphere *out, const psPlane *in, const psGrommit *grommit) |
| Translate a Tangent Plane coordinate into a Sky coordinate. | |
| psPlane * | psCoordCellToFPA (psPlane *out, const psPlane *in, const psCell *cell) |
| Translate a cell coordinate into a FPA coordinate. | |
| psSphere * | psCoordCellToSky (psSphere *out, const psPlane *in, double color, double magnitude, const psCell *cell) |
| Translate a cell coordinate into a Sky coordinate. | |
| psSphere * | psCoordCellToSkyQuick (psSphere *out, const psPlane *in, const psCell *cell) |
| Translate a cell coordinate into a Sky coordinate using a 'quick and dirty' method. | |
| psPlane * | psCoordSkyToTP (psPlane *out, const psSphere *in, const psGrommit *grommit) |
| Translate a Sky coordinate into a Tangent Plane coordinate. | |
| psPlane * | psCoordTPToFPA (psPlane *out, const psPlane *in, double color, double magnitude, const psFPA *fpa) |
| Translate a Tangent Plane coordinate into a FPA coordinate. | |
| psPlane * | psCoordFPAToChip (psPlane *out, const psPlane *in, const psChip *chip) |
| Translate a FPA coordinate into a chip coordinate. | |
| psPlane * | psCoordChipToCell (psPlane *out, const psPlane *in, const psCell *cell) |
| Translate a chip coordinate into a cell coordinate. | |
| psPlane * | psCoordSkyToCell (psPlane *out, const psSphere *in, double color, double magnitude, const psCell *cell) |
| Translate a sky coordinate into a cell coordinate. | |
| psPlane * | psCoordSkyToCellQuick (psPlane *out, const psSphere *in, const psCell *cell) |
| Translate a sky coordinate into a cell coordinate using a 'quick and dirty' method. | |
|
|
Chip data structure. A chip consists of one or more cells (according to the number of amplifiers on the CCD). It contains a pointer to the chip's metadata, and a pointer to the parent focal plane. For astrometry, it contains a coordinate transform from the chip to the focal plane, and vis-versa. |
|
|
Exposure Information. Several quantities from the telescope in order to make a first guess at the astrometric solution. From these quantities, further quantities can be derivedand stored for later use. |
|
|
A Focal-Plane. A focal plane consists of one or more chips (according to the number of contiguous silicon). It contains pointers to the focal-plane's metadata and the exposure information. For astrometry, it contains a transformation from the focal plane to the tangent plane and the fixed pattern residuals. Since colors are involved in the transformation, it is necessary to specify the color the transformation is defined. We also include some values to characterize the quality of the transformation: the root square deviation for the x and y transformation fits, and the chi-squared for the transformation fit. |
|
||||||||||||
|
Allocates a psCell. The constructor shall make an empty psCell, with the nReadouts allocated pointers to psReadouts being set to NULL; all other pointers in the structure shall be initialized to NULL.
|
|
||||||||||||
|
Find cooresponding cell for given Chip coordinate.
|
|
||||||||||||
|
Find cooresponding cell for given FPA coordinate.
|
|
||||||||||||
|
Allocates a psChip. This allocator shall make an empty psChip, with the nCells allocated pointers to psCells being set to NULL; all other pointers in the structure shall be initialized to NULL.
|
|
||||||||||||
|
Find cooresponding chip for given FPA coordinate.
|
|
||||||||||||||||
|
Translate a cell coordinate into a chip coordinate.
|
|
||||||||||||||||
|
Translate a cell coordinate into a FPA coordinate.
|
|
||||||||||||||||||||||||
|
Translate a cell coordinate into a Sky coordinate.
|
|
||||||||||||||||
|
Translate a cell coordinate into a Sky coordinate using a 'quick and dirty' method.
|
|
||||||||||||||||
|
Translate a chip coordinate into a cell coordinate.
|
|
||||||||||||||||
|
Translate a chip coordinate into a FPA coordinate.
|
|
||||||||||||||||
|
Translate a FPA coordinate into a chip coordinate.
|
|
||||||||||||||||||||||||
|
Translate a FPA coordinate into a Tangent Plane coordinate.
|
|
||||||||||||||||||||||||
|
Translate a sky coordinate into a cell coordinate.
|
|
||||||||||||||||
|
Translate a sky coordinate into a cell coordinate using a 'quick and dirty' method.
|
|
||||||||||||||||
|
Translate a Sky coordinate into a Tangent Plane coordinate.
|
|
||||||||||||||||||||||||
|
Translate a Tangent Plane coordinate into a FPA coordinate.
|
|
||||||||||||||||
|
Translate a Tangent Plane coordinate into a Sky coordinate.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Allocator for psExposure. We need several quantities from the telescope in order to make a first guess at the astrometric solution. From these quantities, further quantities can be derived and stored for later use.
|
|
||||||||||||||||||||||||||||
|
Allocator for psFixedPattern struct. Allocates a new psFixedPattern struct with the attributes coorsponding to the parameters set to the said input values.
|
|
||||||||||||
|
Allocator for psFPA. This function shall make an empty psFPA, with the nChips allocated pointers to psChips being set to NULL; all other pointers in the structure shall be initialized to NULL, apart from the grommit, which shall be constructed on the basis of the exp parameter.
|
|
|
Allocates a Wallace's Grommit structure. The psGrommit is calculated from telescope information for the particular exposure.
|
|
||||||||||||||||||||||||
|
Allocator for psObservatory. This function shall construct a new psObservatory with attributes cooresponding to the function parameters.
|
|
|
Allocates a psReadout. All pointers in the structure other than the image shall be initialized to NULL.
|
1.4.1