Skip to content
Snippets Groups Projects
Commit d4cc1286 authored by Colm Talbot's avatar Colm Talbot
Browse files

Allow `lal_waveform_dict` to be passed to `_base_lal_cbc_fd_waveform`

parent c54802e5
No related branches found
No related tags found
1 merge request!752Resolve "Allow lal dictionary to be passed through to `_base_lal_cbc_fd_waveform`"
Pipeline #113071 passed
This commit is part of merge request !752. Comments created here will be created in the context of that merge request.
......@@ -301,6 +301,9 @@ def _base_lal_cbc_fd_waveform(
pn_tidal_order = waveform_kwargs['pn_tidal_order']
pn_phase_order = waveform_kwargs['pn_phase_order']
pn_amplitude_order = waveform_kwargs['pn_amplitude_order']
waveform_dictionary = waveform_kwargs.get(
'lal_waveform_dictionary', lal.CreateDict()
)
approximant = lalsim_GetApproximantFromString(waveform_approximant)
......@@ -327,7 +330,6 @@ def _base_lal_cbc_fd_waveform(
longitude_ascending_nodes = 0.0
mean_per_ano = 0.0
waveform_dictionary = lal.CreateDict()
lalsim.SimInspiralWaveformParamsInsertPNSpinOrder(
waveform_dictionary, int(pn_spin_order))
lalsim.SimInspiralWaveformParamsInsertPNTidalOrder(
......
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