Dataset Viewer
Auto-converted to Parquet Duplicate
_healpix_29
int64
spectrum
dict
VDISP
float32
VDISP_ERR
float32
Z
float32
Z_ERR
float32
ra
float64
dec
float64
healpix
int64
ZWARNING
bool
SPECTROFLUX_U
float32
SPECTROFLUX_G
float32
SPECTROFLUX_R
float32
SPECTROFLUX_I
float32
SPECTROFLUX_Z
float32
SPECTROFLUX_IVAR_U
float32
SPECTROFLUX_IVAR_G
float32
SPECTROFLUX_IVAR_R
float32
SPECTROFLUX_IVAR_I
float32
SPECTROFLUX_IVAR_Z
float32
SPECTROSYNFLUX_U
float32
SPECTROSYNFLUX_G
float32
SPECTROSYNFLUX_R
float32
SPECTROSYNFLUX_I
float32
SPECTROSYNFLUX_Z
float32
SPECTROSYNFLUX_IVAR_U
float32
SPECTROSYNFLUX_IVAR_G
float32
SPECTROSYNFLUX_IVAR_R
float32
SPECTROSYNFLUX_IVAR_I
float32
SPECTROSYNFLUX_IVAR_Z
float32
object_id
string
survey
string
73,425,303,965,077,010
{"flux":[0.12574435770511627,0.12560278177261353,0.12546150386333466,0.12532050907611847,0.125179842(...TRUNCATED)
0
0
0.000134
0.000053
70.4659
24.0981
65
false
0.520921
0.610375
4.801284
17.72179
45.491474
0.761396
2.215261
1.251182
0.60822
0.224825
-0.213216
0.673315
4.428268
18.004646
42.305264
1.808504
2.219469
1.343806
0.67892
0.260193
1846487180264892416
sdss
73,427,174,427,498,900
{"flux":[0.5401257276535034,2.458662509918213,-0.41886988282203674,0.6315549612045288,-0.04724002629(...TRUNCATED)
434.375
121.295685
0.088196
0.000016
70.688002
24.115972
65
false
0.316435
1.175504
5.479161
14.108827
34.223816
2.337861
2.003996
0.578342
0.293156
0.057019
0.379801
1.149441
5.202378
13.978891
30.74766
3.126101
2.284354
0.518155
0.297173
0.092653
8176329490957621248
boss
73,427,575,689,086,820
{"flux":[-1.0336883068084717,-1.0325088500976562,-1.0313316583633423,-1.0301570892333984,-1.02898502(...TRUNCATED)
0
0
0
0.000016
70.7554
24.2057
65
false
0.10405
1.437056
7.557515
47.884796
144.517548
0.761396
2.215261
1.251182
0.60822
0.224825
-1.0949
1.632095
6.586765
49.152096
136.936996
1.808504
2.219469
1.343806
0.67892
0.260193
1846477834416056320
sdss
73,428,000,219,473,570
{"flux":[9.200590133666992,9.190194129943848,9.179821968078613,9.16947078704834,9.159140586853027,9.(...TRUNCATED)
0
0
-0.000005
0.000012
70.5955
24.1169
65
false
6.548455
8.597885
46.687553
170.440933
397.522247
0.761396
2.215261
1.251182
0.60822
0.224825
-2.138698
9.153708
43.558273
173.04686
385.370026
1.808504
2.219469
1.343806
0.67892
0.260193
1846476734904428544
sdss
73,428,368,455,542,610
{"flux":[-1.3263057470321655,-1.630548357963562,0.14102965593338013,-0.9259036779403687,-0.627999246(...TRUNCATED)
0
0
0.003548
0.00023
70.539359
24.151958
65
true
0.254668
0.373998
3.030588
10.207577
31.46319
2.337861
2.003996
0.578342
0.293156
0.057019
0.081377
0.379878
2.729444
10.335379
30.321951
3.126101
2.284354
0.518155
0.297173
0.092653
8176341035829712896
boss
73,428,703,957,943,660
{"flux":[5.840238094329834,5.83499813079834,5.829766750335693,5.824544429779053,5.819332122802734,5.(...TRUNCATED)
0
0
0.000148
0.000013
70.676899
24.148609
65
false
3.245228
15.127559
58.771503
106.127777
176.338821
1.333982
2.088502
1.631773
0.753255
0.327871
0.616203
15.517532
56.780125
108.300995
168.173508
2.807195
2.038716
1.703472
0.792843
0.368897
1415327975427041280
sdss
73,428,886,668,207,540
{"flux":[-0.5914201736450195,1.1322548389434814,-1.1248365640640259,-2.746004104614258,2.26956272125(...TRUNCATED)
116.311516
50.967304
0.243649
0.000026
70.636348
24.187034
65
false
0.139044
0.532007
3.614073
10.509859
25.916639
2.337861
2.003996
0.578342
0.293156
0.057019
0.296078
0.520706
3.479591
10.648244
24.722324
3.126101
2.284354
0.518155
0.297173
0.092653
8176330315591342080
boss
73,428,964,125,321,040
{"flux":[12.612847328186035,12.601537704467773,12.590249061584473,12.578977584838867,12.567727088928(...TRUNCATED)
0
0
-0.00058
0.000011
70.706826
24.182852
65
false
12.759972
71.449837
284.524506
560.905151
983.613892
1.333982
2.088502
1.631773
0.753255
0.327871
9.345213
72.540398
277.371552
576.611877
948.436707
2.807195
2.038716
1.703472
0.792843
0.368897
1415317804944484352
sdss
73,429,068,329,969,840
{"flux":[2.60080885887146,2.5978403091430664,2.5948777198791504,2.59192156791687,2.5889713764190674,(...TRUNCATED)
0
0
0.000128
0.000041
70.7248
24.2143
65
false
1.381469
0.965859
6.05777
24.966829
64.74688
0.761396
2.215261
1.251182
0.60822
0.224825
-0.208158
1.043502
5.497481
25.585163
64.043091
1.808504
2.219469
1.343806
0.67892
0.260193
1846478109293963264
sdss
73,429,306,672,405,280
{"flux":[66.47730255126953,66.41787719726562,66.35855102539062,66.29932403564453,66.24020385742188,6(...TRUNCATED)
0
0
0.000461
-1
70.639518
24.200902
65
true
90.709618
197.665054
433.61438
607.930237
865.978027
1.333982
2.088502
1.631773
0.753255
0.327871
78.021507
198.668137
424.517487
616.997437
852.401672
2.807195
2.038716
1.703472
0.792843
0.368897
1415331823717738496
sdss
End of preview. Expand in Data Studio

mmu_sdss_dr17 HATS Catalog Collection

This is the collection of HATS catalogs representing mmu_sdss_dr17.

This dataset is part of the Multimodal Universe, a large-scale collection of multimodal astronomical data. For full details, see the paper: The Multimodal Universe: Enabling Large-Scale Machine Learning with 100TBs of Astronomical Scientific Data.

Access the catalog

We recommend the use of the LSDB Python framework to access HATS catalogs. LSDB can be installed via pip install lsdb or conda install conda-forge::lsdb, see more details in the docs. The following code provides a minimal example of opening this catalog:

import lsdb

# Full sky coverage.
catalog = lsdb.open_catalog("https://huggingface.co/datasets/UniverseTBD/mmu_sdss_dr17")
# One-degree cone.
catalog = lsdb.open_catalog(
    "https://huggingface.co/datasets/UniverseTBD/mmu_sdss_dr17",
    search_filter=lsdb.ConeSearch(ra=132.0, dec=25.0, radius_arcsec=3600.0),
)

Each catalog in this collection is represented as a separate Apache Parquet dataset and can be accessed with a variety of tools, including pandas, pyarrow, dask, Spark, DuckDB.

File structure

This catalog is represented by the following files and directories:

  • collection.properties β€” textual metadata file describing the HATS collection of catalogs
  • mmu_sdss_dr17 β€” main HATS catalog directory
    • dataset/ β€” Apache Parquet dataset directory for the main catalog
      • ... parquet metadata and data files in sub directories ...
    • hats.properties β€” textual metadata file describing the main HATS catalog
    • partition_info.csv β€” CSV file with a list of catalog HEALPix tiles (catalog partitions)
    • skymap.fits β€” HEALPix skymap FITS file with row-counts per HEALPix tile of fixed order 10
  • mmu_sdss_dr17_10arcs/ β€” default margin catalog to ensure data completeness in cross-matching, the margin threshold is 10.0 arcseconds
    • ... margin catalog files and directories ...

Catalog metadata

Metadata of the main HATS catalog, excluding margins and indexes:

Number of rows Number of columns Number of partitions Size on disk HATS Builder
3,930,301 31 968 176.3 GiB hats-import v0.7.1, hats v0.7.1

Catalog columns

The main HATS catalog contains the following columns:

Name _healpix_29 spectrum.flux spectrum.ivar spectrum.lsf_sigma spectrum.lambda spectrum.mask VDISP VDISP_ERR Z Z_ERR ra dec healpix ZWARNING SPECTROFLUX_U SPECTROFLUX_G SPECTROFLUX_R SPECTROFLUX_I SPECTROFLUX_Z SPECTROFLUX_IVAR_U SPECTROFLUX_IVAR_G SPECTROFLUX_IVAR_R SPECTROFLUX_IVAR_I SPECTROFLUX_IVAR_Z SPECTROSYNFLUX_U SPECTROSYNFLUX_G SPECTROSYNFLUX_R SPECTROSYNFLUX_I SPECTROSYNFLUX_Z SPECTROSYNFLUX_IVAR_U SPECTROSYNFLUX_IVAR_G SPECTROSYNFLUX_IVAR_R SPECTROSYNFLUX_IVAR_I SPECTROSYNFLUX_IVAR_Z object_id survey
Data Type int64 list[float] list[float] list[float] list[float] list[bool] float float float float double double int64 bool float float float float float float float float float float float float float float float float float float float float string string
Nested? nan spectrum spectrum spectrum spectrum spectrum nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan nan
Value count 3,930,301 17,648,419,380 17,648,419,380 17,648,419,380 17,648,419,380 17,648,419,380 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301 3,930,301
Example row 345406689359877987 [23.33, 23.33, 17.75, 12.16, … (4662 total)] [0, 0.06879, 0, 0.07073, 0.07516, … (4662 total)] [0, 1.085, 1.086, 1.086, 1.086, … (4662 total)] [3554, 3555, 3555, 3556, 3557, … (4662 total)] [True, False, True, False, False, … (4662 total)] 350.8 99.61 0.5869 0.0003262 131.9 25.11 306 False -0.1748 0.2874 1.657 4.724 7.257 1.65 11.03 6.335 4.591 2.056 -0.06638 0.2546 1.628 4.673 7.835 9.908 11.31 7.078 5.998 3.395 5832203123784177664 boss
Minimum value 168688995934 -179130608.0 -0.0 -23.887535095214844 -1.0 False -0.0 -7.0 -0.011446905322372913 -6.0 9.09079089979059e-05 -11.25283 0 False -1119.229248046875 -940.6095581054688 -865.4228515625 -865.4229125976562 -980.3538818359375 0.005544150713831186 0.005543752107769251 0.005543776787817478 0.005543770734220743 0.0032096304930746555 -38421780.0 -26692180.0 -11347789.0 -8527988.0 -26592832.0 5.743364113186544e-07 7.989542041286768e-07 1.7297466001764406e-06 8.407338896176952e-07 3.4694645023591875e-07 1000925336738752512 boss
Maximum value 3458764448209686099 180670528.0 1627974912.0 3.4599151611328125 10415.9765625 True 850.0 4525.4833984375 7.051929950714111 25020.80078125 359.9999399999999 70.287347 3071 True 28427.263671875 129483.3828125 346752.21875 780947.1875 1373210.875 39.119293212890625 41.30256271362305 24.57221794128418 15.387298583984375 7.61610746383667 48433084.0 33275774.0 13660257.0 109366224.0 359602944.0 41.673828125 42.04224395751953 29.711549758911133 19.10918617248535 10.141582489013672 999975078378629120 sdss

"Nested" indicates whether the column is stored as a nested field inside another "struct" column.

"Value count" may be different from the total number of rows for nested columns: each nested element is counted as a single value.

Crossmatch with another catalog

HATS catalogs can be efficiently crossmatched using LSDB, which leverages the HEALPix partitioning to avoid loading the full datasets into memory:

import lsdb

mmu_sdss_dr17 = lsdb.open_catalog("https://huggingface.co/datasets/UniverseTBD/mmu_sdss_dr17")
other = lsdb.open_catalog("https://huggingface.co/datasets/<org>/<other_catalog>")

crossmatched = mmu_sdss_dr17.crossmatch(other, radius_arcsec=1.0)
print(crossmatched)

See the LSDB documentation for more details on crossmatching and other operations.

Dataset-specific context

Original survey
This dataset is based on the Sloan Digital Sky Survey (SDSS) Data Release 17. It includes optical spectra from the SDSS Legacy and SEGUE programs (survey = sdss), BOSS (survey = boss), and eBOSS (survey = eboss), built with the unmodified Multimodal Universe SDSS builder.

Data modality
The dataset consists of optical spectra covering wavelength ranges from 3800 to 9200 Γ… (SDSS spectrograph) and 3600 to 10400 Γ… (BOSS spectrograph). Each spectrum includes flux, wavelength, inverse variance (ivar), line-spread function width, and pixel-level masks. The dataset contains 3,930,301 spectra (sdss 806,176; boss 2,031,730; eboss 1,092,395).

Typical use cases
SDSS spectra have been used in numerous scientific publications. Machine learning applications include building data-driven representations of galaxy spectra and identifying outliers.

Caveats
Spectra have varying lengths; non-positive spectrum.lambda values are padding. Selection: SPECPRIMARY == 1, TARGETTYPE == SCIENCE, PLATEQUALITY == good. object_id is the SDSS SPECOBJID as a plain digit string. The survey column records the SDSS program.

Citation
SDSS data releases are in the public domain. Users should include the appropriate acknowledgements for the SDSS, SEGUE-1, SEGUE-2, BOSS, and eBOSS samples when using this dataset.

Downloads last month
112

Collection including UniverseTBD/mmu_sdss_dr17

Paper for UniverseTBD/mmu_sdss_dr17