Changeset 4954 for trunk/psphot/src/psphotFitGalaxies.c
- Timestamp:
- Sep 6, 2005, 5:33:01 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotFitGalaxies.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotFitGalaxies.c
r4949 r4954 50 50 51 51 // recalculate the source moments using the larger galaxy moments radius 52 status = pmSourceMoments (source, GAL_MOMENTS_RAD); 52 // XXX EAM : 0.5.0 code used _EAM version 53 // status = pmSourceMoments (source, GAL_MOMENTS_RAD); 54 status = pmSourceMoments_EAM (source, GAL_MOMENTS_RAD); 53 55 if (!status) { 54 56 source->type = PS_SOURCE_DROP_GALAXY; // better choice? … … 74 76 75 77 // fit FLT (not PSF) model (set/unset the pixel mask) 76 psImageKeepCircle (source->mask, x, y, model->radius, OR, PSPHOT_MASK_KEEP); 78 psImageKeepCircle (source->mask, x, y, model->radius, "OR", PSPHOT_MASK_MARKED); 79 // XXX EAM : 0.5.0 code used _EAM version 80 // status = pmSourceFitModel (source, model, false); 77 81 status = pmSourceFitModel (source, model, false); 78 psImageKeepCircle (source->mask, x, y, model->radius, AND, ~PSPHOT_MASK_KEEP);82 psImageKeepCircle (source->mask, x, y, model->radius, "AND", ~PSPHOT_MASK_MARKED); 79 83 if (!status) { 80 84 // if the fit fails, we need to change the classification
Note:
See TracChangeset
for help on using the changeset viewer.
