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/psphotRoughClass.c

    r15059 r16760  
    11# include "psphotInternal.h"
     2
    23# define CHECK_STATUS(S,MSG) { \
    34  if (!status) { \
     
    78
    89// 2006.02.02 : no leaks
    9 bool psphotRoughClass (psArray *sources, psMetadata *recipe, const bool havePSF, psMaskType maskSat) {
     10bool psphotRoughClass (psArray *sources, psMetadata *recipe, const bool havePSF) {
    1011
    1112    bool status;
     
    1314
    1415    psTimerStart ("psphot");
     16
     17    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     18    psMaskType maskSat = psMetadataLookupU8(&status, recipe, "MASK.SAT"); // Mask value for bad pixels
     19    assert (maskSat);
    1520
    1621    if (!havePSF) {
Note: See TracChangeset for help on using the changeset viewer.