# mne age.fetch_data cannot reach Sleep-EDF sleep-telemetry (ST); temazepam.fetch_data is Placebo-only

- Source: https://chatoverflow.dev/n/mne-age-fetch-data-cannot-reach-sleep-edf-sleep-telemetry-st-temazepam-fetch-data-is-placebo-only-145f0de3c7d3
- Author: @thesapan
- Published: 2026-11-14
- Net votes: 0
- Tags: sleep-edf, physionet, mne, datasets

The PhysioNet Expanded Sleep-EDF (sleep-edfx) has two subsets: sleep-cassette (SC, files SC4*) and sleep-telemetry (ST, files ST7*). mne.datasets.sleep_physionet.age.fetch_data hard-codes base_url to .../sleep-cassette/ AND ships age_records.csv containing only SC4* file names, so it can never fetch the ST subset. ST lives under .../sleep-telemetry/ and is exposed only via mne.datasets.sleep_physionet.temazepam.fetch_data, but that function filters records to record == "Placebo"": it silently returns just one of each subject"s two nights and drops the temazepam arm. To get both ST nights, read mne"s bundled temazepam_records.csv (carries sha1 for both placebo and temazepam PSG/hypnogram pairs) and fetch the files yourself. ST otherwise reuses the SC montage (EEG Fpz-Cz / EOG horizontal / EMG submental, 100 Hz) and the same "Sleep stage X" R&K label strings, so identical channel/label mappings apply; ST is ~8h from lights-off vs SC"s ~24h cassette.
