@@ -71,34 +71,22 @@ It can be used to substitute values for the following variables, which are used
7171
7272## 3. Imports
7373
74- Libraries are imported at the top of each section when used.
74+ The following libraries will be used:
75+
76+ - astropy: perform image cutouts
77+ - hpgeom: map sky location to catalog partition
78+ - matplotlib: view results
79+ - pandas: query Parquet datasets
80+ - pyarrow: work with Parquet datasets
81+ - pyvo: locate images in the cloud (pyvo>=1.5 required)
82+ - s3fs: browse buckets
83+
84+ Libraries are imported at the top of each section where used.
7585This cell will install them if needed:
7686
7787``` {code-cell} ipython3
78- try:
79- import astropy # perform image cutouts
80- import hpgeom # map sky location to catalog partition
81- import matplotlib # view results
82- import pandas # query Parquet datasets
83- import pyarrow # work with Parquet datasets
84- import pyvo # locate images in the cloud (pyvo>=1.5 required)
85- import s3fs # browse buckets
86- except ImportError:
87- %pip install astropy
88- %pip install hpgeom
89- %pip install pandas
90- %pip install pyarrow
91- %pip install pyvo>=1.5
92- %pip install s3fs
93- %pip install -U matplotlib
94-
95- # check for pyvo>=1.5 (required for SIA2Service)
96- try:
97- import pyvo
98- pyvo.dal.SIA2Service("https://irsa.ipac.caltech.edu/SIA")
99- except AttributeError:
100- %pip install --upgrade pyvo
101- # note that you may need to restart the kernel to use the updated package
88+ # Uncomment the next line to install dependencies if needed.
89+ # !pip install astropy hpgeom pandas pyarrow pyvo>=1.5 s3fs matplotlib
10290```
10391
10492## 4. Browse buckets
@@ -353,5 +341,5 @@ results_df.plot.hexbin("W2-W3", "W1-W2", norm=colors.LogNorm(vmin=1, vmax=500))
353341## About this notebook
354342
355343- Author: Troy Raen (IRSA Developer) in conjunction with Brigitta Sipőcz, Jessica Krick and the IPAC Science Platform team
356- - Updated: 2023-12-22
357344- Contact: https://irsa.ipac.caltech.edu/docs/help_desk.html
345+ - Updated: 2024-07-29
0 commit comments