Identification of the far 3 kpc arm in the Dame 2001 CO map¶
The data are here:
https://lweb.cfa.harvard.edu/rtdc/CO/download/COGAL_all_interp.fits.gz
The key result is in Dame & Thaddeus (2008).
In [1]:
%pip install -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt
%pip install --pre -U astroquery
Collecting spectral-cube (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 14)) Cloning https://github.com/radio-astro-tools/spectral-cube/ to /tmp/pip-install-uif3qivd/spectral-cube_1149857666194f28810b3004ed2042bf Running command git clone --filter=blob:none --quiet https://github.com/radio-astro-tools/spectral-cube/ /tmp/pip-install-uif3qivd/spectral-cube_1149857666194f28810b3004ed2042bf
Resolved https://github.com/radio-astro-tools/spectral-cube/ to commit 8ae6705d7e64739cbb08904efc660dbed98874ab
Installing build dependencies ... -
\
|
/
done
Getting requirements to build wheel ... -
done
Preparing metadata (pyproject.toml) ... -
done Collecting radio-beam (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 15)) Cloning https://github.com/radio-astro-tools/radio-beam/ to /tmp/pip-install-uif3qivd/radio-beam_238cb2ec461940c8aa574b6e4e481ef6 Running command git clone --filter=blob:none --quiet https://github.com/radio-astro-tools/radio-beam/ /tmp/pip-install-uif3qivd/radio-beam_238cb2ec461940c8aa574b6e4e481ef6
Resolved https://github.com/radio-astro-tools/radio-beam/ to commit 325cad35689eb71d9959a9e341281713c991fb1d
Installing build dependencies ... -
\
|
/
done
Getting requirements to build wheel ... -
done
Preparing metadata (pyproject.toml) ... -
done Collecting pvextractor (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 16)) Cloning https://github.com/radio-astro-tools/pvextractor/ to /tmp/pip-install-uif3qivd/pvextractor_d84937c091e24bacb61de658a3fc2d15 Running command git clone --filter=blob:none --quiet https://github.com/radio-astro-tools/pvextractor/ /tmp/pip-install-uif3qivd/pvextractor_d84937c091e24bacb61de658a3fc2d15
Resolved https://github.com/radio-astro-tools/pvextractor/ to commit d5803d85f262981c30c03282fa4b56e748a40331 Running command git submodule update --init --recursive -q
Installing build dependencies ... -
\
|
/
done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... -
done Requirement already satisfied: requests in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 2)) (2.32.3) Requirement already satisfied: beautifulsoup4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 3)) (4.12.3) Requirement already satisfied: notebook==6.5.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (6.5.2) Requirement already satisfied: numpy in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 7)) (1.26.4) Requirement already satisfied: scipy in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 8)) (1.13.1) Requirement already satisfied: matplotlib==3.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (3.7.0) Requirement already satisfied: astropy in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 10)) (6.1.0) Requirement already satisfied: regions in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 11)) (0.9) Requirement already satisfied: aplpy in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (2.1.0) Requirement already satisfied: astroquery in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (0.4.8.dev9321) Requirement already satisfied: dask-image in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2024.5.3) Requirement already satisfied: casatools in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 19)) (6.6.4.34) Requirement already satisfied: casatasks in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 20)) (6.6.4.34) Requirement already satisfied: dask[complete] in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from -r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (2024.5.2)
Requirement already satisfied: jinja2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (3.1.4) Requirement already satisfied: tornado>=6.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (6.4) Requirement already satisfied: pyzmq>=17 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (26.0.3) Requirement already satisfied: argon2-cffi in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (23.1.0) Requirement already satisfied: traitlets>=4.2.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (5.14.3) Requirement already satisfied: jupyter-core>=4.6.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (5.7.2) Requirement already satisfied: jupyter-client>=5.3.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (8.6.2) Requirement already satisfied: ipython-genutils in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.2.0) Requirement already satisfied: nbformat in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (5.10.4) Requirement already satisfied: nbconvert>=5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (7.16.4) Requirement already satisfied: nest-asyncio>=1.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.6.0) Requirement already satisfied: ipykernel in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (6.29.4) Requirement already satisfied: Send2Trash>=1.8.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.8.3) Requirement already satisfied: terminado>=0.8.3 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.18.1) Requirement already satisfied: prometheus-client in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.20.0) Requirement already satisfied: nbclassic>=0.4.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.1.0) Requirement already satisfied: contourpy>=1.0.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (1.2.1) Requirement already satisfied: cycler>=0.10 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (4.53.0) Requirement already satisfied: kiwisolver>=1.0.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (1.4.5) Requirement already satisfied: packaging>=20.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (24.0) Requirement already satisfied: pillow>=6.2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (10.3.0) Requirement already satisfied: pyparsing>=2.3.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (3.1.2) Requirement already satisfied: python-dateutil>=2.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from matplotlib==3.7->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 9)) (2.9.0.post0) Requirement already satisfied: charset-normalizer<4,>=2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 2)) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 2)) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 2)) (2.2.1) Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 2)) (2024.6.2) Requirement already satisfied: soupsieve>1.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from beautifulsoup4->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 3)) (2.5)
Requirement already satisfied: pyerfa>=2.0.1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 10)) (2.0.1.4) Requirement already satisfied: astropy-iers-data>=0.2024.4.29.0.28.48 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 10)) (0.2024.6.3.0.31.14) Requirement already satisfied: PyYAML>=3.13 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 10)) (6.0.1)
Requirement already satisfied: reproject>=0.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.13.1) Requirement already satisfied: pyregion>=2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (2.2.0) Requirement already satisfied: pyavm>=0.9.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.9.6) Requirement already satisfied: scikit-image>=0.14 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.23.2) Requirement already satisfied: shapely>=1.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (2.0.4) Requirement already satisfied: html5lib>=0.999 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (1.1) Requirement already satisfied: keyring>=15.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (25.2.1) Requirement already satisfied: pyvo>=1.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (1.5.2)
Requirement already satisfied: six in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from spectral-cube->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 14)) (1.16.0) Requirement already satisfied: joblib in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from spectral-cube->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 14)) (1.4.2) Requirement already satisfied: casa-formats-io in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from spectral-cube->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 14)) (0.3.0) Requirement already satisfied: qtpy>=2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from pvextractor->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 16)) (2.4.1)
Requirement already satisfied: click>=8.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (8.1.7) Requirement already satisfied: cloudpickle>=1.5.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (3.0.0) Requirement already satisfied: fsspec>=2021.09.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (2024.6.0) Requirement already satisfied: partd>=1.2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (1.4.2) Requirement already satisfied: toolz>=0.10.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (0.12.1) Requirement already satisfied: importlib-metadata>=4.13.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (7.1.0) Requirement already satisfied: pyarrow>=7.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (16.1.0) Requirement already satisfied: pyarrow-hotfix in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (0.6) Requirement already satisfied: lz4>=4.3.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (4.3.3) Requirement already satisfied: pandas>=2.0.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2.2.2) Requirement already satisfied: pims>=0.4.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (0.6.1) Requirement already satisfied: tifffile>=2018.10.18 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2024.5.22) Requirement already satisfied: casaconfig in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from casatools->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 19)) (1.0.0)
Requirement already satisfied: dask-expr<1.2,>=1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (1.1.2)
Requirement already satisfied: webencodings in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from html5lib>=0.999->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (0.5.1) Requirement already satisfied: zipp>=0.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from importlib-metadata>=4.13.0->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (3.19.1)
Requirement already satisfied: platformdirs>=2.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-core>=4.6.1->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (4.2.2) Requirement already satisfied: jaraco.classes in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (3.4.0) Requirement already satisfied: jaraco.functools in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (4.0.1) Requirement already satisfied: jaraco.context in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (5.3.0) Requirement already satisfied: SecretStorage>=3.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (3.3.3) Requirement already satisfied: jeepney>=0.4.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (0.8.0)
Requirement already satisfied: notebook-shim>=0.2.3 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.2.4)
Requirement already satisfied: bleach!=5.0.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (6.1.0) Requirement already satisfied: defusedxml in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.7.1) Requirement already satisfied: jupyterlab-pygments in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.3.0) Requirement already satisfied: markupsafe>=2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.1.5) Requirement already satisfied: mistune<4,>=2.0.3 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (3.0.2) Requirement already satisfied: nbclient>=0.5.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.10.0) Requirement already satisfied: pandocfilters>=1.4.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.5.1) Requirement already satisfied: pygments>=2.4.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.18.0) Requirement already satisfied: tinycss2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbconvert>=5->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.3.0) Requirement already satisfied: fastjsonschema>=2.15 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.19.1) Requirement already satisfied: jsonschema>=2.6 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (4.22.0)
Requirement already satisfied: pytz>=2020.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from pandas>=2.0.0->dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2024.1) Requirement already satisfied: tzdata>=2022.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from pandas>=2.0.0->dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2024.1) Requirement already satisfied: locket in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from partd>=1.2.0->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (1.0.0)
Requirement already satisfied: imageio in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from pims>=0.4.1->dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (2.34.1) Requirement already satisfied: slicerator>=0.9.8 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from pims>=0.4.1->dask-image->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 18)) (1.1.0)
Requirement already satisfied: astropy-healpix>=0.6 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from reproject>=0.4->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (1.0.3) Requirement already satisfied: zarr in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from reproject>=0.4->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (2.18.2)
Requirement already satisfied: networkx>=2.8 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from scikit-image>=0.14->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (3.3) Requirement already satisfied: lazy-loader>=0.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from scikit-image>=0.14->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.4)
Requirement already satisfied: ptyprocess in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from terminado>=0.8.3->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.7.0)
Requirement already satisfied: argon2-cffi-bindings in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from argon2-cffi->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (21.2.0)
Requirement already satisfied: distributed==2024.5.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (2024.5.2) Requirement already satisfied: bokeh>=2.4.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (3.4.1)
Requirement already satisfied: msgpack>=1.0.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from distributed==2024.5.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (1.0.8) Requirement already satisfied: psutil>=5.7.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from distributed==2024.5.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (5.9.8) Requirement already satisfied: sortedcontainers>=2.0.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from distributed==2024.5.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (2.4.0) Requirement already satisfied: tblib>=1.6.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from distributed==2024.5.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (3.0.0) Requirement already satisfied: zict>=3.0.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from distributed==2024.5.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (3.0.0) Requirement already satisfied: comm>=0.1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.2.2) Requirement already satisfied: debugpy>=1.6.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.8.1) Requirement already satisfied: ipython>=7.23.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (8.25.0) Requirement already satisfied: matplotlib-inline>=0.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.1.7)
Requirement already satisfied: xyzservices>=2021.09.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from bokeh>=2.4.2->dask[complete]->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 17)) (2024.4.0)
Requirement already satisfied: decorator in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (5.1.1) Requirement already satisfied: jedi>=0.16 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.19.1) Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (3.0.46) Requirement already satisfied: stack-data in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.6.3) Requirement already satisfied: exceptiongroup in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.2.1) Requirement already satisfied: typing-extensions>=4.6 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (4.12.1) Requirement already satisfied: pexpect>4.3 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (4.9.0)
Requirement already satisfied: attrs>=22.2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema>=2.6->nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (23.2.0) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema>=2.6->nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2023.12.1) Requirement already satisfied: referencing>=0.28.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema>=2.6->nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.35.1) Requirement already satisfied: rpds-py>=0.7.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema>=2.6->nbformat->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.18.1)
Requirement already satisfied: jupyter-server<3,>=1.8 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.14.1)
Requirement already satisfied: cryptography>=2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from SecretStorage>=3.2->keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (42.0.7)
Requirement already satisfied: cffi>=1.0.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.16.0)
Requirement already satisfied: more-itertools in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jaraco.classes->keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (10.2.0) Requirement already satisfied: backports.tarfile in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jaraco.context->keyring>=15.0->astroquery->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 13)) (1.2.0)
Requirement already satisfied: asciitree in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from zarr->reproject>=0.4->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.3.3) Requirement already satisfied: numcodecs>=0.10.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from zarr->reproject>=0.4->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.12.1) Requirement already satisfied: fasteners in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from zarr->reproject>=0.4->aplpy->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 12)) (0.19)
Requirement already satisfied: pycparser in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.22)
Requirement already satisfied: parso<0.9.0,>=0.8.3 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jedi>=0.16->ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.8.4)
Requirement already satisfied: anyio>=3.1.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (4.4.0) Requirement already satisfied: jupyter-events>=0.9.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.10.0) Requirement already satisfied: jupyter-server-terminals>=0.4.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.5.3) Requirement already satisfied: overrides>=5.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (7.7.0)
Requirement already satisfied: websocket-client>=1.7 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.8.0)
Requirement already satisfied: wcwidth in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.2.13)
Requirement already satisfied: executing>=1.2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from stack-data->ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.0.1) Requirement already satisfied: asttokens>=2.1.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from stack-data->ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.4.1) Requirement already satisfied: pure-eval in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from stack-data->ipython>=7.23.1->ipykernel->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.2.2)
Requirement already satisfied: sniffio>=1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from anyio>=3.1.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.3.1)
Requirement already satisfied: python-json-logger>=2.0.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.0.7) Requirement already satisfied: rfc3339-validator in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.1.4) Requirement already satisfied: rfc3986-validator>=0.1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (0.1.1)
Requirement already satisfied: fqdn in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.5.1) Requirement already satisfied: isoduration in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (20.11.0) Requirement already satisfied: jsonpointer>1.13 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.4) Requirement already satisfied: uri-template in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.3.0) Requirement already satisfied: webcolors>=1.11 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.13)
Requirement already satisfied: arrow>=0.15.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (1.3.0)
Requirement already satisfied: types-python-dateutil>=2.8.10 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=1.8->notebook-shim>=0.2.3->nbclassic>=0.4.7->notebook==6.5.2->-r https://github.com/radio-astro-tools/tutorials/raw/master/requirements.txt (line 5)) (2.9.0.20240316)
Note: you may need to restart the kernel to use updated packages.
Requirement already satisfied: astroquery in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (0.4.8.dev9321)
Requirement already satisfied: numpy>=1.20 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (1.26.4) Requirement already satisfied: astropy>=5.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (6.1.0) Requirement already satisfied: requests>=2.19 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (2.32.3) Requirement already satisfied: beautifulsoup4>=4.8 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (4.12.3) Requirement already satisfied: html5lib>=0.999 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (1.1)
Requirement already satisfied: keyring>=15.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (25.2.1) Requirement already satisfied: pyvo>=1.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astroquery) (1.5.2) Requirement already satisfied: pyerfa>=2.0.1.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy>=5.0->astroquery) (2.0.1.4) Requirement already satisfied: astropy-iers-data>=0.2024.4.29.0.28.48 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy>=5.0->astroquery) (0.2024.6.3.0.31.14) Requirement already satisfied: PyYAML>=3.13 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy>=5.0->astroquery) (6.0.1) Requirement already satisfied: packaging>=19.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from astropy>=5.0->astroquery) (24.0) Requirement already satisfied: soupsieve>1.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from beautifulsoup4>=4.8->astroquery) (2.5)
Requirement already satisfied: six>=1.9 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from html5lib>=0.999->astroquery) (1.16.0) Requirement already satisfied: webencodings in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from html5lib>=0.999->astroquery) (0.5.1) Requirement already satisfied: jaraco.classes in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (3.4.0) Requirement already satisfied: jaraco.functools in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (4.0.1) Requirement already satisfied: jaraco.context in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (5.3.0) Requirement already satisfied: importlib-metadata>=4.11.4 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (7.1.0) Requirement already satisfied: SecretStorage>=3.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (3.3.3) Requirement already satisfied: jeepney>=0.4.2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from keyring>=15.0->astroquery) (0.8.0) Requirement already satisfied: charset-normalizer<4,>=2 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests>=2.19->astroquery) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests>=2.19->astroquery) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests>=2.19->astroquery) (2.2.1) Requirement already satisfied: certifi>=2017.4.17 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from requests>=2.19->astroquery) (2024.6.2)
Requirement already satisfied: zipp>=0.5 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from importlib-metadata>=4.11.4->keyring>=15.0->astroquery) (3.19.1) Requirement already satisfied: cryptography>=2.0 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from SecretStorage>=3.2->keyring>=15.0->astroquery) (42.0.7) Requirement already satisfied: more-itertools in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jaraco.classes->keyring>=15.0->astroquery) (10.2.0)
Requirement already satisfied: backports.tarfile in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from jaraco.context->keyring>=15.0->astroquery) (1.2.0) Requirement already satisfied: cffi>=1.12 in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from cryptography>=2.0->SecretStorage>=3.2->keyring>=15.0->astroquery) (1.16.0)
Requirement already satisfied: pycparser in /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=15.0->astroquery) (2.22)
Note: you may need to restart the kernel to use updated packages.
In [2]:
import pylab as pl
pl.rcParams['figure.facecolor'] = 'w'
pl.rcParams['image.origin'] = 'lower'
pl.rcParams['image.interpolation'] = 'none'
pl.rcParams['font.size'] = 16
In [3]:
from dask.diagnostics import ProgressBar
import dask
dask.config.set(scheduler='threads')
pbar = ProgressBar()
pbar.register()
In [4]:
import numpy as np
from spectral_cube import SpectralCube
import radio_beam
from astropy import units as u
from astropy import convolution
from astropy.coordinates import SkyCoord
We load up the data and append the 1/8 degree beam (there's no beam in the original data header):
In [5]:
from astropy.utils.data import download_file
datafile = download_file(
'https://lweb.cfa.harvard.edu/rtdc/CO/download/COGAL_all_interp.fits.gz',
cache=True, show_progress=True)
from spectral_cube import SpectralCube
cube = SpectralCube.read(datafile, use_dask=True)
cube = cube.with_beam(radio_beam.Beam(1/8*u.deg))
# cube = cube.with_spectral_unit(u.km / u.s)
In [6]:
cube
Out[6]:
DaskSpectralCube with shape=(493, 481, 2881) and unit=K and chunk size (322, 322, 322): n_x: 2881 type_x: GLON-CAR unit_x: deg range: nan deg: nan deg n_y: 481 type_y: GLAT-CAR unit_y: deg range: nan deg: nan deg n_s: 493 type_s: VOPT unit_s: m / s range: -319.800 m / s: 319.800 m / s
We then create a mask based on the best-fit linear arm model from their Figure 1:
(note that the header incorrectly specifies the velocity unit in m/s instead of km/s)
In [7]:
lmin,lmax = -12, 12.5
def v_of_l(ell):
return (56 + 4.0 * ell)*u.m/u.s
far3kpcarm_mask = [(cube.spectral_axis > v_of_l(l)-13*u.m/u.s) &
(cube.spectral_axis < v_of_l(l)+13*u.m/u.s)
for l in np.arange(lmax, lmin-0.01, -1/8.)]
far3kpcarm_mask = np.array(far3kpcarm_mask)
Find the corners to cut out of the image to match Fig 3:
In [8]:
xmin,ymin = cube.wcs.celestial.world_to_pixel(SkyCoord(lmin*u.deg,-2.5*u.deg,frame='galactic'))
xmax,ymax = cube.wcs.celestial.world_to_pixel(SkyCoord(lmax*u.deg,2.5*u.deg,frame='galactic'))
Calculate the moment map:
In [9]:
far3kpcarm = cube[:,int(ymin):int(ymax)+1,int(xmax):int(xmin)].with_mask(far3kpcarm_mask.T[:,None,:])
f3m0 = far3kpcarm.moment0()
[ ] | 0% Completed | 206.11 us
[########################################] | 100% Completed | 109.39 ms
In [10]:
pl.figure(figsize=(15,10))
ax = pl.subplot(projection=far3kpcarm.wcs.celestial)
pl.imshow(f3m0.value, vmax=5, vmin=0, origin='lower', cmap='gray_r', interpolation='none',)
cm = pl.cm.inferno.copy()
cm.set_bad((0,0,0,0))
pl.imshow(np.where(f3m0.value > 5, f3m0.value, np.nan), vmax=25, vmin=5, origin='lower', interpolation='none',
cmap=cm)
ax.coords[0].set_axislabel('Galactic Longitude')
ax.coords[1].set_axislabel('Galactic Latitude')
Compare to theirs: