IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25913 for trunk/ippTools/src


Ignore:
Timestamp:
Oct 21, 2009, 3:26:31 PM (17 years ago)
Author:
eugene
Message:

adding feature to control if analysis generates a correction image or not

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r25835 r25913  
    133133    PXOPT_LOOKUP_STR(tess_id, config->args, "-set_tess_id", false, false);
    134134    PXOPT_LOOKUP_STR(region, config->args, "-set_region", false, false);
     135    PXOPT_LOOKUP_BOOL(make_correction, config->args, "-make_correction", false);
    135136    PXOPT_LOOKUP_STR(note, config->args, "-set_note", false, false);
    136137
     
    203204            filter,
    204205            "reg",  // state
     206            make_correction,
    205207            workdir,
    206208            label,
     
    294296    PXOPT_LOOKUP_STR(tess_id, config->args, "-set_tess_id", false, false);
    295297    PXOPT_LOOKUP_STR(region, config->args, "-set_region", false, false);
     298    PXOPT_LOOKUP_BOOL(make_correction, config->args, "-make_correction", false);
    296299    // XXX probably should make the region in -set_region match ra_min, ra_max, etc
    297300
     
    315318        filter,
    316319        "reg",  // state
     320        make_correction,
    317321        workdir,
    318322        label,
  • trunk/ippTools/src/flatcorrConfig.c

    r25816 r25913  
    5959    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_tess_id",  0,            "define tessalation", NULL);
    6060    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_region",   0,            "define region", NULL);
     61    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-make_correction",  0,       "generate a correction image and add to detrend database", false);
    6162
    6263    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-pretend",  0,            "print the exposures that would be included in the detrend run and exit", false);
     
    7677    psMetadataAddStr(definerunArgs, PS_LIST_TAIL, "-set_tess_id",  0,            "define tessalation", NULL);
    7778    psMetadataAddStr(definerunArgs, PS_LIST_TAIL, "-set_region",  0,            "define region", NULL);
     79    psMetadataAddBool(definerunArgs, PS_LIST_TAIL, "-make_correction",  0,       "generate a correction image and add to detrend database", false);
    7880    psMetadataAddBool(definerunArgs, PS_LIST_TAIL, "-simple", 0,            "use the simple output format", false);
    7981
     
    129131    psMetadataAddS64(updaterunArgs, PS_LIST_TAIL, "-corr_id", 0, "define correction id (required)", 0);
    130132    psMetadataAddStr(updaterunArgs, PS_LIST_TAIL, "-state",   0, "set state (required)", NULL);
     133    // XXX add mechanism to change this value: psMetadataAddBool(updaterunArgs, PS_LIST_TAIL, "-set_correction",  0, "generate a correction image and add to detrend database", false);
    131134
    132135    // -inputexp
Note: See TracChangeset for help on using the changeset viewer.