Changeset 623 for trunk/archive/pslib/include/psAstrom.h
- Timestamp:
- May 7, 2004, 4:28:10 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psAstrom.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psAstrom.h
r621 r623 96 96 97 97 psMetadata *md; ///< Chip-level metadata 98 ps CoordXform *chipToFPA;///< Transformations from chip coordinates to FPA coordinates99 ps CoordXform *FPAtoChip;///< Transformations from FPA coordinates to chip98 psPlaneCoordXform *chipToFPA; ///< Transformations from chip coordinates to FPA coordinates 99 psPlaneCoordXform *FPAtoChip; ///< Transformations from FPA coordinates to chip 100 100 101 101 struct psFPA *parentFPA; ///< FPA which contains this chip … … 110 110 psMetadata *md; ///< Cell-level metadata 111 111 112 ps CoordXform *cellToChip;///< Transformations from cell coordinates to chip coordinates113 ps CoordXform *cellToFPA;///< Transformations from cell coordinates to FPA coordinates114 ps CoordXform *cellToSky;///< Quick and Dirty transformations from cell coordinates to sky112 psPlaneCoordXform *cellToChip; ///< Transformations from cell coordinates to chip coordinates 113 psPlaneCoordXform *cellToFPA; ///< Transformations from cell coordinates to FPA coordinates 114 psPlaneCoordXform *cellToSky; ///< Quick and Dirty transformations from cell coordinates to sky 115 115 116 116 struct psChip *parentChip; ///< chip which contains this cell … … 137 137 psChip * 138 138 psChipInFPA (psChip *out, ///< Chip to return, or NULL 139 const psPlaneCoord *coord ///< coordinate in FPA 139 140 const psFPA *fpa, ///< FPA description 140 const psCoord *coord ///< coordinate in FPA141 141 ); 142 142 … … 144 144 psCell * 145 145 psCellInChip(psCell *out, ///< Cell to return, or NULL 146 const psPlaneCoord *coord ///< coordinate in chip 146 147 const psChip *chip, ///< chip description 147 const psCoord *coord ///< coordinate in chip148 148 ); 149 149 … … 151 151 psCell * 152 152 psCellInFPA(psCell *out, ///< Cell to return, or NULL 153 const psPlaneCoord *coord ///< Coordinate in FPA 153 154 const psFPA *fpa, ///< FPA description 154 const psCoord *coord ///< Coordinate in FPA155 155 ); 156 156 157 157 158 158 /** Convert (RA,Dec) to cell and cell coordinates */ 159 ps Coord *160 psCoordSkyToCell(ps Coord *out,///< Coordinates to return, or NULL159 psPlaneCoord * 160 psCoordSkyToCell(psPlaneCoord *out, ///< Coordinates to return, or NULL 161 161 psCell *cell, ///< Cell to return 162 const psSphereCoord *in, ///< Input coordinates 162 163 const psFPA *fpa ///< FPA description 163 164 ); 164 165 165 166 /** Convert cell and cell coordinate to (RA,Dec) */ 166 psCoord * 167 psCoordCellToSky(psCoord *out, ///< Coordinates to return, or NULL 167 psSphereCoord * 168 psCoordCellToSky(psSphereCoord *out, ///< Coordinates to return, or NULL 169 const psPlaneCoord *coord ///< cell coordinates to transform 168 170 const psCell *cell, ///< Cell to get coordinates for 169 const psCoord *coord ///< cell coordinates to transform170 171 ); 171 172 172 173 /** Quick and dirty cell to (RA,Dec) --- employs cellToSky transformation */ 173 psCoord * 174 psCoordCellToSkyQuick(psCoord *out, ///< Coordinates to return, or NULL 174 psSphereCoord * 175 psCoordCellToSkyQuick(psSphereCoord *out, ///< Coordinates to return, or NULL 176 const psPlaneCoord *coord ///< cell coordinates to transform 175 177 const psCell *cell, ///< Cell description 176 const psCoord *coord ///< cell coordinates to transform177 178 ); 178 179 179 180 /** Convert (RA,Dec) to tangent plane coords */ 180 ps Coord *181 psCoordSkyToTP(ps Coord *out,///< Coordinates to return, or NULL182 const ps Exposure *exp, ///< Exposure description183 const ps Coord *coord ///< input Sky coordinate181 psPlaneCoord * 182 psCoordSkyToTP(psPlaneCoord *out, ///< Coordinates to return, or NULL 183 const psSphereCoord *coord ///< input Sky coordinate 184 const psGrommit *grommit, ///< Grommit for fast conversion 184 185 ); 185 186 186 187 /** Convert tangent plane coords to focal plane coordinates */ 187 psCoord * 188 psCoordTPtoFPA(psCoord *out, ///< Coordinates to return, or NULL 188 psPlaneCoord * 189 psCoordTPtoFPA(psPlaneCoord *out, ///< Coordinates to return, or NULL 190 const psPlaneCoord *coord ///< input TP coordinate 189 191 const psFPA *fpa, ///< FPA description 190 const psCoord *coord ///< input TP coordinate191 192 ); 192 193 193 194 /** converts the specified FPA coord to the coord on the given Chip */ 194 psCoord * 195 psCoordFPAtoChip (psCoord *out, ///< Coordinates to return, or NULL 195 psPlaneCoord * 196 psCoordFPAtoChip (psPlaneCoord *out, ///< Coordinates to return, or NULL 197 const psPlaneCoord *coord ///< input FPA coordinate 196 198 const psChip *chip, ///< Chip of interest 197 const psCoord *coord ///< input FPA coordinate198 199 ); 199 200 200 201 /** converts the specified Chip coord to the coord on the given Cell */ 201 psCoord * 202 psCoordChiptoCell (psCoord *out, ///< Coordinates to return, or NULL 202 psPlaneCoord * 203 psCoordChiptoCell (psPlaneCoord *out, ///< Coordinates to return, or NULL 204 const psPlaneCoord *coord ///< input Chip coordinate 203 205 const psCell *cell, ///< Cell of interest 204 const psCoord *coord ///< input Chip coordinate205 206 ); 206 207 207 208 /** converts the specified Cell coord to the coord on the parent Chip */ 208 psCoord * 209 psCoordCelltoChip (psCoord *out, ///< Coordinates to return, or NULL 209 psPlaneCoord * 210 psCoordCelltoChip (psPlaneCoord *out, ///< Coordinates to return, or NULL 211 const psPlaneCoord *coord ///< input Cell coordinate 210 212 const psCell *cell, ///< Cell description 211 const psCoord *coord ///< input Cell coordinate212 213 ); 213 214 214 215 /** converts the specified Chip coord to the coord on the parent FPA */ 215 psCoord * 216 psCoordChiptoFPA (psCoord *out, ///< Coordinates to return, or NULL 216 psPlaneCoord * 217 psCoordChiptoFPA (psPlaneCoord *out, ///< Coordinates to return, or NULL 218 const psPlaneCoord *coord ///< input Chip coordinate 217 219 const psChip *chip, ///< Chip description 218 const psCoord *coord ///< input Chip coordinate219 220 ); 220 221 221 222 /** Convert focal plane coords to tangent plane coordinates */ 222 psCoord * 223 psCoordFPAToTP(psCoord *out, ///< Coordinates to return, or NULL 223 psPlaneCoord * 224 psCoordFPAToTP(psPlaneCoord *out, ///< Coordinates to return, or NULL 225 const psPlaneCoord *coord ///< input FPA coordinate 224 226 const psFPA *fpa, ///< FPA description 225 const psCoord *coord ///< input FPA coordinate226 227 ); 227 228 228 229 /** Convert tangent plane coords to (RA,Dec) */ 229 ps Coord *230 psCoordTPtoSky(ps Coord *out,///< Coordinates to return, or NULL231 const ps Exposure *exp, ///< Exposure description232 const ps Coord *coord ///< input TP coordinate230 psSphereCoord * 231 psCoordTPtoSky(psSphereCoord *out, ///< Coordinates to return, or NULL 232 const psPlaneCoord *coord ///< input TP coordinate 233 const psGrommit *grommit, ///< Grommit for fast conversion 233 234 ); 234 235 235 236 /** Convert Cell coords to FPA coordinates */ 236 psCoord * 237 psCoordCellToFPA(psCoord *out, ///< Coordinates to return, or NULL 237 psPlaneCoord * 238 psCoordCellToFPA(psPlaneCoord *out, ///< Coordinates to return, or NULL 239 const psPlaneCoord *coord ///< Input cell coordinates 238 240 const psCell *cell, ///< Cell description 239 const psCoord *coord ///< Input cell coordinates240 241 ); 241 242 242 243 /** Get the airmass for a given position and sidereal time */ 243 244 float 244 psGetAirmass(const ps Coord *coord,///< Position on the sky245 psGetAirmass(const psSphereCoord *coord, ///< Position on the sky 245 246 double siderealTime, ///< Sidereal time 246 247 float height ///< Height above sea level … … 249 250 /** Get the parallactic angle for a given position and sidereal time */ 250 251 float 251 psGetParallactic(const ps Coord *coord,///< Position on the sky252 psGetParallactic(const psSphereCoord *coord, ///< Position on the sky 252 253 double siderealTime ///< Sidereal time 253 254 ); … … 262 263 263 264 /** Calculate the parallax factor */ 264 ps Coord *265 psSphereCoord * 265 266 psGetParallaxFactor(const psExposure *exp ///< Exposure details 266 267 );
Note:
See TracChangeset
for help on using the changeset viewer.
