Script for separating aux & ISIS blue/red data

whtdiv divides AUX port and red and blue arm data from ISIS. It expects these to be in sdf format and to have had 'fixhead' run on them. It then uses hdstrace to list It uses kappa's 'fitshead' to spot the type of data and then sends off the files to sub-directories aux, blue and red (which should have been created beforehand!).

Arguments: just give a series of fits file names. The flag '-h' tries to cope with the loss of headers that occurred during the January 2005 ITP run. It must come first if at all, but it is specific top the detectors used in that run and may not work in general

You must first have made directories 'red', 'blue' and 'aux' before running this script.

Author: T.R. Marsh
Created: 01 January 2005
Revised: 08 December 2005


Page generated Fri Nov 20 09:23:37 2009