pcdsdevices.ccm.alio_to_theta

pcdsdevices.ccm.alio_to_theta(alio: float, theta0: float, gr: float, gd: float) float

Converts alio position (mm) to theta angle (rad).

Conversion function theta_angle = f(x) = 2arctan * [(sqrt(x^2 + D^2 + 2Rx) - D)/(2R + x)] Note that for x = −R, θ = 2 arctan(−R/D)