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/modelTestFitSource.c

    r5622 r5672  
    77    bool status;
    88    int modelType;
    9     float sky, obsMag, fitMag, value;
     9    float obsMag, fitMag, value;
    1010    char name[64];
    1111
     
    9696
    9797    // subtract object, leave local sky
    98     sky = model->params->data.F32[0];
    99     model->params->data.F32[0] = 0;
    100     pmSourceSubModel (source->pixels, source->mask, model, false);
    101     model->params->data.F32[0] = sky;
     98    pmSourceSubModel (source->pixels, source->mask, model, false, false);
    10299   
    103100    // write out
Note: See TracChangeset for help on using the changeset viewer.