Skip to content
Snippets Groups Projects
Commit 46af0329 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'binary_waveform_length' into 'master'

BNS example duration and sampling frequency fix

See merge request !525
parents 6d874166 9e368a73
No related branches found
No related tags found
1 merge request!525BNS example duration and sampling frequency fix
Pipeline #67241 passed
......@@ -34,8 +34,8 @@ injection_parameters = dict(
# Set the duration and sampling frequency of the data segment that we're going
# to inject the signal into. For the
# TaylorF2 waveform, we cut the signal close to the isco frequency
duration = 8
sampling_frequency = 2 * 1570.
duration = 32
sampling_frequency = 2 * 1024
start_time = injection_parameters['geocent_time'] + 2 - duration
# Fixed arguments passed into the source model. The analysis starts at 40 Hz.
......
......@@ -39,7 +39,7 @@ for key in ['a_1', 'a_2', 'tilt_1', 'tilt_2', 'phi_12', 'phi_jl', 'psi',
likelihood = bilby.gw.GravitationalWaveTransient(
interferometers=ifos, waveform_generator=waveform_generator,
time_marginalization=True, phase_marginalization=True,
distance_marginalization=False, prior=priors)
distance_marginalization=False, priors=priors)
result = bilby.run_sampler(
likelihood=likelihood, priors=priors, sampler='dynesty', npoints=1000,
......
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