From 5926456860ab8a1920c9faf0f4b9780d4282b56d Mon Sep 17 00:00:00 2001 From: Theodore Kisner Date: Thu, 16 Apr 2020 15:15:16 -0700 Subject: [PATCH] Fix imports in pipelines --- pipelines/toast_bin_so3g.py | 2 +- pipelines/toast_so_example.py | 4 ++-- pipelines/toast_so_sim.py | 4 +--- pipelines/toast_so_tf.py | 4 +--- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/pipelines/toast_bin_so3g.py b/pipelines/toast_bin_so3g.py index 280f862cf..dd7c14952 100644 --- a/pipelines/toast_bin_so3g.py +++ b/pipelines/toast_bin_so3g.py @@ -16,7 +16,7 @@ import toast.tod import toast.pipeline_tools as toast_tools -from sotodlib.data.toast_load import load_data +from sotodlib.io.toast_load import load_data def main(): diff --git a/pipelines/toast_so_example.py b/pipelines/toast_so_example.py index 0bad4d0e6..7eb860690 100755 --- a/pipelines/toast_so_example.py +++ b/pipelines/toast_so_example.py @@ -13,8 +13,8 @@ import toast.map as tm import toast.tod as tt -from sotodlib.hardware import get_example, sim_telescope_detectors -from sotodlib.data.toast_load import load_data +from sotodlib.sim_hardware import get_example, sim_telescope_detectors +from sotodlib.io.toast_load import load_data def binned_map(data, npix, subnpix, out="."): diff --git a/pipelines/toast_so_sim.py b/pipelines/toast_so_sim.py index db9370d3c..ba2f41c80 100755 --- a/pipelines/toast_so_sim.py +++ b/pipelines/toast_so_sim.py @@ -40,12 +40,10 @@ import toast.pipeline_tools as toast_tools -import sotodlib.pipeline_tools as so_tools +import sotodlib.utils.pipeline_tools as so_tools import numpy as np -import sotodlib.hardware - import warnings warnings.filterwarnings("ignore") diff --git a/pipelines/toast_so_tf.py b/pipelines/toast_so_tf.py index a3bfa9665..f34f59bb1 100644 --- a/pipelines/toast_so_tf.py +++ b/pipelines/toast_so_tf.py @@ -31,12 +31,10 @@ import toast.pipeline_tools as toast_tools -import sotodlib.pipeline_tools as so_tools +import sotodlib.utils.pipeline_tools as so_tools import numpy as np -import sotodlib.hardware - import warnings warnings.filterwarnings("ignore")