Description:
This routine find that start and end indices of the specified integration. In general these
can be found directly from the DEMOD_POINTER array but with the warning that the last integration
will not necessarily point to the end of the data array if multiple measurements are being taken. For
this reason, put this knowledge in one place.
Invocation
CALL SCULIB_FIND_INT(DEMOD_POINTER,
N_SWITCHES, N_EXPOSURES, N_INTEGRATIONS, N_MEASUREMENTS, N_POS, INTEG, MEAS, I_START,
I_END, STATUS)
Arguments
DEMOD_POINTER ( N_SWITCHES, N_EXPOSURES,
N_INTEGRATIONS, N_MEASUREMENTS ) = INTEGER (Given)
an array of pointers to the
start of each switch
N_SWITCHES = INTEGER (Given)
the number of switches per
exposure
N_EXPOSURES = INTEGER (Given)
the number of exposures per integration
N_INTEGRATIONS = INTEGER (Given)
the number of integrations per measurement
N_MEASUREMENTS = INTEGER (Given)
the number of measurements in the observation
N_POS
= INTEGER (Given)
the total number of positions measured in the observation
INTEG =
INTEGER (Given)
the integration number of the switch
MEAS = INTEGER (Given)
the measurement number of the switch
I_START = INTEGER (Returned)
pointer to
the start of the integration
I_END = INTEGER (Returned)
pointer to the end of the
integration
STATUS = INTEGER (Given and returned)
global status
Copyright
Copyright ©1999 Particle Physics and Astronomy Research Council. All Rights Reserved.