Skip to content

Commit 9fd61fa

Browse files
Apply wording suggestions from code review
Co-authored-by: Troy Raen <[email protected]>
1 parent 50b039e commit 9fd61fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tutorials/parquet-catalog-demos/irsa-hats-with-lsdb.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kernelspec:
1919

2020
By the end of this tutorial, you will learn how to:
2121

22-
- Use the `lsdb` library to access IRSA HATS collections from the cloud.
22+
- Use the `lsdb` library to access IRSA HATS Collections from the cloud.
2323
- Define spatial, column, and row filters to read only a portion of large HATS catalogs.
2424
- Crossmatch catalogs using `lsdb` and visualize the results.
2525
- Perform index searches on HATS catalogs using `lsdb`.
@@ -36,7 +36,7 @@ For more details on HATS collections, partitioning, and schema organization, see
3636
This notebook demonstrates how to access and analyze HATS collections using the [lsdb](https://docs.lsdb.io/en/latest/index.html) Python library, which makes it convenient to work with these large datasets.
3737
We will explore the following IRSA HATS collections in this tutorial:
3838

39-
- Euclid Q1: MER (multi-wavelength mosaics) final catalog, photometric redshift catalogs, and spectroscopic catalogs joined on MER Object ID.
39+
- Euclid Q1 Merged Objects: 14 Euclid Q1 tables, including MER (multi-wavelength mosaics) final catalog, photometric redshift catalogs, and spectroscopic catalogs joined on MER Object ID.
4040
- ZTF DR23 Objects Table: catalog of PSF-fit photometry detections extracted from ZTF reference images, including "collapsed-lightcurve" metrics.
4141
- ZTF DR23 Lightcurves: catalog of PSF-fit photometry detections extracted from single-exposure images at the locations of Objects Table detections.
4242

@@ -48,7 +48,7 @@ We will use lsdb to leverage HATS partitioning for performing fast spatial queri
4848

4949
```{code-cell} ipython3
5050
# Uncomment the next line to install dependencies if needed.
51-
# !pip install s3fs "lsdb>=0.6.4" pyarrow pandas numpy astropy dask matplotlib
51+
# !pip install s3fs "lsdb>=0.6.4" pyarrow pandas numpy astropy dask matplotlib "universal_pathlib<0.3"
5252
```
5353

5454
```{code-cell} ipython3
@@ -142,15 +142,15 @@ Few things to note here:
142142

143143
- This catalog is opened [lazily](https://docs.lsdb.io/en/latest/tutorials/lazy_operations.html), i.e., no data is read from the S3 bucket into memory yet.
144144
- Since we did not specify any columns to select from this very wide catalog, we get 7 default columns out of 1593 available columns!
145-
- We see the HEALPix order and pixels at which this catalog is partitioned.
145+
- We see some of the HEALPix orders and pixels at which this catalog is partitioned.
146146

147147
Let's plot the sky coverage of this catalog:
148148

149149
```{code-cell} ipython3
150150
euclid_catalog.plot_pixels()
151151
```
152152

153-
Since HATS uses adaptive tile-based partitioning, we see higher order HealPix tiles in regions with higher source density and lower order tiles in regions with lower source density.
153+
Since HATS uses adaptive tile-based partitioning, we see higher order HEALPix tiles in regions with higher source density and lower order tiles in regions with lower source density.
154154

155155
Now let's open the ZTF DR23 Objects catalog in a similar manner and view its sky coverage:
156156

@@ -177,7 +177,7 @@ euclid_DF_N_center
177177
```
178178

179179
```{code-cell} ipython3
180-
# euclid_DF_N_radius = 3 * u.deg # ceil(sqrt(22.9 / pi)) approximate radius to cover almost entire DF-N
180+
# euclid_DF_N_radius = 3 * u.deg # ceil(sqrt(22.9 / pi)) approximate radius to cover almost entire EDF-N
181181
euclid_DF_N_radius = 0.5 * u.deg # smaller radius to reduce execution time for this tutorial
182182
euclid_DF_N_radius
183183
```

0 commit comments

Comments
 (0)