Changeset 27158 for trunk/ppStack/src/ppStackSources.c
- Timestamp:
- Mar 3, 2010, 1:38:58 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackSources.c
r27004 r27158 127 127 float airmassTerm = NAN; // Airmass term 128 128 float sumExpTime = 0.0; // Sum of the exposure time 129 int numGoodImages = 0; // Number of good images 129 130 for (int i = 0; i < num; i++) { 131 psArray *sources = sourceLists->data[i]; // Source list 132 psAssert(sources, "Don't have source list %d", i); 133 if (sources->n == 0) { 134 options->inputMask->data.PS_TYPE_VECTOR_MASK_DATA[i] |= PPSTACK_MASK_CAL; 135 continue; 136 } 137 numGoodImages++; 138 130 139 pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPSTACK.INPUT", i); // File of interest 131 140 pmCell *cell = pmFPAviewThisCell(view, file->fpa); // Cell of interest … … 145 154 psFree(fake); 146 155 #endif 147 148 156 149 157 float exptime = psMetadataLookupF32(NULL, cell->concepts, "CELL.EXPOSURE"); // Exposure time
Note:
See TracChangeset
for help on using the changeset viewer.
