Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pixell fix #1

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Install base dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox psutil codecov
python -m pip install tox psutil codecov numpy
- name: Test with tox
run: |
tox -e ${{ matrix.toxenv }}
Expand Down
3 changes: 1 addition & 2 deletions pysm3/models/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
try:
import pixell.enmap
import pixell.curvedsky
import pixell.sharp
except ImportError:
pixell = None

Expand Down Expand Up @@ -263,7 +262,7 @@ def apply_smoothing_and_coord_transform(
dims=(3,),
variant="fejer1",
)
ainfo = pixell.sharp.alm_info(lmax=lmax)
ainfo = pixell.curvedsky.alm_info(lmax=lmax)
output_maps.append(
u.Quantity(
pixell.curvedsky.alm2map(
Expand Down
8 changes: 6 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ github_project = galsci/pysm
zip_safe = False
packages = find:
python_requires = >=3.7
setup_requires = setuptools_scm
setup_requires =
setuptools_scm
numpy
scripts =
bin/pysm_tag_filename
install_requires =
healpy >= 1.16.0
numba
toml
astropy
numpy
importlib_metadata;python_version<'3.8'

[options.extras_require]
Expand All @@ -31,7 +34,8 @@ test =
pytest
psutil
tox
pixell == 0.17.3
numpy
pixell >= 0.23.14
mpi =
mpi4py
docs =
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ envlist =
requires =
setuptools >= 30.3.0
pip >= 19.3.1
numpy
isolated_build = true
indexserver =
NIGHTLY = https://pypi.anaconda.org/scipy-wheels-nightly/simple
Expand Down Expand Up @@ -48,6 +49,7 @@ description =
# The following provides some specific pinnings for key packages
deps =

all: numpy
cov: coverage
numpy116: numpy==1.16.*
numpy117: numpy==1.17.*
Expand Down
Loading