(Internal) Determine the current theta segment
determineCurrentThetaSegment
is an internal function for determining the current theta segment.
determineCurrentThetaSegment( current_theta, position, exposure_control, simulation_constants )
current_theta
: a list containing data on the current theta estimate.position
: the position within the current administration (i.e., test progress)exposure_control
: the exposure_control
slot of config_Shadow
. Used to read custom first segments if available.simulation_constants
: a named list containing simulation constants.determineCurrentThetaSegment
returns a segment index.