SCULIB_SET_DATA_UB

set data to a byte value given a byte mask

Description:

This routine uses a byte mask (N_BOLS N_POS) to set a data value in the output. A mask value of 1 indicates that a value should be changed. This routine does not distinguish ’beams’

Invocation

CALL SCULIB_SET_DATA_UB(USE_THIS, N_BOLS, N_POS, N_BEAM, MASK, BVALUE, IN_DATA, STATUS)

Arguments

USE_THIS = LOGICAL (Given)
Describes whether the mask should be set to the value (TRUE) or whether the rest of the data should be set (FALSE)
N_BOLS = INTEGER (Given)
number of bolometers measured
N_POS = INTEGER (Given)
number of positions measured
N_BEAM = INTEGER (Given)
number of beams used
MASK( N_BOLS, N_POS) = BYTE (Given)
input mask
BVALUE = BYTE (Given)
The value to be given to the masked/unmasked data
IN_DATA (N_BOLS, N_POS, N_BEAM) = BYTE (Given and returned)
the data to be masked
STATUS = INTEGER (Given and returned)
global status

Copyright

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