Add/Update README and hero figure
#2
by mperillo - opened
- README.md +127 -3
- example_figure.png +3 -0
README.md
CHANGED
|
@@ -1,3 +1,127 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_dir: mmu_plasticc/dataset
|
| 5 |
+
tags:
|
| 6 |
+
- astronomy
|
| 7 |
+
license: cc-by-4.0
|
| 8 |
+
pretty_name: mmu_plasticc
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1M<n<10M
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
<div align="center">
|
| 14 |
+
<img src="example_figure.png" width="600">
|
| 15 |
+
</div>
|
| 16 |
+
|
| 17 |
+
# mmu_plasticc HATS Catalog Collection
|
| 18 |
+
|
| 19 |
+
This is the collection of HATS catalogs representing mmu_plasticc.
|
| 20 |
+
|
| 21 |
+
This dataset is part of the [Multimodal Universe](https://github.com/MultimodalUniverse/MultimodalUniverse),
|
| 22 |
+
a large-scale collection of multimodal astronomical data. For full details, see the paper:
|
| 23 |
+
[The Multimodal Universe: Enabling Large-Scale Machine Learning with 100TBs of Astronomical Scientific Data](https://arxiv.org/abs/2412.02527).
|
| 24 |
+
|
| 25 |
+
### Access the catalog
|
| 26 |
+
|
| 27 |
+
We recommend the use of the [LSDB](https://lsdb.io) Python framework to access HATS catalogs.
|
| 28 |
+
LSDB can be installed via `pip install lsdb` or `conda install conda-forge::lsdb`,
|
| 29 |
+
see more details [in the docs](https://docs.lsdb.io/).
|
| 30 |
+
The following code provides a minimal example of opening this catalog:
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
import lsdb
|
| 34 |
+
|
| 35 |
+
# Full sky coverage.
|
| 36 |
+
catalog = lsdb.open_catalog("https://huggingface.co/datasets/UniverseTBD/mmu_plasticc")
|
| 37 |
+
# One-degree cone.
|
| 38 |
+
catalog = lsdb.open_catalog(
|
| 39 |
+
"https://huggingface.co/datasets/UniverseTBD/mmu_plasticc",
|
| 40 |
+
search_filter=lsdb.ConeSearch(ra=330.0, dec=-6.0, radius_arcsec=3600.0),
|
| 41 |
+
)
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
Each catalog in this collection is represented as a separate [Apache Parquet dataset](https://arrow.apache.org/docs/python/dataset.html) and can be accessed with a variety of tools, including `pandas`, `pyarrow`, `dask`, `Spark`, `DuckDB`.
|
| 45 |
+
|
| 46 |
+
### File structure
|
| 47 |
+
|
| 48 |
+
This catalog is represented by the following files and directories:
|
| 49 |
+
|
| 50 |
+
- [`collection.properties`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/collection.properties) — textual metadata file describing the HATS collection of catalogs
|
| 51 |
+
- [`mmu_plasticc`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc) — main HATS catalog directory
|
| 52 |
+
- [`dataset/`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc/dataset/) — Apache Parquet dataset directory for the main catalog
|
| 53 |
+
- ... parquet metadata and data files in sub directories ...
|
| 54 |
+
- [`hats.properties`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc/hats.properties) — textual metadata file describing the main HATS catalog
|
| 55 |
+
- [`partition_info.csv`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc/partition_info.csv) — CSV file with a list of catalog HEALPix tiles (catalog partitions)
|
| 56 |
+
- [`skymap.fits`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc/skymap.fits) — HEALPix skymap FITS file with row-counts per HEALPix tile of fixed order 10
|
| 57 |
+
- [`mmu_plasticc_10arcs/`](https://huggingface.co/datasets/UniverseTBD/mmu_plasticc/mmu_plasticc_10arcs) — default margin catalog to ensure data completeness in cross-matching, the margin threshold is 10.0 arcseconds
|
| 58 |
+
- ... margin catalog files and directories ...
|
| 59 |
+
|
| 60 |
+
### Catalog metadata
|
| 61 |
+
|
| 62 |
+
Metadata of the main HATS catalog, excluding margins and indexes:
|
| 63 |
+
|
| 64 |
+
| **Number of rows** | **Number of columns** | **Number of partitions** | **Size on disk** | **HATS Builder** |
|
| 65 |
+
| --- | --- | --- | --- | --- |
|
| 66 |
+
| 7,001,476 | 8 | 1,509 | 3.9 GiB | hats-import v0.7.3, hats v0.7.3 |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
### Catalog columns
|
| 70 |
+
|
| 71 |
+
The main HATS catalog contains the following columns:
|
| 72 |
+
|
| 73 |
+
| **Name** | **`_healpix_29`** | **`lightcurve.band`** | **`lightcurve.time`** | **`lightcurve.flux`** | **`lightcurve.flux_err`** | **`hostgal_photoz`** | **`hostgal_specz`** | **`redshift`** | **`ra`** | **`dec`** | **`obj_type`** | **`object_id`** |
|
| 74 |
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
| 75 |
+
| **Data Type** | int64 | list[string] | list[float] | list[float] | list[float] | float | float | float | double | double | string | string |
|
| 76 |
+
| **Nested?** | — | lightcurve | lightcurve | lightcurve | lightcurve | — | — | — | — | — | — | — |
|
| 77 |
+
| **Value count** | 7,001,476 | 5,849,936,616 | 5,849,936,616 | 5,849,936,616 | 5,849,936,616 | 7,001,476 | 7,001,476 | 7,001,476 | 7,001,476 | 7,001,476 | 7,001,476 | 7,001,476 |
|
| 78 |
+
| **Example row** | 1310263451060905914 | [u, u, u, u, u, u, u, u, u, u, u, … (816 total)] | [5.979e+04, 5.982e+04, 5.982e+04, … (816 total)] | [-13.15, 7.379, 2.236, -2.3, … (816 total)] | [13.62, 8.448, 8.948, 13.9, 10.11, … (816 total)] | 0.545 | -9 | 0.551 | 330.5 | -6.129 | SNII | 75227491 |
|
| 79 |
+
| **Minimum value** | 64871186081855 | Y | -0.0 | -8935484.0 | -0.0 | -0.0 | -9.0 | -0.0 | -0.0 | -64.7609 | AGN | 100000051 |
|
| 80 |
+
| **Maximum value** | 3458741424076622916 | z | 60674.26171875 | 13675792.0 | 13791667.0 | 3.0 | 3.444999933242798 | 3.446000099182129 | 359.8242 | 4.1815 | TDE | 99999980 |
|
| 81 |
+
|
| 82 |
+
"ra" and "dec" are random numbers and not real coordinates.
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
"Nested" indicates whether the column is stored as a nested field inside another "struct" column.
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
"Value count" may be different from the total number of rows for nested columns: each nested element is counted as a single value.
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Crossmatch with another catalog
|
| 94 |
+
|
| 95 |
+
HATS catalogs can be efficiently crossmatched using [LSDB](https://lsdb.io),
|
| 96 |
+
which leverages the HEALPix partitioning to avoid loading the full datasets into memory:
|
| 97 |
+
|
| 98 |
+
```python
|
| 99 |
+
import lsdb
|
| 100 |
+
|
| 101 |
+
mmu_plasticc = lsdb.open_catalog("https://huggingface.co/datasets/UniverseTBD/mmu_plasticc")
|
| 102 |
+
other = lsdb.open_catalog("https://huggingface.co/datasets/<org>/<other_catalog>")
|
| 103 |
+
|
| 104 |
+
crossmatched = mmu_plasticc.crossmatch(other, radius_arcsec=1.0)
|
| 105 |
+
print(crossmatched)
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
See the [LSDB documentation](https://docs.lsdb.io/) for more details on crossmatching and other operations.
|
| 109 |
+
|
| 110 |
+
### Dataset-specific context
|
| 111 |
+
|
| 112 |
+
**Original survey**
|
| 113 |
+
The PLAsTiCC dataset is a collection of simulated light curves from the Photometric LSST Astronomical Time-Series Classification Challenge, designed to match the expected characteristics of the Legacy Survey of Space and Time (LSST).
|
| 114 |
+
|
| 115 |
+
It includes 14 types of time-varying astronomical objects, broadly divided into two categories: transients (short-lived events such as supernovae) and variable sources (objects with fluctuating brightness such as pulsating stars).
|
| 116 |
+
|
| 117 |
+
**Data modality**
|
| 118 |
+
The dataset consists of time-series data (light curves) including time of observation, flux, flux error, and filter information. Observations are provided in six filters (u, g, r, i, z, Y). Each time series is also associated with a class label and a redshift.
|
| 119 |
+
|
| 120 |
+
**Typical use cases**
|
| 121 |
+
The dataset has been widely used to develop and test models for supernova classification.
|
| 122 |
+
|
| 123 |
+
**Caveats**
|
| 124 |
+
The dataset consists of simulated light curves generated using the expected instrument characteristics and survey strategy of LSST.
|
| 125 |
+
|
| 126 |
+
**Citation**
|
| 127 |
+
The dataset is released under the CC BY 4.0 license and can be cited using its DOI: [10.5281/zenodo.2539456](https://doi.org/10.5281/zenodo.2539456).
|
example_figure.png
ADDED
|
Git LFS Details
|