Changeset 36212
- Timestamp:
- Oct 13, 2013, 1:34:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotPetroFlux.c
r36156 r36212 19 19 int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM"); 20 20 if (!status) chisqNum = -1; 21 22 psMetadataAddBool (recipe, PS_LIST_TAIL, "EXTENDED_SOURCE_ANALYSIS", PS_META_REPLACE, "we measured this, save to disk", true); 21 23 22 24 // loop over the available readouts … … 149 151 pmSource *source = sources->data[i]; 150 152 if (!source->peak) continue; // XXX how can we have a peak-less source? 153 if (!source->extpars) continue; // if this is not set, we did not have a valid petRadius 151 154 152 155 // check status of this source's moments … … 251 254 source->extpars->petrosianFill = nPetroPix / (M_PI * radPetro2); 252 255 253 fprintf (stderr, "petro flux: %f +/- %f\n", Sum, sqrt(Var));254 255 return true; 256 } 256 // fprintf (stderr, "petro flux: %f +/- %f\n", Sum, sqrt(Var)); 257 258 return true; 259 }
Note:
See TracChangeset
for help on using the changeset viewer.
