Changing shifts in frealign parameter file.
Entered On
Type of Procedure
Image processing
Short Description
Script for modifying frealign parameter files when going from binned to unbinned data
1. Copy the following into a script (named, for example, change_shifts.com):
#!/bin/csh -f grep -v C $1 | awk '{printf "%7d%8.2f%8.2f%8.2f%8.2f%8.2f%8s%6d%9.1f%9.1f%8.2f%7.2f\n",$1,$2,$3,$4,$5*5,$6*5,$7,$8,$9,$10,$11,$12}' > $2
2. Use script, specifying input and output files as command line variables 1 and 2.