Skip to content

Commit

Permalink
[minor] Probability map convolution (#37)
Browse files Browse the repository at this point in the history
Implemented switch to probability maps and convolution with 0.2 deg
gaussian for SplineMPE recos.
To produce an old llh map there is the option to specify `llh_map=True`.
The convolution is optional and is implemented with a built-in function
of healpy. In the comments there is already the logic for multiorder
maps.

---------

Co-authored-by: wipacdevbot <developers@icecube.wisc.edu>
Co-authored-by: Ric Evans <19216225+ric-evans@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 14, 2024
1 parent fdfaed3 commit 2ad316b
Show file tree
Hide file tree
Showing 11 changed files with 801 additions and 366 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/wipac-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: WIPACrepo/wipac-dev-flake8-action@v1.0
- uses: WIPACrepo/wipac-dev-flake8-action@v1.1
with:
max-function-length: 400

mypy:
needs: [py-versions]
Expand Down
10 changes: 5 additions & 5 deletions dependencies-examples.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ astropy==6.1.4
# via
# healpy
# icecube-skyreader (setup.py)
astropy-iers-data==0.2024.9.30.0.32.59
astropy-iers-data==0.2024.10.7.0.32.46
# via astropy
cachetools==5.5.0
# via wipac-rest-tools
certifi==2024.8.30
# via requests
cffi==1.17.1
# via cryptography
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
contourpy==1.3.0
# via matplotlib
Expand All @@ -36,7 +36,7 @@ matplotlib==3.9.2
# via icecube-skyreader (setup.py)
meander==0.0.3
# via icecube-skyreader (setup.py)
numpy==2.1.1
numpy==2.1.2
# via
# astropy
# contourpy
Expand Down Expand Up @@ -93,9 +93,9 @@ urllib3==2.2.3
# via
# requests
# wipac-rest-tools
wipac-dev-tools==1.12.1
wipac-dev-tools==1.13.0
# via
# icecube-skyreader (setup.py)
# wipac-rest-tools
wipac-rest-tools==1.7.9
wipac-rest-tools==1.8.0
# via icecube-skyreader (setup.py)
10 changes: 5 additions & 5 deletions dependencies-mypy.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ astropy==6.1.4
# via
# healpy
# icecube-skyreader (setup.py)
astropy-iers-data==0.2024.9.30.0.32.59
astropy-iers-data==0.2024.10.7.0.32.46
# via astropy
cachetools==5.5.0
# via wipac-rest-tools
certifi==2024.8.30
# via requests
cffi==1.17.1
# via cryptography
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
contourpy==1.3.0
# via matplotlib
Expand All @@ -38,7 +38,7 @@ matplotlib==3.9.2
# via icecube-skyreader (setup.py)
meander==0.0.3
# via icecube-skyreader (setup.py)
numpy==2.1.1
numpy==2.1.2
# via
# astropy
# contourpy
Expand Down Expand Up @@ -104,9 +104,9 @@ urllib3==2.2.3
# via
# requests
# wipac-rest-tools
wipac-dev-tools==1.12.1
wipac-dev-tools==1.13.0
# via
# icecube-skyreader (setup.py)
# wipac-rest-tools
wipac-rest-tools==1.7.9
wipac-rest-tools==1.8.0
# via icecube-skyreader (setup.py)
8 changes: 4 additions & 4 deletions dependencies-tests.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ astropy==6.1.4
# via
# healpy
# icecube-skyreader (setup.py)
astropy-iers-data==0.2024.9.30.0.32.59
astropy-iers-data==0.2024.10.7.0.32.46
# via astropy
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
contourpy==1.3.0
# via matplotlib
Expand All @@ -32,7 +32,7 @@ matplotlib==3.9.2
# via icecube-skyreader (setup.py)
meander==0.0.3
# via icecube-skyreader (setup.py)
numpy==2.1.1
numpy==2.1.2
# via
# astropy
# contourpy
Expand Down Expand Up @@ -83,5 +83,5 @@ tzdata==2024.2
# via pandas
urllib3==2.2.3
# via requests
wipac-dev-tools==1.12.1
wipac-dev-tools==1.13.0
# via icecube-skyreader (setup.py)
8 changes: 4 additions & 4 deletions dependencies.log
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ astropy==6.1.4
# via
# healpy
# icecube-skyreader (setup.py)
astropy-iers-data==0.2024.9.30.0.32.59
astropy-iers-data==0.2024.10.7.0.32.46
# via astropy
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
contourpy==1.3.0
# via matplotlib
Expand All @@ -30,7 +30,7 @@ matplotlib==3.9.2
# via icecube-skyreader (setup.py)
meander==0.0.3
# via icecube-skyreader (setup.py)
numpy==2.1.1
numpy==2.1.2
# via
# astropy
# contourpy
Expand Down Expand Up @@ -72,5 +72,5 @@ tzdata==2024.2
# via pandas
urllib3==2.2.3
# via requests
wipac-dev-tools==1.12.1
wipac-dev-tools==1.13.0
# via icecube-skyreader (setup.py)
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[wipac:cicd_setup_builder]
pypi_name = icecube-skyreader
python_min = 3.9
python_max = 3.12
author = WIPAC Developers
author_email = developers@icecube.wisc.edu
keywords_spaced = "skymap scanner" skymap HEALPix neutrino reconstruction
Expand Down
Loading

0 comments on commit 2ad316b

Please sign in to comment.