Skip to content

Commit

Permalink
Renamed so3healpix to so3data to add array later
Browse files Browse the repository at this point in the history
  • Loading branch information
javicarron committed Feb 20, 2024
1 parent 3aa9454 commit a710a10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pynkowski/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
try:
import healpy as hp
from .healpix import Healpix, HealpixP2
from .so3healpix import SO3Healpix
from .so3data import SO3Healpix
except ImportError:
hp = None
print("healpy was not loaded, some functionality will be unavailable")
Expand Down
5 changes: 3 additions & 2 deletions pynkowski/data/so3healpix.py → pynkowski/data/so3data.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import numpy as np
import healpy as hp
from .base_da import DataField
from .utils_da import get_theta, healpix_derivatives, healpix_second_derivatives, QUarray
from .utils_da import get_theta, healpix_derivatives, healpix_second_derivatives
from ..stats.minkowski import _MF_prefactor
try:
from tqdm.auto import tqdm
Expand All @@ -10,6 +10,7 @@
print('tqdm not loaded')



class SO3Healpix(DataField):
"""Class for spherical spin fields in the SO(3) formalism, with Q and U in HEALPix format.
Expand Down Expand Up @@ -404,6 +405,6 @@ def _K(first_der_t, second_der_t, psi):



__all__ = ["SO3Healpix"]
__all__ = ["SO3Healpix", "QUarray"]

__docformat__ = "numpy"

0 comments on commit a710a10

Please sign in to comment.