IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18438


Ignore:
Timestamp:
Jul 9, 2008, 9:54:05 AM (18 years ago)
Author:
eugene
Message:

renamed markVal

File:
1 edited

Legend:

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

    r14655 r18438  
    77// XXX add a option to turn off the curve-of-growth (ie, make the apMag = fitMag everywhere);
    88
    9 bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf, bool ignore, psMaskType maskVal) {
     9bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf, bool ignore, psMaskType maskVal, psMaskType markVal) {
    1010
    1111    // bool status;
     
    4444
    4545        // NOTE: we use pmModelAdd not pmSourceAdd because we are not working with a normal source
    46         psImageKeepCircle (mask, xc, yc, radius, "OR", PM_MASK_MARK);
     46        psImageKeepCircle (mask, xc, yc, radius, "OR", markVal);
    4747        pmModelAdd (image, mask, model, PM_MODEL_OP_FULL, maskVal);
    4848        pmSourcePhotometryAper (&apMag, model, image, mask, maskVal);
    49         psImageKeepCircle (mask, xc, yc, radius, "AND", PS_NOT_U8(PM_MASK_MARK));
     49        psImageKeepCircle (mask, xc, yc, radius, "AND", PS_NOT_U8(markVal));
    5050
    5151        // the 'ignore' mode is for testing
Note: See TracChangeset for help on using the changeset viewer.