IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2006, 10:53:44 AM (20 years ago)
Author:
jhoblitt
Message:

stub out -addresidexp
minor options cleanup

File:
1 edited

Legend:

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

    r7352 r7363  
    181181    psMetadataAddStr(addresidArgs, PS_LIST_TAIL, "-recipe",  0,
    182182        "define recipe (required)", NULL);
    183     psMetadataAddBool(addresidArgs, PS_LIST_TAIL, "-accept",  0,
    184         "define as having acceptable residuals", false);
    185 
    186     // -normalizedframe
     183
     184    // -resid
    187185    psMetadata *residArgs = psMetadataAlloc();
    188186    psMetadataAddStr(residArgs, PS_LIST_TAIL, "-det_id",  0,
     
    196194    psMetadataAddStr(residArgs, PS_LIST_TAIL, "-recipe",  0,
    197195        "search for recipe", NULL);
     196 
     197    // -addresidexp
     198    psMetadata *addresidexpArgs = psMetadataAlloc();
     199    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-det_id",  0,
     200        "define detrend ID (required)", NULL);
     201    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-iter",  0,
     202        "define iteration number", NULL);
     203    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-exp_id",  0,
     204        "define detrend ID (required)", NULL);
     205    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-class_id",  0,
     206        "define class ID (required)", NULL);
     207    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-stats",  0,
     208        "define stats (required)", NULL);
     209    psMetadataAddStr(addresidexpArgs, PS_LIST_TAIL, "-recipe",  0,
     210        "define recipe (required)", NULL);
     211    psMetadataAddBool(addresidexpArgs, PS_LIST_TAIL, "-accept",  0,
     212        "define as having acceptable residuals", false);
    198213
    199214#define PXTOOL_MODE(option, modeval, argset) \
     
    231246    PXTOOL_MODE("-addresid",        DETTOOL_MODE_ADDRESID,      addresidArgs);
    232247    PXTOOL_MODE("-resid",           DETTOOL_MODE_RESID,         residArgs);
     248    PXTOOL_MODE("-addresidexp",     DETTOOL_MODE_ADDRESIDEXP,  addresidexpArgs);
    233249
    234250    bool argErr = false;
     
    244260        printf("\nPan-STARRS Detrend Tool\n");
    245261        printf("Usage: %s <mode> [<options>]\n\n", argv[0]);
    246         printf(" <mode> : [-define|-raw|-addprocessed|-processed|-addstacked|-stacked|-stackedframe|-addnormalized|-normalized|-normalizedframe]\n\n");
     262        printf(" <mode> : [-define|-raw|-addprocessed|-processed|-addstacked|-stacked|-stackedframe|-addnormalized|-normalized|-normalizedframe|-addresid|-resid|-addresidexp]\n\n");
    247263        fprintf (stdout, "-define ");
    248264        psArgumentHelp(defineArgs);
     
    287303        psArgumentHelp(residArgs);
    288304        psFree(residArgs);
     305        fprintf (stdout, "-addresidexp ");
     306        psArgumentHelp(addresidexpArgs);
     307        psFree(addresidexpArgs);
    289308
    290309        exit(EXIT_FAILURE);
     
    303322    psFree(addresidArgs);
    304323    psFree(residArgs);
     324    psFree(addresidexpArgs);
    305325
    306326    // setup search criterion
Note: See TracChangeset for help on using the changeset viewer.