Changeset 40483 for branches/czw_branch/20170908/pstamp
- Timestamp:
- Jun 27, 2018, 3:31:55 PM (8 years ago)
- Location:
- branches/czw_branch/20170908
- Files:
-
- 7 edited
-
. (modified) (1 prop)
-
pstamp/scripts/psmkreq (modified) (3 diffs)
-
pstamp/scripts/pstamp_job_run.pl (modified) (1 diff)
-
pstamp/src/ppstampArguments.c (modified) (2 diffs)
-
pstamp/src/ppstampMakeStamp.c (modified) (1 diff)
-
pstamp/src/ppstampOptions.h (modified) (1 diff)
-
pstamp/src/pstamp.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/pstamp/scripts/psmkreq
r37887 r40483 29 29 my ($ra, $dec, $x, $y, $list, $output, $req_name, $req_name_base); 30 30 31 my ($image, $mask, $variance, $jpeg, $ cmf, $psf, $backmdl, $inverse, $restorebackground);31 my ($image, $mask, $variance, $jpeg, $allroi, $cmf, $psf, $backmdl, $inverse, $restorebackground); 32 32 my ($exptime, $expnum, $exptimejpeg, $expnumjpeg); 33 33 my ($convolved, $unconvolved, $uncompressed, $use_imfile_id, $no_wait); … … 113 113 'mask' => \$mask, 114 114 'jpeg' => \$jpeg, 115 'allroi' => \$allroi, 115 116 'variance' => \$variance, 116 117 'cmf' => \$cmf, … … 218 219 $option_mask |= $PSTAMP_SELECT_VARIANCE if $variance; 219 220 $option_mask |= $PSTAMP_SELECT_JPEG if $jpeg; 221 $option_mask |= $PSTAMP_MULTI_OVERLAP_IMAGE if $allroi; 220 222 221 223 # if no image was requested make a stamp of the image -
branches/czw_branch/20170908/pstamp/scripts/pstamp_job_run.pl
r38073 r40483 248 248 $command .= " -stage $stage"; 249 249 $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 250 253 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 251 254 run(command => $command, verbose => $verbose); -
branches/czw_branch/20170908/pstamp/src/ppstampArguments.c
r35893 r40483 31 31 fprintf(stderr, " [-write_cmf] : create an output cmf with the sources overlapping the stamp\n"); 32 32 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"); 33 34 // fprintf(stderr, " [-no_censor_masked] : do not set masked pixels to NAN\n"); 34 35 fprintf(stderr, "\n"); … … 66 67 *pOptions = options; 67 68 69 if ((argnum = psArgumentGet(argc, argv, "-centeroffchip"))) { 70 psArgumentRemove(argnum, &argc, argv); 71 options->centeroffchip = true; 72 } 73 68 74 if ((argnum = psArgumentGet(argc, argv, "-wholefile"))) { 69 75 psArgumentRemove(argnum, &argc, argv); -
branches/czw_branch/20170908/pstamp/src/ppstampMakeStamp.c
r36060 r40483 592 592 } 593 593 594 if (onChip) { 594 //MEH add hack for ROI not to include center on chip 595 if (onChip || options->centeroffchip ) { 595 596 if (options->roip.celestialRange) { 596 597 findBoundingBox(options, input->fpa, chip, center); -
branches/czw_branch/20170908/pstamp/src/ppstampOptions.h
r35893 r40483 8 8 // input arguments 9 9 pstampROI roip; 10 bool centeroffchip; 10 11 bool wholeFile; 11 12 psString chipName; -
branches/czw_branch/20170908/pstamp/src/pstamp.h
r36811 r40483 43 43 #define PSTAMP_SELECT_UNCONV 2048 44 44 #define PSTAMP_RESTORE_BACKGROUND 4096 45 // unused 8192 45 // MEH -- previously unused 8192 46 #define PSTAMP_MULTI_OVERLAP_IMAGE 8192 46 47 #define PSTAMP_USE_IMFILE_ID 16384 47 48
Note:
See TracChangeset
for help on using the changeset viewer.
