IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 31, 2006, 9:40:34 AM (20 years ago)
Author:
eugene
Message:

changed name of radiusTMP to radiusFit in pmModel

File:
1 edited

Legend:

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

    r9771 r9813  
    123123        // fill in the model pixel values
    124124        psImageInit (flux, 0.0);
    125         psImageKeepCircle (mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
     125        psImageKeepCircle (mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
    126126        pmModelAdd (flux, mask, model, false, false);
    127 
    128         // XXX test output line
    129         if ((fabs(x - 298) < 2) && (fabs(y - 583) < 2)) {
    130             psphotSaveImage (NULL, inSource->pixels, "weird.obj.fits");
    131             psphotSaveImage (NULL, flux, "weird.mod.fits");
    132         }
    133127
    134128        // calculate nDOF (nPix - 1)
     
    224218        y = model->params->data.F32[PM_PAR_YPOS];
    225219
    226         psImageKeepCircle (Fi->mask, x, y, model->radiusTMP, "OR", PM_MASK_MARK);
     220        psImageKeepCircle (Fi->mask, x, y, model->radiusFit, "OR", PM_MASK_MARK);
    227221        pmSourceChisq (model, Fi->pixels, Fi->mask, Fi->weight);
    228         psImageKeepCircle (Fi->mask, x, y, model->radiusTMP, "AND", PS_NOT_U8(PM_MASK_MARK));
     222        psImageKeepCircle (Fi->mask, x, y, model->radiusFit, "AND", PS_NOT_U8(PM_MASK_MARK));
    229223    }
    230224
Note: See TracChangeset for help on using the changeset viewer.