SCULIB_SET_QUAL

set quality bits in a subset of a quality array

Description:

Set the bits in the quality array as specified by a mask. Can be used to set or unset bits as well as using the mask or the inverse of the mask. This is used to mask scuba sections.

Invocation

CALL SCULIB_SET_QUAL (USE_SECT, QUALITY, N_BOLS, N_POS, N_BEAM, BOL_S, POS_S, BIT_POS, BIT_SWITCH, STATUS)

Arguments

USE_SECT = LOGICAL (Given)
am I changing SECTION or .NOT. SECTION
QUALITY (N_BOLS, N_POS, N_BEAM) = BYTE (Given and returned)
the quality array
N_BOLS = INTEGER (Given)
number of bolometers measured
N_POS = INTEGER (Given)
number of positions measured
N_BEAM = INTEGER (Given)
number of beams used
BOL_S (N_BOLS) = INTEGER (Given)
array containing 1s for bolometers whose quality is to be changed
POS_S (N_POS) = INTEGER (Given)
array containing 1s for positions whose quality is to be changed
BIT_POS = INTEGER (Given)
position of bit ot be set (0 - 7)
BIT_SWITCH = LOGICAL (Given)
If .TRUE. we set the bit using SCULIB_BITON. If .FALSE. we unset the bit with SCULIB_BITOFF
STATUS = INTEGER (Given and returned)
global status

Copyright

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