Skip to content
Snippets Groups Projects
Commit 19685ebb authored by Surabhi Sachdev's avatar Surabhi Sachdev
Browse files

modify pastro uploader for ew

parent b1e1ac9d
No related branches found
No related tags found
1 merge request!372modify pastro uploader for ew
......@@ -228,6 +228,7 @@ class PAstroUploader(events.EventProcessor):
snr = lsctables.CoincInspiralTable.get_table(coinc).getColumnByName("snr")[0]
likelihood = lsctables.CoincTable.get_table(coinc).getColumnByName("likelihood")[0]
template_id = lsctables.SnglInspiralTable.get_table(coinc).getColumnByName("Gamma0")[0]
fhigh = lsctables.SnglInspiralTable.get_table(coinc).getColumnByName("f_final")[0]
except Exception as e:
logging.warning(f'Failed to parse coinc file. Error: {e}')
......@@ -236,7 +237,8 @@ class PAstroUploader(events.EventProcessor):
'mchirp': mchirp,
'likelihood': likelihood,
'template_id': template_id,
'snr': snr
'snr': snr,
'fhigh': fhigh
}
def upload_file(self, graceid, message, filename, contents, tag, retries = 3):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment