Compare WebSky Radio Galaxies maps from PySM to Planck
healpy
pysm
Published
December 5, 2022
I need to check that the amplitude of the maps of Radio Galaxies produced by WebSky are reasonable if compared to experimental results. The main worry is that being point sources, when we apply a beam using Spherical Harmonics transform we get spurious results due to the input maps not being band-limited.
pip install pysm3 --pre
Requirement already satisfied: pysm3 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (3.4.0b4.dev138+g864a61e.d20221114)
Requirement already satisfied: toml in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from pysm3) (0.10.2)
Requirement already satisfied: astropy in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from pysm3) (5.1.1)
Requirement already satisfied: numba in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from pysm3) (0.56.3)
Requirement already satisfied: healpy in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from pysm3) (1.16.1)
Requirement already satisfied: numpy>=1.18 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from astropy->pysm3) (1.23.4)
Requirement already satisfied: packaging>=19.0 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from astropy->pysm3) (21.3)
Requirement already satisfied: pyerfa>=2.0 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from astropy->pysm3) (2.0.0.1)
Requirement already satisfied: PyYAML>=3.13 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from astropy->pysm3) (6.0)
Requirement already satisfied: scipy in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from healpy->pysm3) (1.9.3)
Requirement already satisfied: matplotlib in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from healpy->pysm3) (3.6.2)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from numba->pysm3) (0.39.1)
Requirement already satisfied: setuptools in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from numba->pysm3) (65.5.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from packaging>=19.0->astropy->pysm3) (3.0.9)
Requirement already satisfied: contourpy>=1.0.1 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (1.0.6)
Requirement already satisfied: kiwisolver>=1.0.1 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (1.4.4)
Requirement already satisfied: python-dateutil>=2.7 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (2.8.2)
Requirement already satisfied: pillow>=6.2.0 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (9.2.0)
Requirement already satisfied: cycler>=0.10 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from matplotlib->healpy->pysm3) (4.38.0)
Requirement already satisfied: six>=1.5 in /global/common/software/cmb/zonca/conda/pycmb/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib->healpy->pysm3) (1.16.0)
Note: you may need to restart the kernel to use updated packages.
import healpy as hpimport pysm3from pysm3 import units as u%matplotlib inline