IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 4, 2008, 3:10:25 PM (18 years ago)
Author:
eugene
Message:

merge changes from eam_branch_20080229: better flag definitions, cleanup footprint code (move into psphotFindDetections), push mask selection into called functions

File:
1 edited

Legend:

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

    r14799 r16820  
    33
    44// XXX add more test information?
    5 bool psphotModelTest (pmConfig *config, const pmFPAview *view, psMetadata *recipe, psMaskType maskVal, psMaskType mark) {
     5bool psphotModelTest (pmConfig *config, const pmFPAview *view, psMetadata *recipe) {
    66
    77    bool status;
     
    1111    pmPSF *psf = NULL;
    1212    pmSourceFitMode fitMode;
     13
     14    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     15    psMaskType maskVal = psMetadataLookupU8(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
     16    psMaskType mark    = psMetadataLookupU8(&status, recipe, "MASK.MARK"); // Mask value for bad pixels
     17    assert (maskVal);
     18    assert (mark);
    1319
    1420    // run model fitting tests on a single source?
Note: See TracChangeset for help on using the changeset viewer.