Update real event analysis authored by NV Krishnendu's avatar NV Krishnendu
......@@ -83,27 +83,23 @@ _This page is evolving and new changes need to be added_
events = ['SXXXXX']
for event in events:
file_sym = os.path.join(src,event,'ks_sym','samples','posterior_samples.h5')
file_pos = os.path.join(src,event,'ks_pos','samples','posterior_samples.h5')
file_bbh = os.path.join(src,event,'bah','samples','posterior_samples.h5')
final_name_sym = 'sim_{}_C01[or any specification]_sym_prior.h5'.format(event)
final_name_pos = 'sim_{}_C01[or any specification]_pos_prior.h5'.format(event)
final_name_bbh = 'sim_{}_C01[or any specification]_bbh_prior.h5'.format(event)
destination_sym = os.path.join(repo,event, final_name_sym)
destination_pos = os.path.join(repo, event,final_name_pos)
destination_bbh = os.path.join(repo, event,final_name_bbh)
commandLine_sym = 'cp {} {}'.format(file_sym, destination_sym )
commandLine_pos = 'cp {} {}'.format(file_bbh, destination_pos )
commandLine_bbh = 'cp {} {}'.format(file_bbh, destination_bbh )
os.system(commandLine_sym)
os.system(commandLine_pos)
os.system(commandLine_bbh)
os.chdir(os.path.join(repo,event))
os.system("git add *.h5")
os.system("git commit -m 'bh, ks pos and sym C01[or any specification] samples for %s '"%event)
file_pos = os.path.join(src,event,'ks_pos','samples','posterior_samples.h5')
file_bbh = os.path.join(src,event,'bah','samples','posterior_samples.h5')
final_name_sym = 'sim_{}_C01[or any specification]_sym_prior.h5'.format(event)
final_name_pos = 'sim_{}_C01[or any specification]_pos_prior.h5'.format(event)
final_name_bbh = 'sim_{}_C01[or any specification]_bbh_prior.h5'.format(event)
destination_sym = os.path.join(repo,event, final_name_sym)
destination_pos = os.path.join(repo, event,final_name_pos)
destination_bbh = os.path.join(repo, event,final_name_bbh)
commandLine_sym = 'cp {} {}'.format(file_sym, destination_sym )
commandLine_pos = 'cp {} {}'.format(file_bbh, destination_pos )
commandLine_bbh = 'cp {} {}'.format(file_bbh, destination_bbh )
os.system(commandLine_sym)
os.system(commandLine_pos)
os.system(commandLine_bbh)
os.chdir(os.path.join(repo,event))
os.system("git add *.h5")
os.system("git commit -m 'bh, ks pos and sym C01[or any specification] samples for %s '"%event)
- Codes used for Step1 and Step2 for O3a-TGR analysis is availble from [this page](https://git.ligo.org/nv.krishnendu/lalsuite/-/wikis/O3a-Spin-Quadrupole-BH-mimicker-test-results/o3a-review-report/#table-3-main-scripts-used-for-post-processing).
......
......