IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2007, 1:35:32 PM (18 years ago)
Author:
jhoblitt
Message:

implement dettool -makecorrection, -tocorrectexp, & -tocorrectimfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettoolConfig.c

    r15783 r15828  
    274274    psMetadataAddStr(makecorrectionArgs, PS_LIST_TAIL, "-det_id",  0,
    275275            "det ID to be corrected (required)", NULL);
     276    psMetadataAddBool(makecorrectionArgs, PS_LIST_TAIL, "-simple", 0,
     277            "use the simple output format", false);
     278
     279    // -tocorrectexp
     280    psMetadata *tocorrectexpArgs = psMetadataAlloc();
     281    psMetadataAddU64(tocorrectexpArgs, PS_LIST_TAIL, "-limit",  0,
     282            "limit result set to N items", 0);
     283    psMetadataAddBool(tocorrectexpArgs, PS_LIST_TAIL, "-simple",  0,
     284            "use the simple output format", false);
     285
     286    // -tocorrectimfile
     287    psMetadata *tocorrectimfileArgs = psMetadataAlloc();
     288    psMetadataAddStr(tocorrectimfileArgs, PS_LIST_TAIL, "-det_id", 0,
     289            "search for detrend ID", NULL);
     290    psMetadataAddU64(tocorrectimfileArgs, PS_LIST_TAIL, "-limit",  0,
     291            "limit result set to N items", 0);
     292    psMetadataAddBool(tocorrectimfileArgs, PS_LIST_TAIL, "-simple",  0,
     293            "use the simple output format", false);
    276294
    277295    // -runs
     
    10701088    PXTOOL_ADD_MODE("-definebydetrun",  "", DETTOOL_MODE_DEFINEBYDETRUN, definebydetrunArgs);
    10711089    PXTOOL_ADD_MODE("-makecorrection",  "", DETTOOL_MODE_MAKECORRECTION, makecorrectionArgs);
     1090    PXTOOL_ADD_MODE("-tocorrectexp",    "", DETTOOL_MODE_TOCORRECTEXP, tocorrectexpArgs);
     1091    PXTOOL_ADD_MODE("-tocorrectimfile", "", DETTOOL_MODE_TOCORRECTIMFILE, tocorrectimfileArgs);
    10721092    PXTOOL_ADD_MODE("-raw",             "", DETTOOL_MODE_RAW,           rawArgs);
    10731093    PXTOOL_ADD_MODE("-runs",            "", DETTOOL_MODE_RUNS,          runsArgs);
Note: See TracChangeset for help on using the changeset viewer.