Commit 50aaa51c authored by Kipp Cannon's avatar Kipp Cannon

pylal, lal: move rate.py from pylal to lal

- update all lalsuite codes that are affected
- leave a compatibility stub behind in pylal for the rest
- refs #5435
Original: 9f8dc81f3d3a48ffb763a1028bc9e609e7085b2b
parent 931e4256
*/python/lal/rate.py
*/src/factories/CreateArraySequence_source.c
*/src/factories/CreateArray_source.c
*/src/factories/CreateVectorSequence_source.c
......
......@@ -19,6 +19,7 @@ pymodule_PYTHON = \
__init__.py \
git_version.py \
gpstime.py \
rate.py \
series.py \
$(END_OF_LIST)
......
This diff is collapsed.
......@@ -7,7 +7,9 @@ include $(top_srcdir)/gnuscripts/lalsuite_test.am
test_programs +=
# Add shell, Python, etc. test scripts to this variable
test_scripts += utils_cache_verify.py
test_scripts += \
test_rate.py \
utils_cache_verify.py
# Add any helper programs required by tests to this variable
test_helpers +=
#!/usr/bin/env python
import doctest
from lal import rate
if __name__ == '__main__':
doctest.testmod(rate)
......@@ -19,7 +19,7 @@ from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
#!/usr/bin/python
import sys
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
import scipy
import numpy
......
......@@ -11,7 +11,7 @@ from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
......@@ -16,7 +16,7 @@ from glue.ligolw import dbtables
from glue.ligolw import utils
from pylal import db_thinca_rings
from pylal import llwapp
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
#!/usr/bin/python
import sys
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
import scipy
import numpy
......
......@@ -16,7 +16,7 @@ from glue.ligolw import dbtables
from glue.ligolw import utils
from pylal import db_thinca_rings
from pylal import llwapp
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
......@@ -11,7 +11,7 @@ from glue import segmentsUtils
from pylal import db_thinca_rings
from pylal import llwapp
from pylal import rate
from lal import rate
from pylal import SimInspiralUtils
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
......@@ -84,8 +84,8 @@ import sys
from glue import iterutils
from glue import segments
from glue.ligolw import dbtables
from lal import rate
from lalburst import git_version
from pylal import rate
from lalburst import SimBurstUtils
from lalburst import SnglBurstUtils
......
......@@ -35,11 +35,11 @@ import sys
from glue import segments
from glue.ligolw import dbtables
from glue.ligolw import utils
from lal import rate
from lal.utils import CacheEntry
from lalburst import git_version
from lalburst import SimBurstUtils
from lalburst import SnglBurstUtils
from pylal import rate
__author__ = "Kipp Cannon <kipp.cannon@ligo.org>"
......
......@@ -33,13 +33,13 @@ import os
import sqlite3
import sys
import lal
from glue import segments
from glue.ligolw import dbtables
from glue.ligolw import utils as ligolw_utils
import lal
from lal import rate
from lalburst import git_version
from pylal import rate
from lalburst import SnglBurstUtils
from lalburst import SimBurstUtils
......
......@@ -36,10 +36,10 @@ from glue.ligolw import ligolw
from glue.ligolw import lsctables
from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import search_summary as ligolw_search_summary
from lal import rate
from lal.utils import CacheEntry
from lalburst import git_version
from lalburst import SnglBurstUtils
from pylal import rate
lsctables.use_in(ligolw.LIGOLWContentHandler)
......
......@@ -41,8 +41,8 @@ from glue.ligolw import ligolw
from glue.ligolw import table
from glue.ligolw import lsctables
from glue.ligolw.utils import ligolw_add
from pylal import rate
import lal
from lal import rate
from lal.utils import CacheEntry
from lalburst import date
from lalburst import git_version
......
......@@ -38,7 +38,7 @@ from glue import segments
from glue.ligolw import lsctables
from glue.ligolw import dbtables
from glue.ligolw import utils
from pylal import rate
from lal import rate
from pylal import db_thinca_rings
from pylal import git_version
from pylal.xlal.datatypes.ligotimegps import LIGOTimeGPS
......
......@@ -49,16 +49,14 @@ import sys
import traceback
from lal.utils import CacheEntry
from glue import segments
from glue import segmentsUtils
from glue.ligolw import dbtables
from glue.ligolw.utils import process as ligolwprocess
from lal import rate
from lal.utils import CacheEntry
from lalburst import git_version
from lalburst import packing
from pylal import rate
from lalburst import SimBurstUtils
from lalburst import SnglBurstUtils
from lalburst import stringutils
......
......@@ -32,14 +32,12 @@ import sqlite3
import sys
from lal.utils import CacheEntry
from glue import segments
from glue.ligolw import dbtables
from glue.ligolw import utils as ligolw_utils
from lal import rate
from lal.utils import CacheEntry
from lalburst import git_version
from pylal import rate
from lalburst import SimBurstUtils
from lalburst import SnglBurstUtils
......
......@@ -33,10 +33,8 @@ import sqlite3
import sys
imporr lal
from pylal import rate
import lal
from lal import rate
from lal.utils import CacheEntry
from lalburst import git_version
from lalburst import ligolw_burca2
......
......@@ -29,10 +29,10 @@ import sys
import lal
from lal import rate
from . import git_version
from pylal import rate
from . import SnglBurstUtils
......
......@@ -31,6 +31,7 @@ import sys
import lal
from lal import rate
from glue.ligolw import ligolw
......@@ -41,7 +42,6 @@ from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue.ligolw.utils import search_summary as ligolw_search_summary
from . import git_version
from pylal import rate
from pylal import snglcoinc
......
......@@ -31,6 +31,7 @@ import sys
import lal
from lal import rate
from glue import segmentsUtils
......@@ -42,7 +43,6 @@ from glue.ligolw import utils as ligolw_utils
from glue.ligolw.utils import process as ligolw_process
from glue.offsetvector import offsetvector
from . import git_version
from pylal import rate
from pylal import snglcoinc
......
......@@ -33,7 +33,7 @@ import functools
import healpy
from lalinference.rapid_pe import statutils, synchlib
from pylal import rate
from lal import rate
class NanOrInf(Exception):
def __init__(self, value):
......
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