Changeset 1374 for trunk/psLib/src/astronomy/psCoord2.h
- Timestamp:
- Aug 3, 2004, 2:55:17 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psCoord2.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psCoord2.h
r1312 r1374 1 1 /** @file psCoord2.h 2 *3 * @brief Contains basic coordinate transformation definitions and operations4 *5 * This file defines the basic types for astronomical coordinate6 * transformation7 *8 * @ingroup AstroImage 9 *10 * @author George Gusciora, MHPCC11 *12 * @version $Revision: 1.1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-07-28 22:31:19$14 *15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii16 */2 * 3 * @brief Contains basic coordinate transformation definitions and operations 4 * 5 * This file defines the basic types for astronomical coordinate 6 * transformation 7 * 8 * @ingroup CoordinateTransform 9 * 10 * @author George Gusciora, MHPCC 11 * 12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-04 00:55:17 $ 14 * 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 16 */ 17 17 18 18 # ifndef PS_COORD2_H … … 25 25 #include "psFunctions.h" 26 26 27 /// @addtogroup CoordinateTransform 28 /// @{ 29 27 30 typedef struct 28 {29 const double latitude; ///<30 const double sinLat, cosLat; ///<31 const double abberationMag; ///<32 const double height; ///<33 const double temperature; ///<34 const double pressure; ///<35 const double humidity; ///<36 const double wavelength; ///<37 const double lapseRate; ///<38 const double refractA, refractB; ///<39 const double longitudeOffset; ///<40 const double siderealTime; ///<41 }31 { 32 const double latitude; ///< 33 const double sinLat, cosLat; ///< 34 const double abberationMag; ///< 35 const double height; ///< 36 const double temperature; ///< 37 const double pressure; ///< 38 const double humidity; ///< 39 const double wavelength; ///< 40 const double lapseRate; ///< 41 const double refractA, refractB; ///< 42 const double longitudeOffset; ///< 43 const double siderealTime; ///< 44 } 42 45 psGrommit; 43 46 44 47 typedef struct 45 {46 int nX, nY; ///<47 double x0, y0; ///<48 double xScale, yScale; ///<49 double **x, **y; ///<50 }48 { 49 int nX, nY; ///< 50 double x0, y0; ///< 51 double xScale, yScale; ///< 52 double **x, **y; ///< 53 } 51 54 psFixedPattern; 52 55 53 psGrommit *psGrommitAlloc( const psExposure *exp);56 psGrommit *psGrommitAlloc( const psExposure *exp ); 54 57 55 void p_psGrommitFree( psGrommit *grommit);58 void p_psGrommitFree( psGrommit *grommit ); 56 59 57 psCell *psCellinFPA(psCell *out, 58 const psPlane *coord, 59 const psFPA *FPA); 60 61 psChip *psChipinFPA(psChip *out, 62 const psPlane *coord, 63 const psFPA *FPA); 64 65 psCell *psCellinChip(psCell *out, 60 psCell *psCellinFPA( psCell *out, 66 61 const psPlane *coord, 67 const psChip *chip); 68 69 70 71 72 psPlane *psCoordCelltoChip(psPlane *out, 62 const psFPA *FPA ); 63 64 psChip *psChipinFPA( psChip *out, 65 const psPlane *coord, 66 const psFPA *FPA ); 67 68 psCell *psCellinChip( psCell *out, 69 const psPlane *coord, 70 const psChip *chip ); 71 72 73 74 75 psPlane *psCoordCelltoChip( psPlane *out, 76 const psPlane *in, 77 const psCell *cell ); 78 79 psPlane *psCoordChipToFPA( psPlane *out, 73 80 const psPlane *in, 74 const psCell *cell); 75 76 psPlane *psCoordChipToFPA(psPlane *out, 81 const psChip *chip ); 82 83 psPlane *psCoordFPAtoTP( psPlane *out, 84 const psPlane *in, 85 const psFPA *fpa ); 86 87 psSphere *psCoordTPtoSky( psSphere *out, 77 88 const psPlane *in, 78 const psChip *chip); 79 80 psPlane *psCoordFPAtoTP(psPlane *out, 81 const psPlane *in, 82 const psFPA *fpa); 83 84 psSphere *psCoordTPtoSky(psSphere *out, 89 const psGrommit *grommit ); 90 91 psPlane *psCoordCellToFPA( psPlane *out, 92 const psPlane *in, 93 const psCell *cell ); 94 95 psSphere *psCoordCelltoSky( psSphere *out, 96 const psPlane *in, 97 const psCell *cell ); 98 99 psSphere *psCoordCelltoSkyQuick( psSphere *out, 100 const psPlane *in, 101 const psCell *cell ); 102 103 psPlane *psCoordSkytoTP( psPlane *out, 104 const psSphere *in, 105 const psGrommit *grommit ); 106 107 psPlane *psCoordTPtoFPA( psPlane *out, 85 108 const psPlane *in, 86 const psGrommit *grommit); 87 88 psPlane *psCoordCellToFPA(psPlane *out, 89 const psPlane *in, 90 const psCell *cell); 91 92 psSphere *psCoordCelltoSky(psSphere *out, 109 const psFPA *fpa ); 110 111 psPlane *psCoordFPAtoChip( psPlane *out, 93 112 const psPlane *in, 94 const psCell *cell); 95 96 psSphere *psCoordCelltoSkyQuick(psSphere *out, 97 const psPlane *in, 98 const psCell *cell); 99 100 psPlane *psCoordSkytoTP(psPlane *out, 101 const psSphere *in, 102 const psGrommit *grommit); 103 104 psPlane *psCoordTPtoFPA(psPlane *out, 105 const psPlane *in, 106 const psFPA *fpa); 107 108 psPlane *psCoordFPAtoChip(psPlane *out, 109 const psPlane *in, 110 const psChip *chip); 111 112 psPlane *psCoordChiptoCell(psPlane *out, 113 const psPlane *in, 114 const psCell *cell); 115 116 psPlane *psCoordSkytoCell(psPlane *out, 117 const psSphere *in, 118 const psCell *cell); 119 120 psPlane *psCoordSkytoCellQuick(psPlane *out, 121 const psSphere *in, 122 const psCell *cell); 113 const psChip *chip ); 114 115 psPlane *psCoordChiptoCell( psPlane *out, 116 const psPlane *in, 117 const psCell *cell ); 118 119 psPlane *psCoordSkytoCell( psPlane *out, 120 const psSphere *in, 121 const psCell *cell ); 122 123 psPlane *psCoordSkytoCellQuick( psPlane *out, 124 const psSphere *in, 125 const psCell *cell ); 126 127 128 /// @} 123 129 124 130 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
