IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40391


Ignore:
Timestamp:
Apr 12, 2018, 11:15:39 AM (8 years ago)
Author:
mhuber
Message:

merge mod to pstamp missed files

Location:
tags/ipp-20170121/pstamp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20170121/pstamp/scripts/pstamp_job_run.pl

    r38073 r40391  
    248248        $command .= " -stage $stage";
    249249        $command .= " -forheader $calibfile" if $calibfile;
     250        ## MEH hack for centeroffchip -- needs constraint for coord_mask 0 all in sky values..
     251        $command .= " -centeroffchip" if ($options & $PSTAMP_MULTI_OVERLAP_IMAGE);
     252
    250253        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    251254            run(command => $command, verbose => $verbose);
  • tags/ipp-20170121/pstamp/src/ppstampArguments.c

    r35893 r40391  
    3131    fprintf(stderr, "   [-write_cmf]          : create an output cmf with the sources overlapping the stamp\n");
    3232    fprintf(stderr, "   [-wholefile]          : ignore the region of interest and process the entire input image\n");
     33    fprintf(stderr, "   [-centeroffchip]          : allow center to be off chip boundary and include any pixels in ROI (testing) \n");
    3334    // fprintf(stderr, "   [-no_censor_masked]   : do not set masked pixels to NAN\n");
    3435    fprintf(stderr, "\n");
     
    6667    *pOptions = options;
    6768
     69    if ((argnum = psArgumentGet(argc, argv, "-centeroffchip"))) {
     70        psArgumentRemove(argnum, &argc, argv);
     71        options->centeroffchip = true;
     72    }
     73       
    6874    if ((argnum = psArgumentGet(argc, argv, "-wholefile"))) {
    6975        psArgumentRemove(argnum, &argc, argv);
Note: See TracChangeset for help on using the changeset viewer.