Verified Commit 0d4d22e3 authored by Chris Pankow's avatar Chris Pankow Committed by Adam Mercer

rapidpe execs: purge pylal

parent 8ef10848
......@@ -14,7 +14,7 @@ from glue.ligolw import ligolw, utils, lsctables
from glue.ligolw.utils import process
lsctables.use_in(ligolw.LIGOLWContentHandler)
from pylal.series import read_psd_xmldoc, LIGOLWContentHandler
from lal.series import read_psd_xmldoc, PSDContentHandler
VALID_TMPLT_GENS = {"lalapps_cbc_sbank": "--flow", "tmpltbank": "--low-frequency-cutoff", "pycbc_geom_aligned_bank": "--f-low", "gstlal_bank_splitter": "--f-low"}
def infer_flow(xmldoc):
......@@ -50,7 +50,7 @@ def parse_psd_file(filestr, fvals):
pass
try:
xmldoc = utils.load_filename(filestr, contenthandler=LIGOLWContentHandler)
xmldoc = utils.load_filename(filestr, contenthandler=PSDContentHandler)
psd = read_psd_xmldoc(xmldoc).values()[0]
f = numpy.arange(0, len(psd.data)*psd.deltaF, psd.deltaF)
psd = psd.data
......
......@@ -34,7 +34,6 @@ from glue.ligolw import utils, lsctables, table, ligolw
lsctables.use_in(ligolw.LIGOLWContentHandler)
from glue.ligolw.utils import process
import glue.lal
import pylal
# our analysis stuff
from lalinference.rapid_pe import lalsimutils, factored_likelihood, mcsampler, xmlutils, common_cl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment