IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 29, 2008, 2:16:50 PM (18 years ago)
Author:
eugene
Message:

moved peaks and footprints into detections; moving mask selections into recipe and called functions; dropping unused MODE flags

File:
1 edited

Legend:

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

    r14799 r16760  
    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.