crop crops an Ultracam frames to match a set of windows either from an ASCII file or from another Ultracam frame. The windows in the frame to be cropped must enclose the new windows. Their binning factors must divide into those of the new windows and the pixels must be in step.
crop input window output
input | --- | Input frame |
window | --- | Multi-window file (as produced by setwin for example) or ULTRACAM file to crop down to. The program first looks for a window file, with extension ".win". Failing this it looks for a file with extension ".ucm" and uses the window from this instead. |
output | --- | Output, cropped frame |
This command is a member of the classes: Arithematic, Manipulation, Programs, Testing.
Author: T.R. Marsh
Created: 28 February 2002
Revised: 10 November 2003