- Timestamp:
- May 8, 2013, 4:56:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoop.c
r35535 r35536 11 11 12 12 #include "pswarp.h" 13 #include "pswarpFileNames.h" // Lists of file rules used at different stages14 13 15 14 // Loop over the inputs, warp them to the output skycell and then update metadata … … 47 46 } 48 47 48 // load in the input pixel data (ex. background model) 49 pmFPAfileActivate(config->files, false, NULL); 50 pmFPAfileActivate(config->files, true, "PSWARP.INPUT"); 51 pmFPAfileActivate(config->files, true, "PSWARP.MASK"); 52 pmFPAfileActivate(config->files, true, "PSWARP.VARIANCE"); 53 54 // We re-activate the CMF load so we can transform the sources as well as the pixels. 55 // We only need to read in these if the astrometry source is CMF. 56 pmFPAfileActivate(config->files, true, "PSWARP.ASTROM"); 57 49 58 // loop over this section once per input group 50 59 for (int i = 0; i < nInputs; i++) { … … 61 70 astrom = input; 62 71 } 63 64 // ensure everyone is off except what we need below65 // XXX double-check activation issues in general66 pswarpFileActivation(config, detectorFiles, true);67 pswarpFileActivation(config, photFiles, false);68 pswarpFileActivation(config, independentFiles, false);69 pswarpFileActivation(config, skycellFiles, false);70 71 // We re-activate the CMF load so we can transform the sources as well as the pixels.72 // We only need to read in these if the astrometry source is CMF.73 pmFPAfileActivate(config->files, true, "PSWARP.ASTROM");74 72 75 73 pmFPAviewReset (view); … … 146 144 } 147 145 148 // Done with the detector side of things149 pswarpFileActivation(config, detectorFiles, false);150 pswarpFileActivation(config, independentFiles, false);151 152 146 if (!pswarpUpdateStatistics (output->fpa, stats, input->fpa, astrom->fpa, config)) { 153 147 psError(psErrorCodeLast(), false, "problem generating statistics.");
Note:
See TracChangeset
for help on using the changeset viewer.
