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

Merge branch 'use-zeros-for-extrapolation-of-GWs' into 'master'

Use zeros for extrapolating GWs

See merge request !34
parents 6d1bdf20 acd98053
No related branches found
No related tags found
1 merge request!34Use zeros for extrapolating GWs
Pipeline #111856 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