- Timestamp:
- Jan 12, 2015, 12:34:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pv3-20140717-merge/psphot/src/psphotMagnitudes.c
r34404 r37825 38 38 psAssert (psf, "missing psf?"); 39 39 40 if (!psphotMagnitudesReadout (config, recipe, view, readout, sources, psf )) {40 if (!psphotMagnitudesReadout (config, recipe, view, readout, sources, psf, i)) { 41 41 psError (PSPHOT_ERR_CONFIG, false, "failed to measure magnitudes for %s entry %d", filerule, i); 42 42 return false; … … 46 46 } 47 47 48 bool psphotMagnitudesReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf ) {48 bool psphotMagnitudesReadout(pmConfig *config, psMetadata *recipe, const pmFPAview *view, pmReadout *readout, psArray *sources, pmPSF *psf, int index) { 49 49 50 50 bool status = false; … … 65 65 66 66 // if backModel or backStdev are missing, the values of sky and/or skyErr will be set to NAN 67 pmReadout *backModel = psphotSelectBackground (config, view );68 pmReadout *backStdev = psphotSelectBackgroundStdev (config, view );67 pmReadout *backModel = psphotSelectBackground (config, view, index); 68 pmReadout *backStdev = psphotSelectBackgroundStdev (config, view, index); 69 69 70 70 // bit-masks to test for good/bad pixels
Note:
See TracChangeset
for help on using the changeset viewer.
