SCULIB_FLATFIELD_DATA

flatfield the data in an array

Description:

This routine multiplies the data in the input array by the flatfield values of the bolometers that took it. Output quality will be set bad if input quality was bad or the quality of the flatfield for that bolometer was bad.

Invocation

CALL SCULIB_FLATFIELD_DATA (N_BOL, N_POS, N_BEAM, BDATA, VARIANCE, QUALITY, BOL_CHAN, BOL_ADC, NUM_CHAN, NUM_ADC, BOL_FLAT, BOL_QUALITY, STATUS)

Arguments

N_BOL = INTEGER (Given)
number of bolometers measured
N_POS = INTEGER (Given)
number of positions at which the bolometers were measured
N_BEAM = INTEGER (Given)
number of beams data have been reduced into
BDATA (N_BOL, N_POS, N_BEAM)
= REAL (Given and returned) measured data
VARIANCE (N_BOL, N_POS, N_BEAM)
= REAL (Given and returned) variance on BDATA
QUALITY (N_BOL, N_POS, N_BEAM)
= BYTE (Given and returned) quality on BDATA
BOL_CHAN (N_BOL) = INTEGER (Given)
the channel numbers of the measured bolometers
BOL_ADC (N_BOL) = INTEGER (Given)
the A/D numbers of the measured bolometers
NUM_CHAN = INTEGER (Given)
number of channels per A/D
NUM_ADC = INTEGER (Given)
number of A/D cards
BOL_FLAT (NUM_CHAN, NUM_ADC)
= REAL (Given) the flatfield values
BOL_QUALITY (NUM_CHAN, NUM_ADC)
= INTEGER (Given) quality on BOL_FLAT
STATUS = INTEGER (Given and returned)
global status

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.