Next: SCULIB_COPY_GOOD - Go through data set and throw away bad values
Up: Library APIs
Previous: SCULIB_CONVOLVE - convolve array A with array B to give result in R
SCULIB_COPY_DEMOD_SWITCH
- copy a switch of demodulated data into
arrays holding the switch chop data, chop
variance, calibrator, cal variance and quality
separately
- Description:
- This routine copies the demodulated data for the jiggle positions
measured in the last switch into separate arrays for the switch
chop data, chop variance, calibrator, cal variance and quality.
Quality is marked bad if BIT 1 is set and LEVEL is greater than requested
- Invocation:
- CALL SCULIB_COPY_DEMOD_SWITCH (NBOLS, NDATA, NJIG,
SWITCH, SWITCH_DATA, SWITCH_VARIANCE, SWITCH_CALIBRATOR,
SWITCH_CAL_VARIANCE, SWITCH_QUALITY, STATUS)
- Arguments:
-
-
NBOLS = INTEGER (Given)
-
number of bolometers being measured
-
NDATA = INTEGER (Given)
-
number of data per measured position; 5 for jiggle data, 4 for
raster
-
NJIG = INTEGER (Given)
-
number of jiggle positions measured
-
LEVEL = INTEGER (Given)
-
level at which spikes are marked as bad quality
-
SWITCH (5, NBOLS, NJIG) = REAL (Given)
-
switch datablock
-
SWITCH_DATA (NBOLS, NJIG) = REAL (Returned)
-
chop data for this switch of the exposure
-
SWITCH_VARIANCE (NBOLS, NJIG) = REAL (Returned)
-
variance on the chop signal
-
SWITCH_CALIBRATOR (NBOLS, NJIG) = REAL (Returned)
-
calibrator for this switch of the exposure
-
SWITCH_CAL_VARIANCE (NBOLS, NJIG)= REAL (Returned)
-
variance on the calibrator signal
-
SWITCH_QUALITY (NBOLS, NJIG) = BYTE (Returned)
-
quality for this switch of the exposure
-
STATUS = INTEGER (Given and returned)
-
global status
-
Copyright
- Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy
Research Council. All Rights Reserved.
Next: SCULIB_COPY_GOOD - Go through data set and throw away bad values
Up: Library APIs
Previous: SCULIB_CONVOLVE - convolve array A with array B to give result in R
SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk
Copyright © 2008 Science and Technology Facilities Council