Changeset 10589 for trunk/ppImage/src/ppImageLoop.c
- Timestamp:
- Dec 8, 2006, 2:43:04 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r10439 r10589 142 142 } 143 143 144 #if 0 144 145 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 145 146 return false; 146 147 } 147 } 148 149 ppImageMosaicChip(config, view, "PPIMAGE.OUTPUT.CHIP", "PPIMAGE.OUTPUT"); 150 ppImageRebinChip(config, view, "PPIMAGE.BIN1", "PPIMAGE.OUTPUT.CHIP"); 151 ppImageRebinChip(config, view, "PPIMAGE.BIN2", "PPIMAGE.OUTPUT.CHIP"); 148 #endif 149 150 } 151 152 if (!ppImageMosaicChip(config, view, "PPIMAGE.OUTPUT.CHIP", "PPIMAGE.OUTPUT")) { 153 psError(PS_ERR_UNKNOWN, false, "Unable to mosaic chip.\n"); 154 return false; 155 } 156 if (!ppImageRebinChip(config, view, "PPIMAGE.BIN1", "PPIMAGE.OUTPUT.CHIP")) { 157 psError(PS_ERR_UNKNOWN, false, "Unable to bin chip.\n"); 158 return false; 159 } 160 if (!ppImageRebinChip(config, view, "PPIMAGE.BIN2", "PPIMAGE.OUTPUT.CHIP")) { 161 psError(PS_ERR_UNKNOWN, false, "Unable to bin chip.\n"); 162 return false; 163 } 152 164 153 165 // we perform photometry on the readouts of this chip in the output … … 156 168 } 157 169 170 // Close cells 171 view->cell = -1; 172 while ((cell = pmFPAviewNextCell(view, input->fpa, 1)) != NULL) { 173 if (!cell->process || !cell->file_exists) { 174 continue; 175 } 176 177 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 178 return false; 179 } 180 } 181 182 // Close chip 158 183 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 159 184 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
