Skip to content
Snippets Groups Projects
Commit 9e368a73 authored by Andrew Kim's avatar Andrew Kim Committed by Gregory Ashton
Browse files

BNS example duration and sampling frequency fix

parent 6d874166
No related branches found
No related tags found
No related merge requests found
......@@ -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