Changeset 9807 for trunk/psphot/src/psphotApResid.c
- Timestamp:
- Oct 31, 2006, 9:37:39 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotApResid.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotApResid.c
r9771 r9807 25 25 // S/N limit to perform full non-linear fits 26 26 float MAX_AP_OFFSET = psMetadataLookupF32 (&status, recipe, "MAX_AP_OFFSET"); 27 bool IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH"); 27 28 28 29 // set limits on the aperture magnitudes … … 32 33 float REF_RADIUS = psMetadataLookupF32 (&status, recipe, "PSF_REF_RADIUS"); 33 34 psf->growth = pmGrowthCurveAlloc (3.0, 100.0, REF_RADIUS); 34 psphotGrowthCurve (readout, psf); 35 36 psphotGrowthCurve (readout, psf, IGNORE_GROWTH); 35 37 36 38 psVector *mask = psVectorAllocEmpty (300, PS_TYPE_U8); … … 67 69 68 70 flux->data.F64[Npsf] = pow(10.0, -0.4*source->psfMag); 69 r2rflux->data.F64[Npsf] = PS_SQR(model->radius TMP) / flux->data.F64[Npsf];71 r2rflux->data.F64[Npsf] = PS_SQR(model->radiusFit) / flux->data.F64[Npsf]; 70 72 71 73 mask->data.U8[Npsf] = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
