Next: SCULIB_CONSTRUCT_OUT - Append a identification string to a string
Up: Library APIs
Previous: SCULIB_COADD_REMOVE - remove exposure from coadded result
SCULIB_COMPRESS_DEMOD
- get demodulated data for a bolometer and coadd
jiggles in each integration
- Description:
- This routine selects data for a specified bolometer from a demodulated
data array, and coadds the results for each jiggle in each integration
to give an average for that integration. Data with bad quality are
ignored. The variance on the average will also be derived; set equal
to the variance on the input data if only one jiggle contributes to the
average, otherwise calculated from the spread of the input points about
the mean.
- Invocation:
- CALL SCULIB_COMPRESS_DEMOD (N_BOLS, N_JIGS, N_INTS,
IN_DATA, ADC_INDEX, CHAN_INDEX, INT_INDEX, ADC, CHAN,
OUT_DATA, OUT_VARIANCE, OUT_QUALITY, STATUS)
- Arguments:
-
-
N_BOLS = INTEGER (Given)
-
number of bolometers measured
-
N_JIGS = INTEGER (Given)
-
number of jiggles in pattern
-
N_INTS = INTEGER (Given)
-
number of integrations taken
-
IN_DATA (4, N_BOLS, N_JIGS
N_INTS)
-
= REAL (Given)
the demodulated data; 1=data, 2=variance, 3=calibrator, 4=quality
-
ADC_INDEX (N_BOLS) = INTEGER (Given)
-
the ADC numbers of the measured bolometers
-
CHAN_INDEX (N_BOLS) = INTEGER (Given)
-
the channel numbers of the measured bolometers
-
INT_INDEX (N_INTS) = INTEGER (Given)
-
the k index in IN_DATA of the first jiggle of each integration
-
ADC = INTEGER (Given)
-
the ADC number of the requested bolometer
-
CHAN = INTEGER (Given)
-
the channel number of the requested bolometer
-
OUT_DATA (N_INTS) = REAL (Returned)
-
the values for each integration averaged over the jiggles
-
OUT_VARIANCE (N_INTS) = REAL (Returned)
-
the variance on OUT_DATA
-
OUT_QUALITY (N_INTS) = INTEGER (Returned)
-
the quality on OUT_DATA
-
STATUS = INTEGER (Given and returned)
-
global status
- Notes:
- Only works for data where SWITCH_PER_EXP=1, EXP_PER_INT=1 and
N_MEASUREMENTS=1.
-
Copyright
- Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy
Research Council. All Rights Reserved.
Next: SCULIB_CONSTRUCT_OUT - Append a identification string to a string
Up: Library APIs
Previous: SCULIB_COADD_REMOVE - remove exposure from coadded result
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