Changeset 10958 for trunk/pswarp/src/pswarpDataLoad.c
- Timestamp:
- Jan 7, 2007, 4:14:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpDataLoad.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpDataLoad.c
r10954 r10958 12 12 pmCell *cell; 13 13 pmReadout *readout; 14 pmFPAview *view; 14 15 15 16 // select the input data sources … … 21 22 22 23 // select the output readout 23 pmFPAview *outView = pmFPAviewAlloc (0);24 outView->chip = 0;25 outView->cell = 0;26 outView->readout = 0;27 pmReadout *output = pmFPAfileThisReadout (config->files, outView, "PSWARP.OUTPUT");24 view = pmFPAviewAlloc (0); 25 view->chip = 0; 26 view->cell = 0; 27 view->readout = 0; 28 pmReadout *output = pmFPAfileThisReadout (config->files, view, "PSWARP.OUTPUT"); 28 29 if (!output) { 29 30 psError(PSWARP_ERR_CONFIG, true, "Can't find output data!\n"); 30 31 return false; 31 32 } 33 psFree (view); 32 34 33 35 // de-activate PSWARP.SKYCELL and PSWARP.OUTPUT … … 35 37 pmFPAfileActivate (config->files, false, "PSWARP.OUTPUT"); 36 38 37 pmFPAview *view = pmFPAviewAlloc (0);39 view = pmFPAviewAlloc (0); 38 40 39 41 // find the FPA phu … … 81 83 if (! readout->data_exists) { continue; } 82 84 83 pswarpTransformReadout (output, readout, config); 85 // XXX _Opt version uses locally-linear map 86 // pswarpTransformReadout (output, readout, config); 87 pswarpTransformReadout_Opt (output, readout, config); 84 88 85 89 pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
Note:
See TracChangeset
for help on using the changeset viewer.
