Changeset 23688 for trunk/ppSub/src/ppSubReadout.c
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap (added) merged: 23511,23520-23521,23532,23578-23581,23596-23599,23603-23604,23606-23608,23619-23621,23638-23639,23641,23646-23648,23651-23653,23656,23672-23674,23677-23684
- Property svn:mergeinfo changed
-
trunk/ppSub
- Property svn:mergeinfo changed
/branches/pap/ppSub (added) merged: 23580,23597,23599,23672-23674,23684
- Property svn:mergeinfo changed
-
trunk/ppSub/src/ppSubReadout.c
r21524 r23688 21 21 #include "ppSub.h" 22 22 23 bool ppSubReadout(pmConfig *config, p sMetadata *stats, const pmFPAview *view)23 bool ppSubReadout(pmConfig *config, ppSubData *data, const pmFPAview *view) 24 24 { 25 25 psTimerStart("PPSUB_MATCH"); … … 30 30 } 31 31 32 if (!ppSubMatchPSFs(config, view)) {32 if (!ppSubMatchPSFs(config, data, view)) { 33 33 psError(PS_ERR_UNKNOWN, false, "Unable to match PSFs."); 34 34 return false; 35 } else if (data->quality) { 36 // Can't do anything at all 37 return true; 35 38 } 36 39 … … 40 43 } 41 44 42 if (! ppSubMakePSF(config, view)) {45 if (!data->quality && !ppSubMakePSF(config, data, view)) { 43 46 psError(PS_ERR_UNKNOWN, false, "Unable to generate PSF."); 44 47 return false; … … 56 59 } 57 60 58 if (! ppSubReadoutPhotometry(config, stats, view)) {61 if (!data->quality && !ppSubReadoutPhotometry(config, data, view)) { 59 62 psError(PS_ERR_UNKNOWN, false, "Unable to perform photometry."); 60 63 return false; 61 64 } 62 65 63 if (!ppSubReadoutUpdate(config, stats, view)) {66 if (!ppSubReadoutUpdate(config, data, view)) { 64 67 psError(PS_ERR_UNKNOWN, false, "Unable to update."); 65 68 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
