Changes
Page history
Update real event analysis
authored
Oct 15, 2020
by
NV Krishnendu
Hide whitespace changes
Inline
Side-by-side
real-event-analysis.md
View page @
3b641e35
...
@@ -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')
...
...
...
...