IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26540


Ignore:
Timestamp:
Jan 7, 2010, 5:06:35 PM (16 years ago)
Author:
eugene
Message:

notes for the future stack upgrades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotFindDetections.c

    r26423 r26540  
    7373// if we use the footprints, the output peaks list contains both old and new peaks,
    7474// otherwise it only contains the new peaks.
     75
     76# if 0
     77// XXX where do we place the N sets of detections?
     78bool psphotFindDetections (pmConfig *config, const pmFPAview *view)
     79{
     80    bool status = true;
     81
     82    int num = psMetadataAddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
     83    psAbort (!status, "programming error: must define PSPHOT.INPUT.NUM");
     84
     85    // loop over the available readouts
     86    for (int i = 0; i < num; i++) {
     87        if (!psphotFindDetectionsReadout (config, view, "PSPHOT.INPUT", i)) {
     88            psError (PSPHOT_ERR_CONFIG, false, "failed to subtract background for PSPHOT.INPUT entry %d", i);
     89            return false;
     90        }
     91    }
     92    return true;
     93}
     94# endif
Note: See TracChangeset for help on using the changeset viewer.