IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 26, 2008, 4:56:07 PM (18 years ago)
Author:
Paul Price
Message:

Adding command-line option -debug-stack to use previously calculated convolved images and convolution kernel instead of convolving again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackArguments.c

    r19172 r19231  
    135135{
    136136    assert(config);
    137     // bool mdok;                          // Status of MD lookup
     137
     138    // This capability makes things much faster when debugging
     139    bool debugStack = false;            // Read old convolutions to debug the stacking?
     140    int argNum = psArgumentGet(argc, argv, "-debug-stack"); // Argument number
     141    if (argNum > 0) {
     142        debugStack = true;
     143        psArgumentRemove(argNum, &argc, argv);
     144    }
    138145
    139146    pmConfigFileSetsMD(config->arguments, &argc, argv, "PPSTACK.SOURCES", "-sources", NULL);
     
    203210    }
    204211
     212    psMetadataAddBool(arguments, PS_LIST_TAIL, "PPSTACK.DEBUG.STACK", 0,
     213                      "Read old convolved images to debug stack?", debugStack);
     214
    205215    return true;
    206216}
Note: See TracChangeset for help on using the changeset viewer.