Changeset 6862 for trunk/psphot/src/psphotEnsemblePSF.c
- Timestamp:
- Apr 14, 2006, 11:58:44 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotEnsemblePSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotEnsemblePSF.c
r6753 r6862 4 4 // 2006.02.07 : no leaks! 5 5 // fit all reasonable sources with the linear PSF model 6 bool psphotEnsemblePSF (pmReadout *readout, psArray *sources, psMetadata * config, pmPSF *psf, bool final) {6 bool psphotEnsemblePSF (pmReadout *readout, psArray *sources, psMetadata *recipe, pmPSF *psf, bool final) { 7 7 8 8 bool status; … … 21 21 // radius for source moments if star is saturated 22 22 // XXX we already do this in psphotSourceStats, is it still needed? 23 float INNER_RADIUS = psMetadataLookupF32 (&status, config, "SKY_INNER_RADIUS");23 float INNER_RADIUS = psMetadataLookupF32 (&status, recipe, "SKY_INNER_RADIUS"); 24 24 25 25 // setup the PSF fit details 26 psphotInitRadiusPSF ( config, psf->type);26 psphotInitRadiusPSF (recipe, psf->type); 27 27 28 28 // pre-calculate all model pixels … … 33 33 34 34 // option to limit analysis to a specific region 35 char *region = psMetadataLookupStr (&status, config, "ANALYSIS_REGION");35 char *region = psMetadataLookupStr (&status, recipe, "ANALYSIS_REGION"); 36 36 psRegion AnalysisRegion = psRegionFromString (region); 37 37 AnalysisRegion = psRegionForImage (readout->image, AnalysisRegion);
Note:
See TracChangeset
for help on using the changeset viewer.
