Skip to content

Commit

Permalink
refactor: types -> units
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Apr 22, 2024
1 parent d7a3756 commit 31d36d0
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/py21cmsense/antpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from astropy import units as un
from typing import Sequence

from . import types as tp
from . import units as tp
from . import yaml


Expand Down
2 changes: 1 addition & 1 deletion src/py21cmsense/baseline_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from astropy import units as un
from pathlib import Path

from . import types as tp
from . import units as tp

_ALL_BASELINE_FILTERS = {}

Expand Down
2 changes: 1 addition & 1 deletion src/py21cmsense/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from hickleable import hickleable

from . import _utils as ut
from . import types as tp
from . import units as tp


@hickleable(evaluate_cached_properties=True)
Expand Down
2 changes: 1 addition & 1 deletion src/py21cmsense/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from astropy.cosmology.units import littleh
from typing import Union

from . import types as tp
from . import units as tp

# The frequency of the 21cm line emission.
f21 = 1.42040575177 * un.GHz
Expand Down
2 changes: 1 addition & 1 deletion src/py21cmsense/observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from . import _utils as ut
from . import beam, config
from . import types as tp
from . import units as tp

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion src/py21cmsense/sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from . import config
from . import conversions as conv
from . import observation as obs
from . import types as tp
from . import units as tp
from .theory import _ALL_THEORY_POWER_SPECTRA, EOS2021, TheoryModel

logger = logging.getLogger(__name__)
Expand Down
File renamed without changes.

0 comments on commit 31d36d0

Please sign in to comment.