Description:
This script
corrects for the DAQ communications error and shifts the data from ADC cards along by a specified
amount. Since all channels are read from a particular ADC card but only some of them are actually
stored in the demodulated data file, the shift may result in fewer bolometers being stored for a given
sub-instrument.
Usage:
scushift [-h] NDF card shift
Parameters:
-h
Help information
NDF
(Given)
The input files to be modified.
card
The letter identifying the A-to-D card (allowed values
are A to I)
shift
The number of bolometers to shift by. A negative shift moves D1 to D16 (for
example) and a positive shift D1 to D2. In most cases a negative shift is required (usually
).
Examples:
scushift test i -2
Move the I card data of test.sdf by minus 2 bolometers scushift test2 h 1
Move the H-card data by plus 1 bolometer. Notes:
-
extinction must not have been run on the input NDF.
-
Arguments are requested if they are missing from the command line
-
If the system stores channels 1,2,3,6,7,8,10 but we know that we have a shift of
in the
system (ie an extra byte is present). This implies that we have actually stored channels 16,1,2,5,6,7,9
and if only bolometers 1,2,6,7 are from the required sub-instrument we have to throw away data from
channels 15,5 and 9.
-
The DAQ hardware fault always introduced extra bytes and therefore a negative shift should be used
in scushift.
-
Currently photometry data is not corrected properly (the PHOT_BB extension is not modified so the
correct bolometer will not be extracted by scuphot). This can be overcome by using the ALLBOLS
parameter in scuphot.
Copyright © 1997-2000,2003 Particle Physics and Astronomy Research Council