IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2005, 5:33:01 PM (21 years ago)
Author:
eugene
Message:

psphot reorganization: merged in pmObjects code from psModule, modified to work with psLib 0.7.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotFitGalaxies.c

    r4949 r4954  
    5050
    5151        // 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);
    5355        if (!status) {
    5456          source->type = PS_SOURCE_DROP_GALAXY;  // better choice?
     
    7476
    7577        // 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);
    7781        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);
    7983        if (!status) {
    8084          // if the fit fails, we need to change the classification
Note: See TracChangeset for help on using the changeset viewer.