Changeset 12705
- Timestamp:
- Mar 30, 2007, 6:17:41 PM (19 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 2 edited
-
pmFPAWrite.c (modified) (4 diffs)
-
pmFPAWrite.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAWrite.c
r12696 r12705 34 34 35 35 // Update the FPA.NAME, CHIP.NAME and CELL.NAME in the FITS header, if required 36 static bool updateNames(pmFPA *fpa, pmChip *chip, pmCell *cell)36 bool pmFPAUpdateNames(pmFPA *fpa, pmChip *chip, pmCell *cell) 37 37 { 38 38 pmHDU *hdu = pmHDUGetHighest(fpa, chip, cell); // Highest HDU, i.e., the PHU … … 143 143 if (writeBlank || writeImage) { 144 144 145 updateNames(cell->parent->parent, cell->parent, cell);145 pmFPAUpdateNames(cell->parent->parent, cell->parent, cell); 146 146 pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS | 147 147 PM_CONCEPT_SOURCE_DEFAULTS; … … 193 193 194 194 if (writeBlank || writeImage) { 195 updateNames(chip->parent, chip, NULL);195 pmFPAUpdateNames(chip->parent, chip, NULL); 196 196 pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS | 197 197 PM_CONCEPT_SOURCE_DEFAULTS; … … 257 257 258 258 if (writeBlank || writeImage) { 259 updateNames(fpa, NULL, NULL);259 pmFPAUpdateNames(fpa, NULL, NULL); 260 260 pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS | 261 261 PM_CONCEPT_SOURCE_DEFAULTS; -
trunk/psModules/src/camera/pmFPAWrite.h
r12696 r12705 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-03-3 0 21:12:56$6 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-31 04:17:41 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 162 162 const char *name ///< Name for the table data, and the extension name 163 163 ); 164 165 // XXX better name, please 166 bool pmFPAUpdateNames(pmFPA *fpa, pmChip *chip, pmCell *cell); 167 164 168 /// @} 165 169 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
