Changeset 6205 for trunk/psModules/src/astrom
- Timestamp:
- Jan 26, 2006, 11:10:51 AM (21 years ago)
- Location:
- trunk/psModules/src/astrom
- Files:
-
- 4 edited
-
Makefile.am (modified) (1 diff)
-
pmAstrometry.c (modified) (8 diffs)
-
pmAstrometry.h (modified) (7 diffs)
-
pmAstrometryObjects.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/astrom/Makefile.am
r5674 r6205 5 5 libpsmoduleastrom_la_SOURCES = \ 6 6 pmAstrometry.c \ 7 pmFPAConstruct.c \ 7 8 pmAstrometryObjects.c 8 9 9 10 psmoduleincludedir = $(includedir) 10 11 psmoduleinclude_HEADERS = \ 11 pmAstrometry.h \ 12 pmAstrometryObjects.h 12 pmAstrometry.h \ 13 pmFPAConstruct.h \ 14 pmAstrometryObjects.h -
trunk/psModules/src/astrom/pmAstrometry.c
r5739 r6205 13 13 * XXX: Should we implement non-linear cell->chip transforms? 14 14 * 15 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $16 * @date $Date: 200 5-12-08 00:00:57$15 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 16 * @date $Date: 2006-01-26 21:10:50 $ 17 17 * 18 18 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 101 101 psFree(cell->readouts); 102 102 psFree(cell->parent); 103 psFree(cell-> private);103 psFree(cell->hdu); 104 104 } 105 105 } … … 125 125 psFree(chip->cells); 126 126 psFree(chip->parent); 127 psFree(chip-> private);127 psFree(chip->hdu); 128 128 } 129 129 } … … 151 151 } 152 152 psFree(fpa->chips); 153 psFree(fpa-> private);153 psFree(fpa->hdu); 154 154 psFree(fpa->phu); 155 155 } … … 204 204 } 205 205 tmpCell->valid = false; 206 tmpCell-> private= NULL;206 tmpCell->hdu = NULL; 207 207 208 208 psMemSetDeallocator(tmpCell, (psFreeFunc) cellFree); … … 233 233 } 234 234 tmpChip->valid = false; 235 tmpChip-> private= NULL;235 tmpChip->hdu = NULL; 236 236 237 237 psMemSetDeallocator(tmpChip, (psFreeFunc) chipFree); … … 250 250 tmpFPA->camera = camera; 251 251 tmpFPA->chips = psArrayAlloc(0); 252 tmpFPA-> private= NULL;252 tmpFPA->hdu = NULL; 253 253 tmpFPA->phu = NULL; 254 254 … … 873 873 return(numChips); 874 874 } 875 -
trunk/psModules/src/astrom/pmAstrometry.h
r5739 r6205 8 8 * @author GLG, MHPCC 9 9 * 10 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $11 * @date $Date: 200 5-12-08 00:00:57$10 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-26 21:10:50 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 34 34 } 35 35 p_pmHDU; 36 37 p_pmHDU *pmHDUAlloc(); 38 void *pmHDUFree(p_pmHDU *hdu); 36 39 37 40 /** Focal plane data structure … … 62 65 const psMetadata *camera; ///< Camera configuration 63 66 psArray *chips; ///< The chips 64 p_pmHDU * private;///< FITS data67 p_pmHDU *hdu; ///< FITS data 65 68 psMetadata *phu; ///< Primary Header 66 69 } … … 95 98 pmFPA *parent; ///< Parent FPA 96 99 bool valid; ///< Do we bother about reading and working with this chip? 97 p_pmHDU * private;///< FITS data100 p_pmHDU *hdu; ///< FITS data 98 101 } 99 102 pmChip; … … 124 127 pmChip *parent; ///< Parent chip 125 128 bool valid; ///< Do we bother about reading and working with this cell? 126 p_pmHDU * private;///< FITS data129 p_pmHDU *hdu; ///< FITS data 127 130 } 128 131 pmCell; … … 436 439 ); 437 440 441 438 442 /** 439 443 * … … 451 455 452 456 457 /** 458 * 459 * pmFPAConstruct shall construct a focal plane hierarchy from a camera 460 * configuration. A db handle is also provided so that may be set in the pmFPA. 461 * The resultant pmFPA and its lower-down components shall be ready for to read a 462 * FITS file into it by setting the extname pointers at the appropriate levels to 463 * the appropriate FITS extension name. 464 * 465 */ 466 pmFPA *pmFPAConstruct( 467 const psMetadata *camera, 468 psDB *db 469 ); 470 471 453 472 #endif // #ifndef PS_ASTROMETRY_H 454 473 -
trunk/psModules/src/astrom/pmAstrometryObjects.h
r5674 r6205 8 8 * @author EAM, IfA 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 200 5-12-05 20:49:30 $10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-01-26 21:10:50 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 183 183 * the GRID.*.ANGLE entries (they will be ignored). 184 184 * 185 * XXX: This function name is different in the SDRS.186 *187 185 */ 188 186 /* in pmAstromGrid.c */
Note:
See TracChangeset
for help on using the changeset viewer.
