Description:
This routine
goes through each jiggle position in turn, finding the sky background level by using the selected SKY
bolometers. This level is removed from each bolometer. The background level is determined by the
median of the SKY data for each jiggle. If requested, via ADD_BACK, the mean of the level that was
removed is added back onto the data so that flux is conserved in the image.
Invocation
CALL SCULIB_REM_SKY(MODE, ADD_BACK, N_BOLS, N_POS, SCUDATA, SCUVAR, SCUQUAL,
CLIP, N_SKYBOLS, SKYBOLS, BADBIT, STATUS)
Arguments
MODE = CHARACTER
(
)
(Given)
Clip mode
ADD_BACK = LOGICAL (Given)
Add the mean removed level back onto the
final data set. (if TRUE)
N_BOLS = INTEGER (Given)
Number of bolometers in data set
N_POS =
INTEGER (Given)
Number of jiggle positions in data set
SCUDATA(N_BOLS, N_POS) =
REAL (Given & Returned)
The data
SCUVAR(N_BOLS, N_POS) = REAL (Given &
Returned)
The variance on the data
SCUQUAL(N_BOLS, N_POS) = BYTE (Given &
Returned)
The data quality
CLIP = _REAL (Given)
Iterative sigma clipping level
N_SKYBOLS = INTEGER (Given)
Number of sky bolometers
SKYBOLS (N_SKYBOLS) =
INTEGER (Given)
List of sky bolometers
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.