Description:
This subroutine finds the location of
data from bolometers belonging to a specified sub-instrument in a demodulated data array that may
contain data for several sub-instruments. The number of bolometers found, their indices in the data
array, and their ADC,channel numbers are returned by the routine.
Invocation
CALL
SCULIB_CALC_SUB_BOLS (N_BOL_IN, IN_BOL_ADC, IN_BOL_CHAN, NUM_CHAN, NUM_ADC,
BOL_TYPE, SUB_INSTRUMENT, N_BOL_OUT, OUT_BOL_ADC, OUT_BOL_CHAN, IN_POINTER,
STATUS)
Arguments
N_BOL_IN = INTEGER (Given)
number of bolometers in data array
IN_BOL_ADC (N_BOL_IN) = INTEGER (Given)
ADC numbers of bolometers in data array
IN_BOL_CHAN (N_BOL_IN) = INTEGER (Given)
channel numbers of bolometers in data array
NUM_CHAN = INTEGER (Given)
number of channels per A/D card
NUM_ADC =
INTEGER (Given)
number of A/D cards
BOL_TYPE (NUM_CHAN,NUM_ADC) =
CHARACTER()
(Given)
types of bolometers
SUB_INSTRUMENT =
CHARACTER()
(Given)
the name of the sub-instrument for which data are to be extracted
N_BOL_OUT =
INTEGER (Returned)
the number of bolometers in the data array that belong to the specified
sub-instrument
OUT_BOL_ADC (N_BOL_IN) = INTEGER (Returned)
ADC numbers of bolometers
in specified sub-instrument
OUT_BOL_CHAN (N_BOL_IN) = INTEGER (Returned)
channel
numbers of bolometers in specified sub-instrument
IN_POINTER (N_BOL_IN) = INTEGER
(Returned)
array pointing to indices in data array that contain data for bolometers in the specified
sub-instrument
STATUS = INTEGER (Given and returned)
global status
Copyright
Copyright
©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.