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

Increase PPR spline interpolation orbits

parent 10cc4275
No related branches found
No related tags found
1 merge request!162Read dPPRs and integrate for PPRs
Pipeline #246705 passed
...@@ -679,8 +679,8 @@ class Instrument: ...@@ -679,8 +679,8 @@ class Instrument:
# Prepare common interpolation method # Prepare common interpolation method
times = orbitf.attrs['t0'] + np.arange(orbitf.attrs['size']) * orbitf.attrs['dt'] times = orbitf.attrs['t0'] + np.arange(orbitf.attrs['size']) * orbitf.attrs['dt']
interpolate = lambda data, t: InterpolatedUnivariateSpline(times, data, k=3, ext='raise')(t) interpolate = lambda data, t: InterpolatedUnivariateSpline(times, data, k=5, ext='raise')(t)
int_interpolate = lambda data, t: InterpolatedUnivariateSpline(times, data, k=3, ext='raise').antiderivative()(t) int_interpolate = lambda data, t: InterpolatedUnivariateSpline(times, data, k=5, ext='raise').antiderivative()(t)
link_index = {'12': 0, '23': 1, '31': 2, '13': 3, '32': 4, '21': 5} link_index = {'12': 0, '23': 1, '31': 2, '13': 3, '32': 4, '21': 5}
sc_index = {'1': 0, '2': 1, '3': 2} sc_index = {'1': 0, '2': 1, '3': 2}
......
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