IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9073


Ignore:
Timestamp:
Sep 29, 2006, 5:13:39 PM (20 years ago)
Author:
jhoblitt
Message:

stub out -tonormalizedexp, -addnormalizedexp, & -normalizedexp
rename -normalized -> -normalizedimfile

Location:
trunk/ippTools/src
Files:
3 edited

Legend:

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

    r9071 r9073  
    3232static bool normstatMode(pxConfig *config);
    3333static bool addnormalizedimfileMode(pxConfig *config);
     34static bool tonormalizedexpMode(pxConfig *config);
     35static bool addnormalizedexpMode(pxConfig *config);
     36static bool normalizedexpMode(pxConfig *config);
    3437static bool toresidMode(pxConfig *config);
    3538static bool addresidimfileMode(pxConfig *config);
    36 static bool normalizedMode(pxConfig *config); // needed?
     39static bool normalizedimfileMode(pxConfig *config); // needed?
    3740static bool toresidexpMode(pxConfig *config);
    3841static bool normalizedframeMode(pxConfig *config);// neede?
     
    9699        MODECASE(DETTOOL_MODE_NORMSTAT,         normstatMode);
    97100        MODECASE(DETTOOL_MODE_ADDNORMALIZEDIMFILE,addnormalizedimfileMode);
    98         MODECASE(DETTOOL_MODE_NORMALIZED,       normalizedMode);
     101        MODECASE(DETTOOL_MODE_NORMALIZEDIMFILE, normalizedimfileMode);
     102        MODECASE(DETTOOL_MODE_TONORMALIZEDEXP,  tonormalizedexpMode);
     103        MODECASE(DETTOOL_MODE_ADDNORMALIZEDEXP, addnormalizedexpMode);
     104        MODECASE(DETTOOL_MODE_NORMALIZEDEXP,    normalizedexpMode);
    99105        MODECASE(DETTOOL_MODE_TORESID,          toresidMode);
    100106        MODECASE(DETTOOL_MODE_ADDRESIDIMFILE,   addresidimfileMode);
     
    22872293        return false;
    22882294    }
     2295
     2296    return true;
     2297}
     2298
     2299static bool tonormalizedexpMode(pxConfig *config)
     2300{
     2301    PS_ASSERT_PTR_NON_NULL(config, false);
     2302
     2303    return true;
     2304}
     2305
     2306static bool addnormalizedexpMode(pxConfig *config)
     2307{
     2308    PS_ASSERT_PTR_NON_NULL(config, false);
     2309
     2310    return true;
     2311}
     2312
     2313static bool normalizedexpMode(pxConfig *config)
     2314{
     2315    PS_ASSERT_PTR_NON_NULL(config, false);
    22892316
    22902317    return true;
     
    24302457}
    24312458
    2432 static bool normalizedMode(pxConfig *config)
     2459static bool normalizedimfileMode(pxConfig *config)
    24332460{
    24342461    PS_ASSERT_PTR_NON_NULL(config, false);
  • trunk/ippTools/src/dettool.h

    r9071 r9073  
    2727    DETTOOL_MODE_NORMSTAT,
    2828    DETTOOL_MODE_ADDNORMALIZEDIMFILE,
    29     DETTOOL_MODE_NORMALIZED,
     29    DETTOOL_MODE_NORMALIZEDIMFILE,
     30    DETTOOL_MODE_TONORMALIZEDEXP,
     31    DETTOOL_MODE_ADDNORMALIZEDEXP,
     32    DETTOOL_MODE_NORMALIZEDEXP,
    3033    DETTOOL_MODE_TORESID,
    3134    DETTOOL_MODE_ADDRESIDIMFILE,
  • trunk/ippTools/src/dettoolConfig.c

    r9071 r9073  
    280280        "define URI (required)", NULL);
    281281
     282    // -tonormalizedexp
     283    psMetadata *tonormalizedexpArgs = psMetadataAlloc();
     284
     285    // -addnormalizedexp
     286    psMetadata *addnormalizedexpArgs = psMetadataAlloc();
     287
     288    // -normalizedexp
     289    psMetadata *normalizedexpArgs = psMetadataAlloc();
     290 
    282291    // -toresid
    283292    psMetadata *toresidArgs = psMetadataAlloc();
     
    285294        "use the simple output format", false);
    286295
    287     // -normalized
    288     psMetadata *normalizedArgs = psMetadataAlloc();
    289     psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-det_id",  0,
     296    // -normalizedimfile
     297    psMetadata *normalizedimfileArgs = psMetadataAlloc();
     298    psMetadataAddStr(normalizedimfileArgs, PS_LIST_TAIL, "-det_id",  0,
    290299        "search for detrend ID (required)", NULL);
    291     psMetadataAddS32(normalizedArgs, PS_LIST_TAIL, "-iteration",  0,
     300    psMetadataAddS32(normalizedimfileArgs, PS_LIST_TAIL, "-iteration",  0,
    292301        "search for iteration number", 0);
    293     psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-class_id",  0,
     302    psMetadataAddStr(normalizedimfileArgs, PS_LIST_TAIL, "-class_id",  0,
    294303        "search for class ID", NULL);
    295     psMetadataAddStr(normalizedArgs, PS_LIST_TAIL, "-recip",  0,
     304    psMetadataAddStr(normalizedimfileArgs, PS_LIST_TAIL, "-recip",  0,
    296305        "search for recipe", NULL);
    297     psMetadataAddBool(normalizedArgs, PS_LIST_TAIL, "-simple",  0,
     306    psMetadataAddBool(normalizedimfileArgs, PS_LIST_TAIL, "-simple",  0,
    298307        "use the simple output format", false);
    299308 
     
    528537//    PXTOOL_MODE("-stackedframe",    DETTOOL_MODE_STACKEDFRAME,  stacframeArgs);
    529538    PXTOOL_MODE("-addnormalizedimfile", DETTOOL_MODE_ADDNORMALIZEDIMFILE,addnormalizedimfileArgs);
     539    PXTOOL_MODE("-tonormalizedexpArgs", DETTOOL_MODE_TONORMALIZEDEXP, tonormalizedexpArgs);
     540    PXTOOL_MODE("-addnormalizedexp", DETTOOL_MODE_ADDNORMALIZEDEXP, addnormalizedexpArgs);
     541    PXTOOL_MODE("-normalizedexp",   DETTOOL_MODE_NORMALIZEDEXP, normalizedexpArgs);
    530542    PXTOOL_MODE("-toresid",         DETTOOL_MODE_TORESID,       toresidArgs);
    531     PXTOOL_MODE("-normalized",      DETTOOL_MODE_NORMALIZED,    normalizedArgs);
     543    PXTOOL_MODE("-normalizedimfile",DETTOOL_MODE_NORMALIZEDIMFILE, normalizedimfileArgs);
    532544    PXTOOL_MODE("-toresidexp",      DETTOOL_MODE_TORESIDEXP,    toresidexpArgs);
    533545//    PXTOOL_MODE("-normalizedframe", DETTOOL_MODE_NORMALIZEDFRAME,normalizedframeArgs);
Note: See TracChangeset for help on using the changeset viewer.