IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2006, 6:32:38 PM (20 years ago)
Author:
eugene
Message:

added profile enabling, some attempts at optimization

File:
1 edited

Legend:

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

    r6379 r6495  
    1111
    1212    psTimerStart ("psphot");
     13
     14    // S/N limit to perform full non-linear fits
     15    float FIT_SN_LIM = psMetadataLookupF32 (&status, config, "FULL_FIT_SN_LIM");
    1316
    1417    // measure the aperture loss as a function of radius for PSF
     
    3740        if (source->mode &  PM_SOURCE_POOR) continue;
    3841
     42        // XXX tune independently?
     43        if (source->moments->SN < 2*FIT_SN_LIM) continue;
     44
    3945        // get uncorrected magnitudes in scaled apertures
    4046        model = pmSourceMagnitudes (source, NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.