Commit f38ab3bc authored by David Keitel's avatar David Keitel
Browse files

transient MCMC example: explicitly set rect window

parent 4e5e9697
......@@ -41,7 +41,8 @@ mcmc = pyfstat.MCMCTransientSearch(
sftfilepattern='data/*simulated_transient_signal*sft',
theta_prior=theta_prior, tref=tref, minStartTime=minStartTime,
maxStartTime=maxStartTime, nsteps=nsteps, nwalkers=nwalkers, ntemps=ntemps,
log10beta_min=log10beta_min)
log10beta_min=log10beta_min,
transientWindowType='rect')
mcmc.run()
mcmc.plot_corner(label_offset=0.7)
mcmc.print_summary()
......@@ -22,5 +22,5 @@ transient = pyfstat.Writer(
label='simulated_transient_signal', outdir='data', tref=tref,
tstart=transient_tstart, F0=F0, F1=F1, F2=F2, duration=transient_duration,
Alpha=Alpha, Delta=Delta, h0=h0, sqrtSX=sqrtSX, minStartTime=minStartTime,
maxStartTime=maxStartTime)
maxStartTime=maxStartTime, transientWindowType='rect')
transient.make_data()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment