Skip to content

Commit

Permalink
more relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
keskitalo committed May 6, 2020
1 parent c0b4917 commit ded944d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sotodlib/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions sotodlib/g3_condition.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion sotodlib/g3_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
4 changes: 2 additions & 2 deletions sotodlib/g3_sim.py
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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):
Expand Down

0 comments on commit ded944d

Please sign in to comment.