IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12705


Ignore:
Timestamp:
Mar 30, 2007, 6:17:41 PM (19 years ago)
Author:
magnier
Message:

made pmFPAUpdateNames a public function

Location:
trunk/psModules/src/camera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAWrite.c

    r12696 r12705  
    3434
    3535// 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)
     36bool pmFPAUpdateNames(pmFPA *fpa, pmChip *chip, pmCell *cell)
    3737{
    3838    pmHDU *hdu = pmHDUGetHighest(fpa, chip, cell); // Highest HDU, i.e., the PHU
     
    143143    if (writeBlank || writeImage) {
    144144
    145         updateNames(cell->parent->parent, cell->parent, cell);
     145        pmFPAUpdateNames(cell->parent->parent, cell->parent, cell);
    146146        pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    147147                                 PM_CONCEPT_SOURCE_DEFAULTS;
     
    193193
    194194        if (writeBlank || writeImage) {
    195             updateNames(chip->parent, chip, NULL);
     195            pmFPAUpdateNames(chip->parent, chip, NULL);
    196196            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    197197                                     PM_CONCEPT_SOURCE_DEFAULTS;
     
    257257
    258258        if (writeBlank || writeImage) {
    259             updateNames(fpa, NULL, NULL);
     259            pmFPAUpdateNames(fpa, NULL, NULL);
    260260            pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    261261                                     PM_CONCEPT_SOURCE_DEFAULTS;
  • trunk/psModules/src/camera/pmFPAWrite.h

    r12696 r12705  
    44 * @author Paul Price, IfA
    55 *
    6  * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2007-03-30 21:12:56 $
     6 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2007-03-31 04:17:41 $
    88 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii
    99 */
     
    162162                    const char *name    ///< Name for the table data, and the extension name
    163163                   );
     164
     165// XXX better name, please
     166bool pmFPAUpdateNames(pmFPA *fpa, pmChip *chip, pmCell *cell);
     167
    164168/// @}
    165169#endif
Note: See TracChangeset for help on using the changeset viewer.