... | ... | @@ -72,7 +72,41 @@ _This page is evolving and new changes need to be added_ |
|
|
print( commandline)
|
|
|
os.system(commandline)
|
|
|
|
|
|
- Repeat the same for `bbh` ans `ks_pos` runs. Replace `ks_sym` with `bbh` or `ks_sym`
|
|
|
- Keep a copy of the `commmandline` in the run directory.
|
|
|
- Step 2: Update the data release repo. This is done only after the samples from the final production run is available.
|
|
|
|
|
|
src = '/home/YourNAME/public_html/LSC/lalinference/ObervationRUN/SummaryPages/SXXXXX/C01[or any
|
|
|
specification]/ks_sym'
|
|
|
repo = '/home/YourNAME/public_html/LSC/lalinference/ObervationRUN/SummaryPages/data_release_repo/SXXXXX/C01[or any
|
|
|
specification]/ks_sym'
|
|
|
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)
|
|
|
|
|
|
|
|
|
- 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).
|
|
|
- Some cases we may also run the cbcBayesCompPos to compare two runs
|
|
|
- Most of the above-mentioned steps would automatically follow for an injection study
|
|
|
|