Commit 8ff28b3a authored by Rayne Liu's avatar Rayne Liu
Browse files

Update ran codes

parent 2e343424
#!/usr/bin/env python
# coding: utf-8
"""
What happens if I increase the number density of points in the GW signal, for the n=1 mode fitting the n=1 data?
......@@ -16,9 +18,9 @@ import h5py
import json
#This cell mimicks the (2, 2, 0) and (2, 2, 1) superposition, using the 0.01 stepsize
tstep = 1
tstep = 0.01
ndim = 8
rootpath = "/Users/RayneLiu/git/rdstackingproject"
rootpath = '/work/rayne.liu/git/rdstackingproject'#"/Users/RayneLiu/git/rdstackingproject"
t = np.arange(0, 80, tstep)
w0, tau0, x0, y0 = [0.55578191, 11.74090006, 0.98213669, -4.81250993]
......@@ -90,4 +92,4 @@ fg, ax = dyplot.cornerplot(res, color='red',
show_titles=True, labels = paramlabels,
quantiles=None)
fg.savefig(rootpath + '/plotsmc/n=1_mockfit_tstep=' + str(tstep) +'.png', format='png', bbox_inches='tight', dpi=300)
\ No newline at end of file
fg.savefig(rootpath + '/plotsmc/n=1_mockfit_tstep=' + str(tstep) +'.png', format='png', bbox_inches='tight', dpi=300)
......@@ -18,7 +18,7 @@ import h5py
import json
#This cell mimicks the (2, 2, 0) and (2, 2, 1) superposition, using the 0.01 stepsize
tstep = 1
tstep = 0.01
ndim = 8
rootpath = '/work/rayne.liu/git/rdstackingproject'#"/Users/RayneLiu/git/rdstackingproject"
......@@ -87,4 +87,4 @@ fg, ax = dyplot.cornerplot(res, color='blue',
show_titles=True, labels = paramlabels,
quantiles=None)
fg.savefig(rootpath + '/plotsmc/n=1_mockfit_tstep=' + str(tstep) +'wandt.png', format='png', bbox_inches='tight', dpi=300)
\ No newline at end of file
fg.savefig(rootpath + '/plotsmc/n=1_mockfit_tstep=' + str(tstep) +'wandt.png', format='png', bbox_inches='tight', dpi=300)
Supports Markdown
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