SCULIB_ADD_DEMOD_EXPOSURE

add demodulated data for an exposure into the integration result

Description:

This routine adds the reduced demodulated data for an exposure in a jiggle-sampled observation into the integration result. The exposure can contain data either for all or part of ONE run through the jiggle pattern or for several REPEATS of the entire jiggle pattern. In the first case, the routine copies the exposure data into the appropriate part of the integration arrays. In the second, the integration data will be the average of the input exposure values and the integration variance will be set equal to the exposure value if there was just one valid measurement, or calculated from the dispersion of the exposure data about the mean otherwise.

Invocation

CALL SCULIB_ADD_DEMOD_EXPOSURE (N_BOLS, J_START, N_JIG, J_REPEAT, J_COUNT, EXP_DATA, EXP_VARIANCE, EXP_QUALITY, INT_DATA, INT_VARIANCE, INT_QUALITY, STATUS)

Arguments

N_BOLS = INTEGER (Given)
the number of bolometers measured
J_START = INTEGER (Given)
the index within the pattern of the first jiggle position measured
N_JIG = INTEGER (Given)
the number of jiggle positions measured
J_REPEAT = INTEGER (Given)
the number of times the measured pattern was repeated
J_COUNT = INTEGER (Given)
the number of jiggle positions in the entire pattern
EXP_DATA (N_BOLS, N_JIG) = REAL (Given)
the data for the exposure
EXP_VARIANCE (N_BOLS, N_JIG) = REAL (Given)
the exposure variance
EXP_QUALITY (N_BOLS, N_JIG) = INTEGER (Given)
the exposure quality
INT_DATA (N_BOLS, J_COUNT) = REAL (Returned)
the integration data
INT_VARIANCE (N_BOLS, J_COUNT) = REAL (Returned)
the integration variance
INT_QUALITY (N_BOLS, J_COUNT) = INTEGER (Returned)
the integration quality
STATUS = INTEGER (Given and returned)
global status

Copyright

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