IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2006, 6:33:17 AM (20 years ago)
Author:
eugene
Message:

mods to change from threshold above sky to S/N thresholds

File:
1 edited

Legend:

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

    r6379 r6427  
    4545static pmModelType modelTypeEXT;
    4646
    47 bool psphotInitLimitsEXT (psMetadata *config, psStats *sky) {
     47bool psphotInitLimitsEXT (psMetadata *config) {
    4848
    4949    bool status;
     
    5656    char *modelNameEXT = psMetadataLookupStr (&status, config, "EXT_MODEL");
    5757    modelTypeEXT = pmModelSetType (modelNameEXT);
    58     psphotInitRadiusEXT (config, sky, modelTypeEXT);
     58    psphotInitRadiusEXT (config, modelTypeEXT);
    5959
    6060    return true;
     
    250250        }
    251251
    252         model->params->data.F32[1] = blend->peak->counts;
     252        // XXX assume local sky is 0.0?
     253        model->params->data.F32[1] = blend->moments->Peak - blend->moments->Sky;
    253254        model->params->data.F32[2] = blend->peak->x;
    254255        model->params->data.F32[3] = blend->peak->y;
Note: See TracChangeset for help on using the changeset viewer.