Skip to content
Snippets Groups Projects
Commit dedc9c9f authored by Yannick Lecoeuche's avatar Yannick Lecoeuche Committed by Jameson Rollins
Browse files

Add lpy coefficients for OM's, RM's, ZM's

parent eab17d43
No related branches found
No related tags found
No related merge requests found
......@@ -170,6 +170,12 @@ def channel2lpy_coeffs(channel):
lpy_map['pitch'] = {'T2': 1, 'T3': -1}
lpy_map['yaw'] = {'LF': -1, 'RT': 1}
lpy_map['corners'] = ['T2', 'T3', 'LF', 'RT']
elif optic in ['OM1', 'OM2', 'OM3', 'RM1', 'RM2', 'ZM1', 'ZM2']:
if stage in ['M1']:
lpy_map['length'] = {'UL': 1, 'LL': 1, 'UR': 1, 'LR': 1}
lpy_map['pitch'] = {'UL': 1, 'LL': -1, 'UR': 1, 'LR': -1}
lpy_map['yaw'] = {'UL': -1, 'LL': -1, 'UR': 1, 'LR': 1}
lpy_map['corners'] = ['UL', 'LL', 'UR', 'LR']
else:
raise RuntimeError("no LPY map for suspension '{}'.".format(channel))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment