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

    r26894 r27649  
    1515    psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
    1616
     17    // skip the chisq image (optionally?)
     18    int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM");
     19    if (!status) chisqNum = -1;
     20
    1721    // loop over the available readouts
    1822    for (int i = 0; i < num; i++) {
     23        if (i == chisqNum) continue; // skip chisq image
    1924        if (!psphotGuessModelsReadout (config, view, "PSPHOT.INPUT", i)) {
    2025            psError (PSPHOT_ERR_CONFIG, false, "failed on to guess models for PSPHOT.INPUT entry %d", i);
Note: See TracChangeset for help on using the changeset viewer.