Commit 3864ec09 authored by Carl Schaffer's avatar Carl Schaffer
Browse files

adding empirical offsets to slit angle

parent a1c23011
......@@ -295,7 +295,7 @@ def calculate_slit_angle(rotangle=None, azimuth=None, elevation=None, p0_angle=N
const_offset = 50.1 if date < datetime.datetime(2019, 12, 31) else 45.67 # changes in optical setup
if rotangle:
alpha = 2 * rotangle - parallactic_angle - azimuth - elevation + p0_angle + 2 * const_offset
alpha = 2 * rotangle - parallactic_angle - azimuth - elevation + p0_angle + 2 * const_offset + 56.19
else:
alpha = -parallactic_angle - azimuth - elevation + p0_angle + 2 * const_offset
alpha = -parallactic_angle - azimuth - elevation + p0_angle + 2 * const_offset + 129.1
return alpha
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment