- Timestamp:
- May 6, 2013, 10:32:51 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoop.c
r35515 r35521 11 11 12 12 #include "pswarp.h" 13 #include <ppStats.h>14 13 #include "pswarpFileNames.h" // Lists of file rules used at different stages 15 16 #define WCS_NONLIN_TOL 0.001 // Non-linear tolerance for header WCS17 #define TESTING 0 // Testing output?18 14 19 15 // Loop over the inputs, warp them to the output skycell and then write out the output. … … 33 29 } 34 30 35 // XXX this should probably happen elsewhere (logically it belongs to file I/O, right?)31 // XXX move this to pswarpParseCamera? has to come after input mask header is read 36 32 if (!pswarpSetMaskBits(config)) { 37 33 psError(psErrorCodeLast(), false, "failed to set mask bits"); … … 70 66 return false; 71 67 } 72 73 // XXX NOTE : 'output' was a readout, now we need to loop over all output targets74 68 75 69 // ensure everyone is off except what we need below … … 79 73 pswarpFileActivation(config, skycellFiles, false); 80 74 81 // Turn on the source output --- we need to get rid of these so that we can measure the PSF82 // XXX NOTE : do not tackle source issues yet...83 // XXX pmFPAfileActivate(config->files, true, "PSWARP.OUTPUT.SOURCES");84 85 75 // the loops below load the input data 86 76 pswarpFileActivation(config, detectorFiles, true); … … 90 80 91 81 // pswarpFileActivation(config, independentFiles, true); 92 93 82 94 83 pmFPAview *view = pmFPAviewAlloc(0); … … 171 160 } 172 161 173 // XXXX turn these on later .. pswarpMakePSF (output); 174 // XXX have not yet written the output to disk 162 if (!pswarpMakePSF (config, output, stats)) { 163 psError(psErrorCodeLast(), false, "problem generating PSF."); 164 goto FAIL; 165 } 166 175 167 psFree(view); 176 168 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
