Description:
This routine takes a data array. It then removes a DC offset (either the mean or the median derived
from the scan) from each scan.
Invocation
CALL SCULIB_REMOVE_DC_FROM_EXP(DORLB,
N_EXPOSURES, N_INTEGRATIONS, N_MEASUREMENTS, METHOD, DEM_PNTR, N_BOL, N_POS, IN_DATA,
IN_QUALITY, SAMPLE_DX, CHOP_THROW, OUT_DATA, OUT_QUALITY, BADBIT, STATUS)
Arguments
DORLB = LOGICAL (Given)
control whether we are subtracting the baseline (TRUE) or storing the
basline (FALSE)
N_EXPOSURES = INTEGER (Given)
maximum number of exposures
per integration
N_INTEGRATIONS = INTEGER (Given)
number of integrations in the
observation
N_MEASUREMENTS = INTEGER (Given)
number of measurements in the
observation
METHOD = CHAR (Given)
Removal method. MEDIAN or MEAN supported.
DEMOD_POINTER (N_EXPOSURES, N_INTEGRATIONS, N_MEASUREMENTS)
= INTEGER
(Given) array pointing to start and finish of scans in IN_DATA
N_BOL = INTEGER (Given)
the
number of bolometers for which data was taken
N_POS = INTEGER (Given)
the number
of positions measured in the scan
IN_DATA (N_BOL, N_POS) = REAL (Given)
the
measured data
IN_VARIANCE (N_BOL, N_POS) = REAL (Given)
the measured variance
IN_QUALITY (N_BOL, N_POS) = BYTE (Given)
the quality on IN_DATA
OUT_DATA
(N_BOL, N_POS) = REAL (Returned)
the data with baseline removed
OUT_VARIANCE
(N_BOL, N_POS) = REAL (Given)
the output variance
OUT_QUALITY (N_BOL, N_POS) =
BYTE (Returned)
the quality on OUT_DATA
BADBIT = BYTE (Given)
bad bit mask
STATUS = INTEGER (Given and Returned)
Global Status value
Copyright
Copyright
©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.