Commit b8731d16 authored by John Douglas Veitch's avatar John Douglas Veitch 💬
Browse files

Move lalinference modules from lalapps to lalinference/python

Original: 1d98562341c4d0f4e5b287e7d5eb2fa27d7e8d93
parent 5c57c802
......@@ -48,9 +48,6 @@ pybin_scripts = \
lalapps_compute_roq_weights \
lalapps_merge_posteriors \
lalapps_test_run_lalinference_pipe_example
pkgpython_PYTHON = \
nest2pos.py \
lalinference_pipe_utils.py
endif
EXTRA_DIST += \
......
......@@ -7,7 +7,7 @@ import sys
import os
from pylal import bayespputils as bppu
from lalapps.nest2pos import draw_posterior, draw_N_posterior
from lalinference.nest2pos import draw_posterior, draw_N_posterior
usage='''%prog [-N NPOS]-o output.dat -p pos1.dat -w weight1 [-p pos2.dat -w weight2 ...]
%prog takes a list of posterior files and weights and draws samples from the combined,
......
......@@ -5,9 +5,10 @@ import h5py
import os
import sys
import lalinference
from lalinference import LALInferenceHDF5PosteriorSamplesGroupName as posterior_grp_name
from lalinference import LALInferenceHDF5NestedSamplesGroupName as nested_grp_name
from lalapps.nest2pos import draw_posterior_many, draw_N_posterior_many, compute_weights
from lalinference.nest2pos import draw_posterior_many, draw_N_posterior_many, compute_weights
usage = '''%prog [-N Nlive] [-p posterior.hdf5] [-H header.txt] [--npos Npos] datafile1.hdf5 [datafile2.hdf5 ...]
......
# End-to-end LALInference test pipeline
# (C) 2014 John Veitch
from lalapps import lalinference_pipe_utils as pipe_utils
from lalapps.lalinference_pipe_utils import mkdirs
from lalinference import lalinference_pipe_utils as pipe_utils
from lalinference.lalinference_pipe_utils import mkdirs
from lalapps import inspiralutils
from glue import pipeline
import ConfigParser
......
......@@ -4,7 +4,7 @@
# (C) 2012 John Veitch
# 2013 Salvatore Vitale: extended to work with several ini files
from lalapps import lalinference_pipe_utils as pipe_utils
from lalinference import lalinference_pipe_utils as pipe_utils
import ConfigParser
from optparse import OptionParser,OptionValueError
import sys
......
# DAG generation code for running LALInference pipeline
# (C) 2012 John Veitch, Vivien Raymond
from lalapps import lalinference_pipe_utils as pipe_utils
from lalinference import lalinference_pipe_utils as pipe_utils
from lalapps import inspiralutils
import ConfigParser
from optparse import OptionParser,OptionValueError
......
# End-to-end LALInference test pipeline
# (C) 2014 John Veitch
from lalapps import lalinference_pipe_utils as pipe_utils
from lalapps.lalinference_pipe_utils import mkdirs
from lalinference import lalinference_pipe_utils as pipe_utils
from lalinference.lalinference_pipe_utils import mkdirs
from lalapps import inspiralutils
from glue import pipeline
import ConfigParser
......
......@@ -23,6 +23,8 @@ pymodule_PYTHON = \
fits.py \
marker.py \
plot.py \
lalinference_pipe_utils.py \
nest2pos.py \
git_version.py \
$(END_OF_LIST)
......
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