Skip to content
Snippets Groups Projects
Commit 1e837834 authored by Jean-Baptiste Bayle's avatar Jean-Baptiste Bayle
Browse files

Merge branch '84-change-default-ttl-coupling-coefficients-to-current-best-estimates' into 'master'

Resolve "Change default TTL coupling coefficients to current best estimates"

Closes #84

See merge request !106
parents d06d35f4 e5993ddd
No related branches found
No related tags found
1 merge request!106Resolve "Change default TTL coupling coefficients to current best estimates"
Pipeline #169573 passed
......@@ -325,26 +325,26 @@ class Instrument:
# for local coeffs and [-1.65, 1.65] µm/rad for distant coeffs
# using `np.random.uniform()``
self.ttl_coeffs_local_phis = ForEachMOSA({
'12': -8.13811247e-07, '23': 1.08128266e-06, '31': -7.77853952e-07,
'13': -3.41618871e-07, '32': -6.07855849e-07, '21': -1.34899774e-06,
'12': -3.79868389e-04, '23': 1.27445665e-03, '31': -8.19115231e-04,
'13': -5.03792762e-05, '32': 8.24348407e-04, '21': 1.80772079e-03,
})
self.ttl_coeffs_distant_phis = ForEachMOSA({
'12': -4.85714829e-07, '23': 1.59761007e-06, '31': 1.33568044e-07,
'13': 1.48472066e-06, '32': -1.27955015e-06, '21': 7.90851921e-07,
'12': -1.24812926e-03, '23': 7.49010812e-04, '31': -6.50959027e-05,
'13': -1.33360362e-03, '32': 6.12997141e-04, '21': -2.53955346e-04,
})
self.ttl_coeffs_local_etas = ForEachMOSA({
'12': -1.09550223e-06, '23': 5.29135813e-07, '31': 1.38781495e-06,
'13': -1.42392125e-06, '32': -7.91375904e-07, '21': -1.57000487e-06,
'12': -6.26115149e-04, '23': -2.13028857e-04, '31': 6.62915985e-04,
'13': 5.46940002e-04, '32': -9.50450080e-04, '21': 2.72098575e-04,
})
self.ttl_coeffs_distant_etas = ForEachMOSA({
'12': -7.66056679e-08, '23': 1.09993663e-06, '31': 2.06975290e-07,
'13': -1.10208832e-06, '32': 8.93975974e-07, '21': 1.39319993e-06,
'12': 1.87659513e-03, '23': -1.26813952e-03, '31': 8.64052482e-04,
'13': -4.54433476e-04, '32': -1.46396776e-03, '21': -2.06925864e-04,
})
elif ttl_coeffs == 'random':
self.ttl_coeffs_local_phis = ForEachMOSA(lambda _: np.random.uniform(-1.6E-6, 1.6E-6))
self.ttl_coeffs_distant_phis = ForEachMOSA(lambda _: np.random.uniform(-1.65E-6, 1.65E-6))
self.ttl_coeffs_local_etas = ForEachMOSA(lambda _: np.random.uniform(-1.6E-6, 1.6E-6))
self.ttl_coeffs_distant_etas = ForEachMOSA(lambda _: np.random.uniform(-1.65E-6, 1.65E-6))
self.ttl_coeffs_local_phis = ForEachMOSA(lambda _: np.random.uniform(-2.3E-3, 2.3E-3))
self.ttl_coeffs_distant_phis = ForEachMOSA(lambda _: np.random.uniform(-2.3E-3, 2.3E-3))
self.ttl_coeffs_local_etas = ForEachMOSA(lambda _: np.random.uniform(-2.3E-3, 2.3E-3))
self.ttl_coeffs_distant_etas = ForEachMOSA(lambda _: np.random.uniform(-2.3E-3, 2.3E-3))
else:
self.ttl_coeffs_local_phis = ForEachMOSA(ttl_coeffs[0])
self.ttl_coeffs_distant_phis = ForEachMOSA(ttl_coeffs[1])
......
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