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

Use zeros for extrapolating GWs

parent 6d1bdf20
No related branches found
No related tags found
1 merge request!34Use zeros for extrapolating GWs
Pipeline #111855 passed
......@@ -319,7 +319,7 @@ class Instrument:
logger.info("Interpolating gravitational-wave responses from GW file '%s'", self.gw_file)
gwf = h5py.File(self.gw_file, 'r')
self.gws = ForEachMOSA(lambda mosa: scipy.interpolate.InterpolatedUnivariateSpline(
gwf['t'][:], gwf[f'l_{mosa}'][:], k=5, ext='raise')(self.physics_t)
gwf['t'][:], gwf[f'l_{mosa}'][:], k=5, ext='zeros')(self.physics_t)
)
gwf.close()
elif gws is None:
......
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