- Timestamp:
- May 8, 2013, 4:41:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpMakePSF.c
r35521 r35535 11 11 12 12 #include "pswarp.h" 13 14 #define WCS_NONLIN_TOL 0.001 // Non-linear tolerance for header WCS15 #define TESTING 0 // Testing output?16 13 17 14 // We need a new PSF model for the warped frame. It would be good to generate this analytically, but … … 34 31 } 35 32 36 // XXX What was being read here?? skip this for now 37 if (false && !pswarpIOChecksBefore(config)) { 38 psError(psErrorCodeLast(), false, "Unable to read files."); 39 return false; 40 } 41 33 // XXX move above the loop 34 pmModelClassSetLimits(PM_MODEL_LIMITS_STRICT); 35 42 36 // supply the readout and fpa of interest to psphot 43 37 pmFPAfile *photFile = psMetadataLookupPtr(&status, config->files, "PSPHOT.INPUT"); … … 71 65 } 72 66 73 // XXX move above the loop74 pmModelClassSetLimits(PM_MODEL_LIMITS_STRICT);75 76 67 // measure the PSF using these sources 77 68 if (!psphotReadoutFindPSF(config, view, "PSPHOT.INPUT", sources)) { … … 96 87 item->data.F32 = psMetadataLookupF32(&status, chip->concepts, "CHIP.SEEING"); 97 88 } 98 99 // XXX test function found below100 // pswarpMakePSF_test ();101 89 102 90 psFree(view);
Note:
See TracChangeset
for help on using the changeset viewer.
