Changeset 35270
- Timestamp:
- Mar 8, 2013, 10:23:14 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmPattern.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmPattern.c
r35081 r35270 997 997 pmChip *chip = out->fpa->chips->data[i]; 998 998 pmCell *cell = chip->cells->data[0]; // Cell of interest 999 pmReadout *ro = cell->readouts->data[0]; // Readout of interest 1000 999 1000 1001 1001 psStatsInit(bgStats); 1002 1002 … … 1009 1009 int y = chipName[3] - '0'; 1010 1010 1011 1011 if ((cell->readouts->n != 1)||(!chip->data_exists)) { 1012 A->data.F64[y][x] = NAN; 1013 B->data.F64[y][x] = NAN; 1014 C->data.F64[y][x] = NAN; 1015 D->data.F64[y][x] = NAN; 1016 continue; 1017 } 1018 pmReadout *ro = cell->readouts->data[0]; // Readout of interest 1012 1019 for (int j = 0; j < 4; j++) { 1013 1020 if (j == 0) { // Region B … … 1284 1291 pmChip *chip = out->fpa->chips->data[i]; 1285 1292 pmCell *cell = chip->cells->data[0]; // Cell of interest 1293 if ((cell->readouts->n != 1)||(!chip->data_exists)) { 1294 continue; 1295 } 1286 1296 pmReadout *ro = cell->readouts->data[0]; // Readout of interest 1287 1297 const char *chipName = psMetadataLookupStr(NULL,chip->concepts, "CHIP.NAME");
Note:
See TracChangeset
for help on using the changeset viewer.
