Generally speaking stereo_shift is the main depth control parameter, and stereo_angle should remain close to 2 in order to generate “correct” stereo geometry. However, adjusting stereo_angle can reduce ghosting and change the apparent Z location of the objective.
translation = distance * (stereo_shift/100)
rotation = (stereo_angle/2) * (arctan(stereo_shift/100))