diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/calc_centroid.py | 9 | ||||
-rwxr-xr-x | scripts/clean_evt2.py | 9 | ||||
-rwxr-xr-x | scripts/collect_yaml.py | 3 | ||||
-rwxr-xr-x | scripts/event2image.py | 7 | ||||
-rwxr-xr-x | scripts/renorm_spectrum.py | 3 |
5 files changed, 18 insertions, 13 deletions
diff --git a/scripts/calc_centroid.py b/scripts/calc_centroid.py index d5342a5..36fd766 100755 --- a/scripts/calc_centroid.py +++ b/scripts/calc_centroid.py @@ -16,10 +16,11 @@ import argparse import subprocess import tempfile -from manifest import get_manifest -from setup_pfiles import setup_pfiles -from ds9 import ds9_view -from regions import Regions +from context import acispy +from acispy.manifest import get_manifest +from acispy.pfiles import setup_pfiles +from acispy.ds9 import ds9_view +from acispy.regions import Regions def smooth_image(infile, outfile=None, diff --git a/scripts/clean_evt2.py b/scripts/clean_evt2.py index 54647cf..f6914b1 100755 --- a/scripts/clean_evt2.py +++ b/scripts/clean_evt2.py @@ -22,10 +22,11 @@ import subprocess import shutil import logging -from manifest import get_manifest -from setup_pfiles import setup_pfiles -from acis import ACIS -from ds9 import ds9_view +from context import acispy +from acispy.manifest import get_manifest +from acispy.pfiles import setup_pfiles +from acispy.acis import ACIS +from acispy.ds9 import ds9_view logging.basicConfig(level=logging.INFO) diff --git a/scripts/collect_yaml.py b/scripts/collect_yaml.py index 05d4684..6758555 100755 --- a/scripts/collect_yaml.py +++ b/scripts/collect_yaml.py @@ -15,7 +15,8 @@ import sys import argparse import csv -from manifest import Manifest +from context import acispy +from acispy.manifest import Manifest def main(): diff --git a/scripts/event2image.py b/scripts/event2image.py index ba5e216..3dc429f 100755 --- a/scripts/event2image.py +++ b/scripts/event2image.py @@ -13,9 +13,10 @@ import sys import argparse import subprocess -from manifest import get_manifest -from setup_pfiles import setup_pfiles -from acis import ACIS +from context import acispy +from acispy.manifest import get_manifest +from acispy.pfiles import setup_pfiles +from acispy.acis import ACIS def make_image(infile, outfile, chips, erange, fov, clobber=False): diff --git a/scripts/renorm_spectrum.py b/scripts/renorm_spectrum.py index a09c90d..2b54076 100755 --- a/scripts/renorm_spectrum.py +++ b/scripts/renorm_spectrum.py @@ -15,7 +15,8 @@ import sys import argparse import subprocess -from spectrum import Spectrum +from context import acispy +from acispy.spectrum import Spectrum def renorm_spectrum(specfile, specfile_ref, elow=9500, ehigh=12000): |