You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/parquet-catalog-demos/irsa-hats-with-lsdb.md
+20-48Lines changed: 20 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,60 +424,32 @@ with Client(n_workers=get_nworkers(euclid_x_ztf),
424
424
euclid_x_ztf_df
425
425
```
426
426
427
-
### 5.3 [Optional] Filter the crossmatched catalog
428
-
429
-
Let's purify the crossmatched catalog by analyzing the distance between matched sources and removing the matches that don't meet a quality cut on percentile.
430
-
We also keep the matches that are outside this cutoff but are still within the same 19th order HEALPix tile.
431
-
432
-
```{code-cell} ipython3
433
-
euclid_x_ztf_df['_dist_arcsec'].describe()
434
-
```
435
-
436
-
```{code-cell} ipython3
437
-
euclid_x_ztf_filtered_df = euclid_x_ztf_df[
438
-
(euclid_x_ztf_df['_dist_arcsec'] < euclid_x_ztf_df['_dist_arcsec'].quantile(0.75)) # keep matches within 75th percentile
439
-
| (euclid_x_ztf_df['_healpix_19_euclid'] == euclid_x_ztf_df['_healpix_19_ztf']) # also include exact 19th order healpix matches
This means there is one unique Euclid source for each row in the crossmatched catalog as expected (since we put Euclid on the left side of the crossmatch).
471
-
But for ZTF, this is also true, i.e., no ZTF object has multiple Euclid matches within our constraints.
472
-
473
-
Check if there is any ZTF object that has observations in multiple filters:
438
+
But for ZTF, this is not true as some ZTF objects have multiple Euclid matches since ZTF has lower resolution than Euclid.
0 commit comments