REDUCE_NOISE

Process demodulated noise data

Description:

This routine takes raw demodulated noise data and processes it. NDF and ASCII results files are generated.

The output NDF file is a 2-D dataset with a chop signal and calibrator signal per bolometer. The text file is similar to the file generated by the real-time system.

Parameters:

IN = NDF (Read)
The name of the raw noise data file. A single number can be supplied if SCUBA_PREFIX is set. DATADIR is recognised.
OUT = NDF (Write)
Output NDF. This file is 2-dimensional. The first dimension is bolometer number. The second dimension is chop signal and calibrator signal (along with variances and quality). If no output NDF is required a null value can be given.
FILE = FILENAME (Write)
Output text file. Format is almost identical to that generated by the real-time system. A null value can be supplied to prevent a text file from being written. The default output name is the same name as generated by the on-line system (noise_YYMMDD_nr.dat)
MSG_FILTER = CHAR (Read)
Message output level. Default is NORM. Allowed values are QUIET, NORMAL and VERBOSE.

Examples:

reduce_noise 19981113_dem_0001 out_noise !
Read in observation 1 and write the output to an NDF names out_noise.sdf. Do not write a text file.
reduce_noise 3 ! accept
Process observation 3 but do not write an NDF output file. Use the default file name for the text file.

Notes:

Noise observations containing multiple measurements are condensed into a single measurement.