Update real event analysis authored by NV Krishnendu's avatar NV Krishnendu
...@@ -21,15 +21,15 @@ _This page is evolving and new changes need to be added_ ...@@ -21,15 +21,15 @@ _This page is evolving and new changes need to be added_
- Step 1: creating a PE Summary page: - Step 1: creating a PE Summary page:
import glob import glob
import os import os
events = ['SXXXXX'] events = ['SXXXXX']
outdirBase = '/home/YourNAME/public_html/LSC/lalinference/ObervationRUN/SummaryPages/SXXXXX/C01[or any specification]/ks_sym' outdirBase = '/home/YourNAME/public_html/LSC/lalinference/ObervationRUN/SummaryPages/SXXXXX/C01[or any specification]/ks_sym'
paths = ['/home/YourNAME/ObervationRUN/SXXXXX/C01[or any specification]/ks_sym'] paths = ['/home/YourNAME/ObervationRUN/SXXXXX/C01[or any specification]/ks_sym']
print(events) print(events)
print(paths) print(paths)
for (event,path) in zip(events,paths): for (event,path) in zip(events,paths):
f = open(glob.glob(os.path.join(path,'lal*sh'))[0]) f = open(glob.glob(os.path.join(path,'lal*sh'))[0])
content = f.read() content = f.read()
webdir = os.path.join(outdirBase,event,'ks_sym') webdir = os.path.join(outdirBase,event,'ks_sym')
... ...
......