{"success":true,"data":{"author":"OneAstronomy, from SDSS-III SEGUE DR9 and the SSPP (Lee et al. 2008)","bucketAccessType":"public","bucketName":"OneAstronomy/sspp-dr9-stellar-spectra","bucketPrefix":"","category":"Astronomy & Space","cloudProvider":"huggingface","createdAt":"2026-11-16T14:11:26.988Z","description":"Optical stellar spectra from the Sloan Digital Sky Survey SEGUE-1 and SEGUE-2 programs (Data Release 9), each labelled with atmospheric parameters from the SEGUE Stellar Parameter Pipeline (SSPP; Lee et al. 2008, Allende Prieto et al. 2008). 233,013 spectra are split 186,409 train, 23,302 validation and 23,302 test. Each row holds a flux-calibrated 1D spectrum resampled to a common grid of 3,878 wavelength bins over about 3,820 to 9,200 Angstrom (median-normalised flux, raw flux, inverse variance and bad-pixel mask; the grid is in wavelength_grid.json), the adopted effective temperature TEFF_ADOP (4,003 to 9,593 K), surface gravity LOGG_ADOP, metallicity FEH_ADOP (down to -4.35 dex), alpha enhancement AFE, radial velocity RV_ADOP, S/N, ra, dec, HEALPix index and SDSS SPECOBJID. Cuts: ZWARNING 0 or 16, finite Teff, log g and [Fe/H], and S/N at least 10. Data are Parquet under train/, validation/ and test/ (about 15 GB, measured 2026-11-16), readable with Hugging Face datasets, pandas or pyarrow. Uses: data-driven stellar parameter regression (The Cannon-style models, CNNs), metal-poor star searches and Galactic archaeology. SDSS states that all data in its public releases are in the public domain; cite Lee et al. 2008 and acknowledge SDSS-III.","displayTitle":"SDSS SEGUE DR9 Stellar Spectra with SSPP Teff, log g and [Fe/H] Labels (233,013 Stars)","id":"fca3532a-1e9a-5b29-a248-2a2ae5b43b2f","license":"Public Domain","licenseEvidenceUrl":"https://sdss.org/collaboration/image-use-policy/","objectCountEstimate":7,"probeStatus":"ok","referenceUrl":"https://doi.org/10.1088/0004-6256/136/5/2022","region":"us","schemaCard":{"accessHints":[{"language":"python-datasets","snippet":"from datasets import load_dataset\nds = load_dataset(\"OneAstronomy/sspp-dr9-stellar-spectra\")"},{"language":"python-hub","snippet":"from huggingface_hub import snapshot_download\nsnapshot_download(repo_id=\"OneAstronomy/sspp-dr9-stellar-spectra\", repo_type=\"dataset\")"}],"caveats":["HuggingFace metadata: author=OneAstronomy, license:cc-by-4.0, size_categories:100K<n<1M, format:parquet, downloads=125"],"format":"mixed","generatedAt":"2026-11-16T14:11:32.886Z","layout":{"example":"test/data.parquet","pattern":"{repoId}/{filename}"},"mountPath":"/mnt/archive","sampleHeaders":[{"bytes":"50415231150415a00615aa064c15c80115001200009003f48f01967a4843f1974842e157ac4307c98243357f70438a3314435db47b4346bb92415f841843a12a4643262e4d4385f9e342eaa57c43ddeed742ba479c430da10f43eabf3f42b0288b438816e04280cd5843caae844366c5b742234819439ab13742bf372f4359e0b242536e024399cb224325896e43290459432ed83e431e414743d4daab433b5e1443a4951243b6f29243a26d2843419814438c177843672c5e43aaf22d43db297c43c39afd42f2e8aa4398894743b0e92d43f42a0a42c6c5a04123c37f43ddfc2e4372bf8b439e20b04335a99b432019b243de7da0411f9ae54272e98d417aed4a43967a9c4369148443817c794317958a43dead4b43f1204843149644420a7f7d43466945420416674369c930438ca567434f082a431cbd47433c2a8443796a974207384a434f8ea043a0301c432be4d14142c119434baa344375091e4389f41643ac043e436eefa443001292414ce83f42294e3c43ad575443771526430b024643b5d33c439ac69a430eda2e42d03a74430634d7422ece4f4374c02443502b8343b1e35e42f44d4343150015c80115ce012c15c8011510150615061c18042019b243180472e98d41160028042019b243180472e98d41111100000064f06303000000c80101071b8080604028180e888462c168381e90886442a9582e988c66","encoding":"hex","key":"test/data.parquet","truncatedAt":512}],"sampleObjects":["test/data.parquet","train/data.parquet","validation/data.parquet","wavelength_grid.json"],"sidecars":[{"bytes":"---\nlicense: cc-by-4.0\ntask_categories:\n  - tabular-regression\n  - feature-extraction\nlanguage:\n  - en\ntags:\n  - astronomy\n  - stellar-spectra\n  - sdss\n  - sspp\n  - segue\n  - spectroscopy\nsize_categories:\n  - 100K<n<1M\n---\n\n# SDSS SSPP DR9 Stellar Spectra Dataset\n\n## Dataset Summary\n\nThis dataset contains 233,013 stellar spectra from the\n**Sloan Digital Sky Survey (SDSS) Stellar Parameter Pipeline (SSPP) DR9**,\ncross-matched with SEGUE1/SEGUE2 spectroscopic observations.\n\nEach sample contains a flux-calibrated 1D spectrum (3,878 wavelength bins,\n~3,820–9,200 Å) plus stellar atmospheric parameters measured by the SSPP.\n\n## Data Source\n\n| Field | Value |\n|-------|-------|\n| Survey | SDSS SEGUE (DR9) |\n| Pipeline | SSPP (Stellar Parameter Pipeline) |\n| Reference | Lee et al. (2008), Allende Prieto et al. (2008) |\n| Original file | `sspp_matched_spectra.h5` |\n| ETL date | 2026-05-22 |\n\n## Dataset Structure\n\n### Splits\n\n| Split | Samples |\n|-------|---------|\n| train | 186,409 |\n| validation | 23,302 |\n| test | 23,302 |\n| **total** | **233,013** |\n\n### Features\n\n| Column | Type | Description |\n|--------|------|-------------|\n| `spectrum_flux_norm` | Sequence[float32] (3878) | Continuum-normalised flux (÷ per-spectrum median) |\n| `spectrum_flux_raw` | Sequence[float32] (3878) | Original calibrated flux |\n| `spectrum_ivar` | Sequence[float32] (3878) | Inverse variance (noise model) |\n| `spectrum_mask` | Sequence[bool] (3878) | Bad-pixel mask (True = invalid) |\n| `TEFF_ADOP` | float32 | Effective temperature Teff (K) |\n| `LOGG_ADOP` | float32 | Surface gravity log g (dex) |\n| `FEH_ADOP` | float32 | Metallicity [Fe/H] (dex) |\n| `AFE` | float32 | Alpha-element abundance [α/Fe] |\n| `RV_ADOP` | float32 | Radial velocity (km/s) |\n| `SNR` | float32 | Spectral signal-to-noise ratio |\n| `ra` / `dec` | float32 | Sky coordinates (degrees) |\n| `healpix` | float32 | HEALPix pixel index |\n| `object_id` | string | Unique object identifier |\n| `SPECOBJID` | string | SDSS spectroscopic object ID |\n| ... | ... | See full schema in `dataset_info.json` |\n\nThe common wavelength grid is stored in `wavelength_grid.json`.\n\n### Label Statistics (training set)\n\n| Parameter | Min | Max | Mean | Std |\n|-----------|-----|-----|------|-----|\n| TEFF_ADOP (K) | 4003 | 9593 | 5664.7 | 802.5 |\n| LOGG_ADOP (dex) | 0.18 | 5.00 | 3.94 | 0.62 |\n| FEH_ADOP (dex) | -4.35 | 0.74 | -0.98 | 0.64 |\n| SNR | 10.0 | 131.4 | 36.6 | 18.7 |\n\n## Quality Filtering\n\nThe ETL pipeline applied the following filters:\n1. **ZWARNING ∈ {0, 16}** – valid redshift measurement\n2. **TEFF_ADOP, LOGG_ADOP, FEH_ADOP are finite** – all three core parameters must be valid\n3. **SNR ≥ 10** – minimum signal-to-noise ratio\n4. **Not entirely masked** – at least one valid spectral pixel\n\n## Loading the Dataset\n\n```python\nfrom datasets import load_dataset\n\nds = load_dataset(\"parquet\", data_dir=\"/mnt/si0009256k6u/ckdata/aiready/sspp/hf_dataset\")\n\n# Access train split\ntrain = ds[\"train\"]\nprint(train[0][\"TEFF_ADOP\"])   # ~5500 K\n```\n\nOr load individual splits:\n```python\nimport pandas as pd\ndf = pd.read_parquet(\"/mnt/si0009256k6u/ckdata/aiready/sspp/hf_dataset/train/data.parquet\")\n```\n\n## Citation\n\n```bibtex\n@article{lee2008sspp,\n  title={The SEGUE Stellar Parameter Pipeline. I. Description and Comparison of Individual Methods},\n  author={Lee, Young Sun and others},\n  journal={The Astronomical Journal},\n  year={2008}\n}\n```\n","encoding":"utf8","key":"README.md","name":"README.md","size":3417,"truncated":false},{"bytes":"{\n  \"dataset_name\": \"sspp_dr9_stellar_spectra\",\n  \"description\": \"SDSS SSPP DR9 stellar spectra with atmospheric parameters\",\n  \"version\": \"1.0.0\",\n  \"license\": \"cc-by-4.0\",\n  \"citation\": \"Lee et al. (2008) AJ\",\n  \"homepage\": \"https://www.sdss.org/dr9/spectro/sspp/\",\n  \"etl_date\": \"2026-05-22T01:55:17.105204\",\n  \"splits\": {\n    \"train\": {\n      \"num_examples\": 186409\n    },\n    \"validation\": {\n      \"num_examples\": 23302\n    },\n    \"test\": {\n      \"num_examples\": 23302\n    }\n  },\n  \"features\": {\n    \"spectrum_flux_norm\": {\n      \"dtype\": \"sequence\",\n      \"element_dtype\": \"float32\",\n      \"length\": 3878,\n      \"description\": \"Continuum-normalised flux\"\n    },\n    \"spectrum_flux_raw\": {\n      \"dtype\": \"sequence\",\n      \"element_dtype\": \"float32\",\n      \"length\": 3878,\n      \"description\": \"Original calibrated flux\"\n    },\n    \"spectrum_ivar\": {\n      \"dtype\": \"sequence\",\n      \"element_dtype\": \"float32\",\n      \"length\": 3878,\n      \"description\": \"Inverse variance\"\n    },\n    \"spectrum_mask\": {\n      \"dtype\": \"sequence\",\n      \"element_dtype\": \"bool\",\n      \"length\": 3878,\n      \"description\": \"Bad pixel mask (True=invalid)\"\n    },\n    \"TEFF_ADOP\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Adopted effective temperature (K)\"\n    },\n    \"TEFF_ADOP_UNC\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Teff uncertainty\"\n    },\n    \"LOGG_ADOP\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Adopted surface gravity log g (dex)\"\n    },\n    \"LOGG_ADOP_UNC\": {\n      \"dtype\": \"float32\",\n      \"description\": \"log g uncertainty\"\n    },\n    \"FEH_ADOP\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Adopted metallicity [Fe/H] (dex)\"\n    },\n    \"FEH_ADOP_UNC\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Metallicity uncertainty\"\n    },\n    \"AFE\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Alpha-element abundance [\\u03b1/Fe]\"\n    },\n    \"RV_ADOP\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Adopted radial velocity (km/s)\"\n    },\n    \"SNR\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Signal-to-noise ratio\"\n    },\n    \"ra\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Right ascension (degrees)\"\n    },\n    \"dec\": {\n      \"dtype\": \"float32\",\n      \"description\": \"Declination (degrees)\"\n    },\n    \"healpix\": {\n      \"dtype\": \"float32\",\n      \"description\": \"HEALPix pixel index\"\n    },\n    \"object_id\": {\n      \"dtype\": \"string\",\n      \"description\": \"Unique object ID\"\n    },\n    \"SPECOBJID\": {\n      \"dtype\": \"string\",\n      \"description\": \"SDSS spectroscopic object ID\"\n    },\n    \"SURVEY\": {\n      \"dtype\": \"string\",\n      \"description\": \"SDSS survey name\"\n    },\n    \"MJD\": {\n      \"dtype\": \"int32\",\n      \"description\": \"Modified Julian Date of observation\"\n    },\n    \"PLATE\": {\n      \"dtype\": \"int16\",\n      \"description\": \"SDSS plate number\"\n    },\n    \"FIBER\": {\n      \"dtype\": \"int16\",\n      \"description\": \"Fiber number\"\n    },\n    \"ZWARNING\": {\n      \"dtype\": \"int32\",\n      \"description\": \"Redshift warning flag\"\n    },\n    \"FLAG\": {\n      \"dtype\": \"string\",\n      \"description\": \"SSPP quality flag\"\n    }\n  },\n  \"label_stats\": {\n    \"train\": {\n      \"TEFF_ADOP\": {\n        \"min\": 4002.6025390625,\n        \"max\": 9592.982421875,\n        \"mean\": 5664.7333984375,\n        \"std\": 802.4752197265625\n      },\n      \"LOGG_ADOP\": {\n        \"min\": 0.18051674962043762,\n        \"max\": 5.0,\n        \"mean\": 3.9391441345214844,\n        \"std\": 0.6216450929641724\n      },\n      \"FEH_ADOP\": {\n        \"min\": -4.354510307312012,\n        \"max\": 0.7387590408325195,\n        \"mean\": -0.975010097026825,\n        \"std\": 0.6425771713256836\n      }\n    }\n  },\n  \"wavelength_grid_file\": \"wavelength_grid.json\",\n  \"n_wavelength_pixels\": 3878,\n  \"wavelength_range_angstrom\": [\n    3820,\n    9200\n  ]\n}","encoding":"utf8","key":"dataset_info.json","name":"dataset_info.json","size":3754,"truncated":false}],"sourceObjectKey":"test/data.parquet","starterCell":"from datasets import load_dataset\nds = load_dataset(\"OneAstronomy/sspp-dr9-stellar-spectra\")\nprint(ds)","starterSamplePath":"test/data.parquet","totalObjects":7},"summary":"Optical stellar spectra from the Sloan Digital Sky Survey SEGUE-1 and SEGUE-2 programs (Data Release 9), each labelled with atmospheric parameters from the SEGUE Stellar Parameter…","title":"SDSS SEGUE DR9 Stellar Spectra with SSPP Teff, log g and [Fe/H] Labels (233,013 Stars)","updatedAt":"2026-11-16T16:56:52.662Z","visibility":"public","websiteUrl":"https://www.sdss4.org/dr17/spectro/sspp/"}}