IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2006, 4:44:45 PM (20 years ago)
Author:
jhoblitt
Message:

add -normstat

File:
1 edited

Legend:

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

    r8355 r8370  
    189189    psMetadataAddF32(addnormstatArgs, PS_LIST_TAIL, "-norm",  0,
    190190        "define normal value (required)", NAN);
     191 
     192    // -normstat
     193    psMetadata *normstatArgs = psMetadataAlloc();
     194    psMetadataAddBool(normstatArgs, PS_LIST_TAIL, "-simple",  0,
     195        "use the simple output format", false);
    191196   
    192197    // -stacked
     
    377382    PXTOOL_MODE("-tonormalize",     DETTOOL_MODE_TONORMALIZE,   tonormalizeArgs);
    378383    PXTOOL_MODE("-addnormstat",     DETTOOL_MODE_ADDNORMSTAT,   addnormstatArgs);
     384    PXTOOL_MODE("-normstat",        DETTOOL_MODE_NORMSTAT,      normstatArgs);
    379385    PXTOOL_MODE("-stacked",         DETTOOL_MODE_STACKED,       stacArgs);
    380386    PXTOOL_MODE("-stackedframe",    DETTOOL_MODE_STACKEDFRAME,  stacframeArgs);
     
    403409        printf("\nPan-STARRS Detrend Tool\n");
    404410        printf("Usage: %s <mode> [<options>]\n\n", argv[0]);
    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");
     411        printf(" <mode> : [-pending|-definebyexp|-definebyquery|-runs|-selectrun|-select|-raw|-addprocessed|-tostack|-processed|-addstacked|-tonormalize|-addnormstat|-normstat|-stacked|-stackedframe|-addnormalized|-normalized|-normalizedframe|-addresidimfile|-residimfile|-addresidexp|-residexp|-declaremasterframe|-masterframe|-master|-rerun]\n\n");
    406412        fprintf (stdout, "-pending ");
    407413        psArgumentHelp(pendingArgs);
     
    459465        psFree(addnormstatArgs);
    460466
     467        fprintf (stdout, "-normstat ");
     468        psArgumentHelp(normstatArgs);
     469        psFree(normstatArgs);
     470
    461471        fprintf (stdout, "-stacked ");
    462472        psArgumentHelp(stacArgs);
     
    528538    psFree(tonormalizeArgs);
    529539    psFree(addnormstatArgs);
     540    psFree(normstatArgs);
    530541    psFree(stacArgs);
    531542    psFree(stacframeArgs);
Note: See TracChangeset for help on using the changeset viewer.