Changeset 4216 for trunk/psphot/src/choose_psf_model.c
- Timestamp:
- Jun 12, 2005, 3:49:21 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/choose_psf_model.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/choose_psf_model.c
r4215 r4216 23 23 24 24 // define model fit pixels 25 // XXX use a different radius - PSF_FIT_RADIUS?25 // check that FIT_RADIUS < OUTER_RADIUS 26 26 float RADIUS = psMetadataLookupF32 (&status, config, "FIT_RADIUS"); 27 28 for (int i = 0; i < stars->n; i++) {29 psSource *source = stars->data[i];30 pmSourceSetPixelCircle (source, image, RADIUS);31 }32 27 33 28 // the user specifies 1 or more PSF model options … … 38 33 sprintf (key, "PSF_MODEL_%d", i); 39 34 modelName = psMetadataLookupPtr (&status, config, key); 40 tests->data[i] = pmPSF_TestModel (stars, modelName );35 tests->data[i] = pmPSF_TestModel (stars, modelName, RADIUS); 41 36 } 42 37
Note:
See TracChangeset
for help on using the changeset viewer.
