Changeset 23688 for trunk/ppImage/src/ppImageLoop.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/ppImage
- Property svn:mergeinfo changed
/branches/pap/ppImage (added) merged: 23580,23597,23607,23647
- Property svn:mergeinfo changed
-
trunk/ppImage/src/ppImageLoop.c
r23411 r23688 13 13 bool ppImageLoop(pmConfig *config, ppImageOptions *options) 14 14 { 15 psMetadata *stats = options->doStats ? psMetadataAlloc() : NULL;// Statistics to output15 psMetadata *stats = NULL; // Statistics to output 16 16 float timeDetrend = 0; // Amount of time spent in detrend 17 17 float timePhot = 0; // Amount of time spent in photometry 18 19 if (options->doStats) { 20 stats = psMetadataAlloc(); 21 psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", 0, "No problems", 0); 22 } 18 23 19 24 bool status; // Status of MD lookup … … 139 144 psTimerStart(TIMER_PHOT); 140 145 if (options->doPhotom) { 141 if (!ppImagePhotom( config, view)) {146 if (!ppImagePhotom(stats, config, view)) { 142 147 ESCAPE("error running photometry."); 143 148 } … … 200 205 // this also performs the psastro file IO 201 206 if (options->doAstromChip || options->doAstromMosaic) { 202 if (!ppImageAstrom(config )) {207 if (!ppImageAstrom(config, stats)) { 203 208 ESCAPE("error running astrometry."); 204 209 }
Note:
See TracChangeset
for help on using the changeset viewer.
