Changeset 5974 for branches/eam_rel9_p0/psModules/src/astrom/pmFPAWrite.c
- Timestamp:
- Jan 13, 2006, 5:10:19 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/astrom/pmFPAWrite.c
r5796 r5974 4 4 5 5 #include "pmAstrometry.h" 6 #include "pmFPAConceptsSet.h"7 6 #include "pmFPARead.h" 7 #include "pmConcepts.h" 8 8 9 9 static bool writeHDU(psFits *fits, // FITS file to which to write … … 29 29 30 30 psTrace(__func__, 7, "Outgesting FPA concepts...\n"); 31 pm FPAOutgestConcepts(fpa, db);31 pmConceptsWriteFPA(fpa, db); 32 32 33 33 // Write the primary header … … 40 40 for (int i = 0; i < chips->n; i++) { 41 41 pmChip *chip = chips->data[i]; // The component chip 42 if (chip-> valid) {42 if (chip->exists && chip->process) { 43 43 psTrace(__func__, 1, "Writing out chip %d...\n", i); 44 44 45 pmC hipOutgestConcepts(chip, db);45 pmConceptsWriteChip(chip, db); 46 46 47 47 psArray *cells = chip->cells; // Array of component cells 48 48 for (int j = 0; j < cells->n; j++) { 49 49 pmCell *cell = cells->data[j]; // The component cell 50 if (cell-> valid) {50 if (cell->exists && cell->process) { 51 51 psTrace(__func__, 2, "Writing out cell, %d...\n", j); 52 52 53 pmC ellOutgestConcepts(cell, db);53 pmConceptsWriteCell(cell, db); 54 54 55 55 if (cell->hdu && strlen(cell->hdu->extname) > 0) { … … 107 107 for (int chipNum = 0; chipNum < chips->n; chipNum++) { 108 108 pmChip *chip = chips->data[chipNum]; // The current chip of interest 109 if (chip-> valid) {109 if (chip->exists && chip->process) { 110 110 if (chip->hdu) { 111 111 hdu = chip->hdu; … … 114 114 for (int cellNum = 0; cellNum < cells->n; cellNum++) { 115 115 pmCell *cell = cells->data[cellNum]; // The current cell of interest 116 if (cell-> valid) {116 if (cell->exists && cell->process) { 117 117 if (cell->hdu) { 118 118 hdu = cell->hdu; … … 198 198 for (int chipNum = 0; chipNum < chips->n; chipNum++) { 199 199 pmChip *chip = chips->data[chipNum]; // The current chip of interest 200 if (chip-> valid) {200 if (chip->exists && chip->process) { 201 201 if (chip->hdu) { 202 202 hdu = chip->hdu; … … 205 205 for (int cellNum = 0; cellNum < cells->n; cellNum++) { 206 206 pmCell *cell = cells->data[cellNum]; // The current cell of interest 207 if (cell-> valid) {207 if (cell->exists && cell->process) { 208 208 if (cell->hdu) { 209 209 hdu = cell->hdu;
Note:
See TracChangeset
for help on using the changeset viewer.
