IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 4, 2005, 5:33:32 AM (21 years ago)
Author:
eugene
Message:

simultaneous PSF fitting, better background, basic deblending

File:
1 edited

Legend:

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

    r5124 r5672  
    2424
    2525    // replace source flux
    26     // XXX EAM : need to add 'sky' boolean option here
    27     model->params->data.F32[0] = 0;
    28     pmSourceAddModel (source->pixels, source->mask, model, false);
    29     model->params->data.F32[0] = sky;
     26    pmSourceAddModel (source->pixels, source->mask, model, false, false);
    3027
    3128    // measure object photometry
     
    3835
    3936    // subtract object, leave local sky
    40     // XXX EAM : need to add 'sky' boolean option here
    41     model->params->data.F32[0] = 0;
    42     pmSourceSubModel (source->pixels, source->mask, model, false);
    43     model->params->data.F32[0] = sky;
     37    pmSourceSubModel (source->pixels, source->mask, model, false, false);
    4438
    4539    // unmask aperture
Note: See TracChangeset for help on using the changeset viewer.