Changeset 1480
- Timestamp:
- Aug 11, 2004, 12:03:56 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psAstrometry.c (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psAstrometry.c
r1479 r1480 8 8 * @author George Gusciora, MHPCC 9 9 * 10 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-08-11 22:0 1:35$10 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-08-11 22:03:56 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 88 88 } 89 89 90 psCell* psCell inFPA(psCell* outCell,90 psCell* psCellInFPA(psCell* outCell, 91 91 const psPlane* fpaCoord, 92 92 const psFPA* FPA) … … 138 138 XXX: Return the answer in "out". 139 139 *****************************************************************************/ 140 psChip* psChip inFPA(psChip* out,140 psChip* psChipInFPA(psChip* out, 141 141 const psPlane* fpaCoord, 142 142 const psFPA* FPA) … … 177 177 XXX: verify the NULL parameter error handling. 178 178 *****************************************************************************/ 179 psCell* psCell inChip(psCell* outCell,179 psCell* psCellInChip(psCell* outCell, 180 180 const psPlane* chipCoord, 181 181 const psChip* chip) … … 225 225 } 226 226 227 psPlane* psCoordCell toChip(psPlane* outCoord,227 psPlane* psCoordCellToChip(psPlane* outCoord, 228 228 const psPlane* inCoord, 229 229 const psCell* cell) … … 242 242 XXX: must determine the correct values for XXX_Mag and XXX_Col; 243 243 *****************************************************************************/ 244 psPlane* psCoordFPA toTP(psPlane* outCoord,244 psPlane* psCoordFPAToTP(psPlane* outCoord, 245 245 const psPlane* inCoord, 246 246 const psFPA* fpa) … … 254 254 255 255 // XXX: must wrap SLA_QAPQK here. 256 psSphere* psCoordTP toSky(psSphere* outSphere,256 psSphere* psCoordTPToSky(psSphere* outSphere, 257 257 const psPlane* tpCoord, 258 258 const psGrommit* grommit) … … 285 285 XXX: must determine the correct values for XXX_Mag and XXX_Col; 286 286 *****************************************************************************/ 287 psSphere* psCoordCell toSky(psSphere* skyCoord,287 psSphere* psCoordCellToSky(psSphere* skyCoord, 288 288 const psPlane* cellCoord, 289 289 const psCell* cell) … … 306 306 307 307 // Convert the tangent plane Coordinates to sky coordinates. 308 skyCoord = psCoordTP toSky(skyCoord, tpCoord, tmpGrommit);308 skyCoord = psCoordTPToSky(skyCoord, tpCoord, tmpGrommit); 309 309 310 310 psFree(fpaCoord); … … 318 318 XXX: not done 319 319 *****************************************************************************/ 320 psSphere* psCoordCell toSkyQuick(psSphere* outSphere,320 psSphere* psCoordCellToSkyQuick(psSphere* outSphere, 321 321 const psPlane* cellCoord, 322 322 const psCell* cell) … … 341 341 XXX: must wrap SLA_AOPQK here. 342 342 *****************************************************************************/ 343 psPlane* psCoordSky toTP(psPlane* tpCoord,343 psPlane* psCoordSkyToTP(psPlane* tpCoord, 344 344 const psSphere* in, 345 345 const psGrommit* grommit) … … 369 369 XXX: must determine the correct values for XXX_Mag and XXX_Col; 370 370 *****************************************************************************/ 371 psPlane* psCoordTP toFPA(psPlane* fpaCoord,371 psPlane* psCoordTPToFPA(psPlane* fpaCoord, 372 372 const psPlane* tpCoord, 373 373 const psFPA* fpa) … … 383 383 XXX: must first determine which chip contains this chipcoord. 384 384 *****************************************************************************/ 385 psPlane* psCoordFPA toChip(psPlane* chipCoord,385 psPlane* psCoordFPAToChip(psPlane* chipCoord, 386 386 const psPlane* fpaCoord, 387 387 const psChip* chip) … … 393 393 XXX: must first determine which cell contains this chipcoord. 394 394 *****************************************************************************/ 395 psPlane* psCoordChip toCell(psPlane* cellCoord,395 psPlane* psCoordChipToCell(psPlane* cellCoord, 396 396 const psPlane* chipCoord, 397 397 const psCell* cell) … … 406 406 XXX: must determine which cell contains this chipcoord. 407 407 *****************************************************************************/ 408 psPlane* psCoordSky toCell(psPlane* cellCoord,408 psPlane* psCoordSkyToCell(psPlane* cellCoord, 409 409 const psSphere* skyCoord, 410 410 const psCell* cell) … … 415 415 416 416 // Convert the skyCoords to tangent plane coords. 417 psPlane *tpCoord = psCoordSky toTP(tpCoord, skyCoord, XXXGrommit);417 psPlane *tpCoord = psCoordSkyToTP(tpCoord, skyCoord, XXXGrommit); 418 418 419 419 // Convert the tangent plane coords to FPA coords. 420 psPlane *fpaCoord = psCoordTP toFPA(fpaCoord, tpCoord, whichFPA);420 psPlane *fpaCoord = psCoordTPToFPA(fpaCoord, tpCoord, whichFPA); 421 421 422 422 // Convert the FPA coords to chip coords. 423 psPlane *chipCoord = psCoordFPA toChip(chipCoord, fpaCoord, whichChip);423 psPlane *chipCoord = psCoordFPAToChip(chipCoord, fpaCoord, whichChip); 424 424 425 425 // Convert the chip coords to cell coords. 426 cellCoord = psCoordChip toCell(cellCoord, chipCoord, cell);426 cellCoord = psCoordChipToCell(cellCoord, chipCoord, cell); 427 427 428 428 psFree(tpCoord); … … 436 436 XXX: It is unclear how to perform this transformation. 437 437 *****************************************************************************/ 438 psPlane* psCoordSky toCellQuick(psPlane* cellCoord,438 psPlane* psCoordSkyToCellQuick(psPlane* cellCoord, 439 439 const psSphere* skyCoord, 440 440 const psCell* cell)
Note:
See TracChangeset
for help on using the changeset viewer.
