Changeset 9621 for trunk/psModules/src/camera/pmFPA.c
- Timestamp:
- Oct 17, 2006, 4:29:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPA.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPA.c
r9584 r9621 1 /** @file pmFPA.c2 *3 * @brief This file defines the basic types for the FPA hierarchy4 *5 * @ingroup AstroImage6 *7 * @author GLG, MHPCC8 *9 * XXX: We should review the extent of the warning messages on these functions10 * when the transformations are not successful.11 *12 * XXX: Should we implement non-linear cell->chip transforms?13 *14 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $15 * @date $Date: 2006-10-17 00:33:56 $16 *17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii18 */19 20 1 #ifdef HAVE_CONFIG_H 21 2 #include <config.h> 22 3 #endif 23 4 24 /******************************************************************************/25 /* INCLUDE FILES */26 /******************************************************************************/27 5 #include <string.h> 28 6 #include <math.h> … … 35 13 #include "pmMaskBadPixels.h" 36 14 37 /******************************************************************************38 *****************************************************************************/39 40 15 static void readoutFree(pmReadout *readout) 41 16 { 42 17 // if this readout has a parent, drop that instance 43 18 if (readout->parent) { 44 psTrace("psModules.camera", 9, "Removing readout %zd from cell %zd...\n", (size_t)readout, (size_t)readout->parent); 19 psTrace("psModules.camera", 9, "Removing readout %zd from cell %zd...\n", 20 (size_t)readout, (size_t)readout->parent); 45 21 psArray *readouts = readout->parent->readouts; 46 22 for (int i = 0; i < readouts->n; i++) { … … 63 39 // if this cell has a parent, drop that instance 64 40 if (cell->parent) { 65 psTrace("psModules.camera", 9, "Removing cell %zd from chip %zd...\n", (size_t)cell, (size_t)cell->parent); 41 psTrace("psModules.camera", 9, "Removing cell %zd from chip %zd...\n", 42 (size_t)cell, (size_t)cell->parent); 66 43 psArray *cells = cell->parent->cells; 67 44 for (int i = 0; i < cells->n; i++) { … … 85 62 // if this chip has a parent, drop that instance 86 63 if (chip->parent) { 87 psTrace("psModules.camera", 9, "Removing chip %zd from fpa %zd...\n", (size_t)chip, (size_t)chip->parent); 64 psTrace("psModules.camera", 9, "Removing chip %zd from fpa %zd...\n", 65 (size_t)chip, (size_t)chip->parent); 88 66 psArray *chips = chip->parent->chips; 89 67 for (int i = 0; i < chips->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
