IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2006, 1:53:37 PM (20 years ago)
Author:
jhoblitt
Message:

stub out -addnormstat

File:
1 edited

Legend:

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

    r8349 r8355  
    178178    psMetadataAddBool(tonormalizeArgs, PS_LIST_TAIL, "-simple",  0,
    179179        "use the simple output format", false);
     180
     181    // -addnormstat
     182    psMetadata *addnormstatArgs = psMetadataAlloc();
     183    psMetadataAddStr(addnormstatArgs, PS_LIST_TAIL, "-det_id",  0,
     184        "define detrend ID (required)", NULL);
     185    psMetadataAddS32(addnormstatArgs, PS_LIST_TAIL, "-iteration",  0,
     186        "define iteration number", 0);
     187    psMetadataAddStr(addnormstatArgs, PS_LIST_TAIL, "-class_id",  0,
     188        "define class ID", NULL);
     189    psMetadataAddF32(addnormstatArgs, PS_LIST_TAIL, "-norm",  0,
     190        "define normal value (required)", NAN);
    180191   
    181192    // -stacked
     
    365376    PXTOOL_MODE("-addstacked",      DETTOOL_MODE_ADDSTACKED,    addstacArgs);
    366377    PXTOOL_MODE("-tonormalize",     DETTOOL_MODE_TONORMALIZE,   tonormalizeArgs);
     378    PXTOOL_MODE("-addnormstat",     DETTOOL_MODE_ADDNORMSTAT,   addnormstatArgs);
    367379    PXTOOL_MODE("-stacked",         DETTOOL_MODE_STACKED,       stacArgs);
    368380    PXTOOL_MODE("-stackedframe",    DETTOOL_MODE_STACKEDFRAME,  stacframeArgs);
     
    391403        printf("\nPan-STARRS Detrend Tool\n");
    392404        printf("Usage: %s <mode> [<options>]\n\n", argv[0]);
    393         printf(" <mode> : [-pending|-definebyexp|-definebyquery|-runs|-selectrun|-select|-raw|-addprocessed|-tostack|-processed|-addstacked|-tonormalize|-stacked|-stackedframe|-addnormalized|-normalized|-normalizedframe|-addresidimfile|-residimfile|-addresidexp|-residexp|-declaremasterframe|-masterframe|-master|-rerun]\n\n");
     405        printf(" <mode> : [-pending|-definebyexp|-definebyquery|-runs|-selectrun|-select|-raw|-addprocessed|-tostack|-processed|-addstacked|-tonormalize|-addnormstat|-stacked|-stackedframe|-addnormalized|-normalized|-normalizedframe|-addresidimfile|-residimfile|-addresidexp|-residexp|-declaremasterframe|-masterframe|-master|-rerun]\n\n");
    394406        fprintf (stdout, "-pending ");
    395407        psArgumentHelp(pendingArgs);
     
    443455        psFree(tonormalizeArgs);
    444456
     457        fprintf (stdout, "-addnormstat ");
     458        psArgumentHelp(addnormstatArgs);
     459        psFree(addnormstatArgs);
     460
    445461        fprintf (stdout, "-stacked ");
    446462        psArgumentHelp(stacArgs);
     
    511527    psFree(addstacArgs);
    512528    psFree(tonormalizeArgs);
     529    psFree(addnormstatArgs);
    513530    psFree(stacArgs);
    514531    psFree(stacframeArgs);
Note: See TracChangeset for help on using the changeset viewer.