diff --git a/sotodlib/core/context.py b/sotodlib/core/context.py index 8123fdac4..b685ae466 100644 --- a/sotodlib/core/context.py +++ b/sotodlib/core/context.py @@ -143,7 +143,7 @@ def get_obs(self, obs_id=None, dets=None, detsets=None, loader_type = self.get('obs_loader_type', 'default') # Load TOD. - from sotodlib.io.load import OBSLOADER_REGISTRY + from ..io.load import OBSLOADER_REGISTRY loader_func = OBSLOADER_REGISTRY[loader_type] # Register your loader? aman = loader_func(self.obsfiledb, obs_id, dets) diff --git a/sotodlib/g3_condition.py b/sotodlib/g3_condition.py index 01a765041..221808281 100644 --- a/sotodlib/g3_condition.py +++ b/sotodlib/g3_condition.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2019 Simons Observatory. +# Copyright (c) 2018-2020 Simons Observatory. # Full license can be found in the top level "LICENSE" file. """Data Conditioning @@ -12,7 +12,7 @@ import scipy.signal as signal from spt3g import core -from sotodlib.core.g3_core import DataG3Module +from .core.g3_core import DataG3Module class MeanSubtract(DataG3Module): def process(self, data, det_name): diff --git a/sotodlib/g3_filter.py b/sotodlib/g3_filter.py index 862963f5c..ef8382515 100644 --- a/sotodlib/g3_filter.py +++ b/sotodlib/g3_filter.py @@ -9,7 +9,7 @@ import scipy.signal as signal from spt3g import core -from sotodlib.core.g3_core import DataG3Module +from .core.g3_core import DataG3Module class Filter(DataG3Module): """ diff --git a/sotodlib/g3_sim.py b/sotodlib/g3_sim.py index 8d8ef984c..136b4cafb 100644 --- a/sotodlib/g3_sim.py +++ b/sotodlib/g3_sim.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2019 Simons Observatory. +# Copyright (c) 2018-2020 Simons Observatory. # Full license can be found in the top level "LICENSE" file. """Data simulation. @@ -9,7 +9,7 @@ import numpy as np from spt3g import core -from sotodlib.core.g3_core import DataG3Module +from .core.g3_core import DataG3Module class PipelineSeeder(list):