IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16771


Ignore:
Timestamp:
Feb 29, 2008, 5:15:30 PM (18 years ago)
Author:
eugene
Message:

set CRLIMIT based on crNsigma value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080229/psphot/src/psphotSourceSize.c

    r16760 r16771  
    88bool psphotSourceSize (pmReadout *readout, psArray *sources, psMetadata *recipe, long first) {
    99
     10    bool status;
     11
    1012    psTimerStart ("psphot");
     13
     14    float CR_NSIGMA_LIMIT = psMetadataLookupF32 (&status, recipe, "PSPHOT.CRNSIGMA.LIMIT");
     15    assert (status);
    1116
    1217    // loop over all source
     
    114119        }
    115120
     121        if (source->crNsigma > CR_NSIGMA_LIMIT) {
     122          source->mode |= PM_SOURCE_MODE_CRLIMIT;
     123        }
    116124    }
    117125
Note: See TracChangeset for help on using the changeset viewer.