Changeset 5974 for branches/eam_rel9_p0/psModules/src/astrom/pmFPARead.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/pmFPARead.c
r5796 r5974 4 4 5 5 #include "pmAstrometry.h" 6 #include "pmFPAConceptsGet.h"7 6 #include "pmFPARead.h" 7 #include "pmConcepts.h" 8 8 9 9 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// … … 157 157 } 158 158 } 159 pm FPAIngestConcepts(fpa, db);159 pmConceptsReadFPA(fpa, db); 160 160 161 161 psArray *chips = fpa->chips; // Array of chips … … 164 164 pmChip *chip = chips->data[i]; // The chip 165 165 166 // Only read chips marked "valid"167 if (! chip-> valid) {166 // Only read chips marked to "process" 167 if (! chip->process) { 168 168 psTrace(__func__, 2, "Ignoring chip %d...\n", i); 169 169 continue; … … 179 179 } 180 180 } 181 pmChipIngestConcepts(chip, db); 181 182 pmConceptsReadChip(chip, db); 182 183 183 184 // Iterate over the chip … … 186 187 pmCell *cell = cells->data[j]; // The cell 187 188 188 // Only read cells marked "valid"189 if (! cell-> valid) {189 // Only read cells marked to "process" 190 if (! cell->process) { 190 191 psTrace(__func__, 3, "Ignoring chip %d...\n", i); 191 192 continue; … … 203 204 } 204 205 } 205 pmC ellIngestConcepts(cell, db);206 pmConceptsReadCell(cell, db); 206 207 207 208 psTrace(__func__, 5, "Allocating readouts for chip %d cell %d...\n", 208 209 i, j); 209 210 generateReadouts(cell, hdu); 210 } 211 212 cell->exists = true; 213 } 214 chip->exists = true; 211 215 } 212 216 … … 396 400 for (int chipNum = 0; chipNum < chips->n; chipNum++) { 397 401 pmChip *chip = chips->data[chipNum]; // The current chip of interest 398 if (chip-> valid) {402 if (chip->process) { 399 403 if (chip->hdu) { 400 404 hdu = chip->hdu; … … 403 407 for (int cellNum = 0; cellNum < cells->n; cellNum++) { 404 408 pmCell *cell = cells->data[cellNum]; // The current cell of interest 405 if (cell-> valid) {409 if (cell->process) { 406 410 if (cell->hdu) { 407 411 hdu = cell->hdu; … … 534 538 for (int chipNum = 0; chipNum < chips->n; chipNum++) { 535 539 pmChip *chip = chips->data[chipNum]; // The current chip of interest 536 if (chip-> valid) {540 if (chip->process) { 537 541 if (chip->hdu) { 538 542 hdu = chip->hdu; … … 541 545 for (int cellNum = 0; cellNum < cells->n; cellNum++) { 542 546 pmCell *cell = cells->data[cellNum]; // The current cell of interest 543 if (cell-> valid) {547 if (cell->process) { 544 548 if (cell->hdu) { 545 549 hdu = cell->hdu;
Note:
See TracChangeset
for help on using the changeset viewer.
