From 5dd5e3c2979394e0567564e3095212903a233bf9 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 19 Feb 2017 16:48:03 +0800 Subject: Update various script for 'acispy' --- scripts/calc_centroid.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/calc_centroid.py') 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, -- cgit v1.2.2