IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 9, 2010, 4:41:16 PM (16 years ago)
Author:
eugene
Message:

working on psphotStack (nearly done)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/stackphot.20100406/psphot/src/psphotMagnitudes.c

    r27532 r27649  
    1212    psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
    1313
     14    // skip the chisq image (optionally?)
     15    int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM");
     16    if (!status) chisqNum = -1;
     17
    1418    // loop over the available readouts
    1519    for (int i = 0; i < num; i++) {
     20        if (i == chisqNum) continue; // skip chisq image
    1621
    1722        // find the currently selected readout
Note: See TracChangeset for help on using the changeset viewer.