SCULIB_SET_DATA

set data to a real 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 (USE_THIS, N_BOLS, N_POS, N_BEAM, MASK, VALUE, 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
VALUE = REAL (Given)
The value of the masked/unmasked data
IN_DATA (N_BOLS, N_POS, N_BEAM) = REAL (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.