Changeset 257 for trunk/archive/pslib/include/psPosition.h
- Timestamp:
- Mar 18, 2004, 9:37:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psPosition.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psPosition.h
r253 r257 6 6 * \ingroup AstroGroup 7 7 */ 8 9 /** Structures *********************/ 8 10 9 11 /** A point in 2-D space, with errors. … … 29 31 30 32 /** A polynomial transformation between coordinate frames. This may be a linear relationship, or may 31 * represent a higher-order transformation.33 * represent a higher-order transformation. 32 34 */ 33 35 typedef struct { … … 37 39 38 40 /** The optical distortion terms. The lowest two terms are the x and y axis of the target system. The higher 39 * two terms represent magnitude and color terms.41 * two terms represent magnitude and color terms. 40 42 */ 41 43 typedef struct { … … 44 46 } psDistortion; 45 47 46 psCoord *psCoordXformApply (psCoordXform *frame, psCoord *coords); 48 /** Functions **************************************************************/ 49 /** \addtogroup AstroGroup Astronomy-Specific Utilities 50 * \{ 51 */ 47 52 48 psCoord *psDistortionApply (psCoordXform *frame, psCoord *coords); 53 /** apply the coordinate transformation to the given coordinate */ 54 psCoord *psCoordXformApply (psCoordXform *frame, ///< coordinate transformation 55 psCoord *coords) ///< input coordiate 56 ; 49 57 50 /***********************************************************************************************************/ 51 52 /* Offsets */ 58 /** apply the optical distortion to the given coordinate, magnitude, color */ 59 psCoord *psDistortionApply (psDistortion *pattern, ///< optical distortion pattern 60 psCoord *coords, ///< input coordinate 61 float mag, ///< magnitude of object 62 float color) ///< color of object 63 ; 53 64 54 65 /** Get offset (RA,Dec) on the sky between two positions position1 and position2 may not be identical */ … … 56 67 psGetOffset(const psCoord *restrict position1, //!< Position 1 57 68 const psCoord *restrict position2, //!< Position 2 58 char *system 59 );69 char *system) 70 ; 60 71 61 72 /** Apply an offset to a position */ … … 63 74 psApplyOffset(const psCoord *restrict position, //!< Position 64 75 const psCoord *restrict offset, //!< Offset 65 char *system 66 ); 67 68 /***********************************************************************************************************/ 76 char *system) 77 ; 69 78 70 79 /* Positions of well-known objects */ … … 72 81 /** Get Sun Position */ 73 82 psCoord * 74 psGetSunPos(float mjd //!< MJD to get position for75 );83 psGetSunPos(float mjd) //!< MJD to get position for 84 ; 76 85 77 86 /** Get Moon position */ … … 79 88 psGetMoonPos(float mjd, //!< MJD to get position for 80 89 double latitude, //!< Latitude for apparent position 81 double longitude //!< Longitude for apparent position82 );90 double longitude) //!< Longitude for apparent position 91 ; 83 92 84 93 /** Get Moon phase */ 85 94 float 86 psGetMoonPhase(float mjd //!< MJD to get phase for87 );95 psGetMoonPhase(float mjd) //!< MJD to get phase for 96 ; 88 97 89 98 /** Get Planet positions */ 90 99 psCoord * 91 100 psGetSolarSystemPos(char *solarSystemObject, //!< Named S.S. object 92 float mjd //!< MJD to get position for93 );101 float mjd) //!< MJD to get position for 102 ; 94 103 95 104 /***********************************************************************************************************/ … … 99 108 /** Convert ICRS to Ecliptic */ 100 109 psCoord * 101 psCoordinatesItoE(const psCoord *restrict coordinates //!< ICRS coordinates to convert102 );110 psCoordinatesItoE(const psCoord *restrict coordinates) //!< ICRS coordinates to convert 111 ; 103 112 104 113 /** Convert Ecliptic to ICRS */ 105 114 psCoord * 106 psCoordinatesEtoI(const psCoord *restrict coordinates //!< Ecliptic coordinates to convert107 );115 psCoordinatesEtoI(const psCoord *restrict coordinates) //!< Ecliptic coordinates to convert 116 ; 108 117 109 118 /** Convert ICRS to Galactic */ 110 119 psCoord * 111 psCoordinatesItoG(const psCoord *restrict coordinates //!< ICRS coordinates to convert112 );120 psCoordinatesItoG(const psCoord *restrict coordinates) //!< ICRS coordinates to convert 121 ; 113 122 114 123 /** Convert Galactic to ICRS */ 115 124 psCoord * 116 psCoordinatesGtoI(const psCoord *restrict coordinates //!< Galactic coordinates to convert117 );125 psCoordinatesGtoI(const psCoord *restrict coordinates) //!< Galactic coordinates to convert 126 ; 118 127 119 128 /***********************************************************************************************************/ 129 130 /* \} */ // End of AstroGroup Functions 131 120 132 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
