Purdon et al. (2013) on dandiset 001285¶
Paper. Purdon PL, Pierce ET, Mukamel EA, et al. (2013). Electroencephalogram signatures of loss and recovery of consciousness from propofol. PNAS 110(12):E1142-E1151. doi:10.1073/pnas.1221180110. The claims file was written from the version of record in PubMed Central (PMC3607036), with the Supporting Information.
Dandiset. DANDI:001285, version 0.250110.2125 (doi:10.48324/dandi.001285/0.250110.2125). The paper predates the dandiset and cites no version, so the most recent published version is pinned. It is also the only published version; the cell below shows that the draft holds the same single file (the same blob).
What the dandiset holds. One NWB file, one subject, with one generic TimeSeries of 64 EEG
channels at 250 Hz over 154 min. It holds no channel names or electrode positions, no behavioural
task (stimuli and button presses), no infusion levels or times, and no behavioural markers (EON,
LOC, ROC, EOFF). The paper studied 10 subjects.
Claims. All 22 claims of the claims file are blocked. Every one needs data the dandiset does not hold: the behavioural responses (from which every time marker the EEG analyses are aligned to is derived), the other nine subjects (the group statistics, sign tests across subjects and subject counts), or the channel identities (the frontal channel near Fz, the Laplacian, the spatial groups). The outcome of every claim is blocked with data missing as the reason; for all sixteen EEG claims the missing channel names and positions are a second reason (metadata insufficient), and the file has no infusion times either. This notebook shows what the file holds and checks its description against the values; it tests no claim.
| Claim | Needs | Outcome (second reason) |
|---|---|---|
| fig1c-clicks-lost-before-verbal | behaviour, 10 subjects | blocked: data missing |
| eon-loc-duration | behaviour, 10 subjects | blocked: data missing |
| fig1e-group-induction | behaviour, 10 subjects | blocked: data missing |
| fig1e-group-emergence | behaviour, 10 subjects | blocked: data missing |
| eoff-not-reached | behaviour, 10 subjects | blocked: data missing |
| roc-eoff-duration | behaviour, 10 subjects | blocked: data missing |
| fig2bc-gamma-beta-before-loc | LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig2bc-alpha-slow-at-loc | LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig2d-spatial-loc15 | LOC, 10 subjects, channel labels | blocked: data missing (metadata insufficient) |
| fig2-emergence-reverse | ROC, EOFF, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| slow-power-tenfold | LOC/ROC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig3a-induction-traveling-peak | EON, LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig3a-emergence-traveling-peak | ROC, EOFF, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig3b-frontal-median-frequency-power | all markers, 10 subjects, channel labels | blocked: data missing (metadata insufficient) |
| figs2-band-spatial-shift | all markers, 10 subjects, channel labels | blocked: data missing (metadata insufficient) |
| fig4ab-occipital-alpha-mode | LOC/ROC, 10 subjects, channel labels | blocked: data missing (metadata insufficient) |
| fig4cd-frontal-alpha-mode | LOC/ROC, 10 subjects, channel labels | blocked: data missing (metadata insufficient) |
| fig4-no-low-frequency-mode | LOC/ROC, 10 subjects, Laplacian | blocked: data missing (metadata insufficient) |
| fig5-trough-max-induction | LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig5-peak-max | LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| fig5-trough-max-emergence | ROC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
| figs3-broadband-modulation | LOC, 10 subjects, Fz | blocked: data missing (metadata insufficient) |
import time
import matplotlib.pyplot as plt
import numpy as np
import pynwb
import requests
import propofol_eeg as pe
np.set_printoptions(linewidth=150, suppress=True)
started = time.time()
meta = pe.version_metadata()
versions = pe.list_versions()
assets = pe.list_assets()
print(f"dandiset {pe.DANDISET} version {pe.VERSION}, doi {meta.get('doi')}")
print("versions:", [(v["version"], v["asset_count"], v["size"]) for v in versions])
draft_assets = requests.get(f"{pe.API}/dandisets/{pe.DANDISET}/versions/draft/assets/", timeout=60).json()["results"]
print("published assets:", [(a["path"], a["size"], a["blob"]) for a in assets])
print("draft assets: ", [(a["path"], a["size"], a["blob"]) for a in draft_assets])
print("draft holds the same blobs:", sorted(a["blob"] for a in assets) == sorted(a["blob"] for a in draft_assets))
print("\nassetsSummary:", meta["assetsSummary"])
print("\ndescription:", meta["description"])
dandiset 001285 version 0.250110.2125, doi 10.48324/dandi.001285/0.250110.2125
versions: [('draft', 1, 1186908720), ('0.250110.2125', 1, 1186908720)]
published assets: [('sub-Subject001/sub-Subject001.nwb', 1186908720, 'cf96d4ae-af03-40da-b99a-865043474056')]
draft assets: [('sub-Subject001/sub-Subject001.nwb', 1186908720, 'cf96d4ae-af03-40da-b99a-865043474056')]
draft holds the same blobs: True
assetsSummary: {'species': [{'name': 'Homo sapiens - Human', 'schemaKey': 'SpeciesType', 'identifier': 'http://purl.obolibrary.org/obo/NCBITaxon_9606'}], 'approach': [], 'schemaKey': 'AssetsSummary', 'dataStandard': [{'name': 'Neurodata Without Borders (NWB)', 'schemaKey': 'StandardsType', 'identifier': 'RRID:SCR_015242'}], 'numberOfBytes': 1186908720, 'numberOfFiles': 1, 'numberOfSubjects': 1, 'variableMeasured': [], 'measurementTechnique': []}
description: The experimental protocol for the dataset is described in detail in Purdon PL, Pierce ET, Mukamel EA, et al. Electroencephalogram signatures of loss and recovery of consciousness from propofol. Proc Natl Acad Sci U S A. 2013;110(12):E1142-E1151, doi:10.1073/pnas.1221180110.
In summary, ten healthy, consenting volunteers aged 18–36 years participated in a study approved by the MGH Human Research Committee. The study examined induction and emergence from propofol anesthesia using a computer-controlled infusion system (StanPump) based on the Schnider pharmacokinetic-pharmacodynamic model. Subjects performed a behavioral task to identify the points of loss and recovery of consciousness while 64-channel EEG recordings were obtained. The protocol began with a 20-minute baseline EEG recording. Propofol was then administered in increasing effect-site concentrations, with each concentration maintained for 14 minutes, followed by decreasing effect-site concentrations designed to bracket the point of loss of consciousness. Each declining concentration was also held for 14 minutes. During all phases of the protocol—baseline, increasing, and decreasing concentrations—subjects performed a yes-no behavioral task every 4 seconds to document the times of loss and recovery of consciousness. After the propofol infusion was stopped, an additional 20-minute baseline EEG and behavioral recording period was conducted. Throughout the study, participants were instructed to keep their eyes closed to minimize eye-blink artifacts.
Data check¶
Everything the file holds, then the values. Each check of the description against the values is stated after the output.
f = pe.open_asset(assets[0]["asset_id"])
print("\n".join(pe.describe_hdf5(f)))
io = pynwb.NWBHDF5IO(file=f, load_namespaces=True)
nwb = io.read()
ts = nwb.acquisition["example_timeseries"]
print("\npynwb reads:", type(ts).__name__, "| rate", ts.rate, "Hz | starting_time", ts.starting_time, "s | unit", ts.unit,
"| data shape", ts.data.shape, "| num_samples", ts.num_samples)
print("subject:", nwb.subject.subject_id, "| age", nwb.subject.age, "| sex", nwb.subject.sex, "| species", nwb.subject.species)
print("session_start_time:", nwb.session_start_time, "| file_create_date:", nwb.file_create_date)
print("identifier:", nwb.identifier, "| session_description:", nwb.session_description)
print("notes:", nwb.notes)
print("contributors on DANDI:", [(c["name"], c.get("identifier")) for c in meta["contributor"]])
print("\nelectrodes table:", nwb.electrodes, "| electrode groups:", dict(nwb.electrode_groups), "| devices:", dict(nwb.devices))
print("trials:", nwb.trials, "| epochs:", nwb.epochs, "| intervals:", dict(nwb.intervals))
print("groups and datasets under general/:", sorted(f["general"].keys()))
print("general/extracellular_ephys present:", "general/extracellular_ephys" in f,
"| contents:", sorted(f["general/extracellular_ephys"].keys()) if "general/extracellular_ephys" in f else None)
print("processing modules:", dict(nwb.processing), "| stimulus:", dict(nwb.stimulus), "| analysis:", dict(nwb.analysis))
acquisition/ {}
acquisition/example_timeseries/ {'comments': 'no comments', 'description': 'no description', 'namespace': 'core', 'neurodata_type': 'TimeSeries'}
acquisition/example_timeseries/data shape=(64, 2316950) dtype=float64 {'conversion': np.float64(1.0), 'offset': np.float64(0.0), 'resolution': np.float64(-1.0), 'unit': 'microvolts'}
acquisition/example_timeseries/starting_time shape=() dtype=float64 {'rate': np.float64(250.0), 'unit': 'seconds'}
analysis/ {}
file_create_date shape=(2,) dtype=object = array([b'2025-01-10T14:24:38.000000Z', b'2025-01-10T15:20:12.139064-06:00'], dtype=object) {}
general/ {}
general/devices/ {}
general/experimenter shape=(2,) dtype=object = array([b'Yousefi, Ali', b'Brown, Emery'], dtype=object) {}
general/extracellular_ephys/ {}
general/intracellular_ephys/ {}
general/notes shape=() dtype=object = b'Experimenter: Yousefi, Ali (ORCID: orcid.org/0000-0001-2345-6789, Affiliation: University of Houston)' {}
general/optogenetics/ {}
general/optophysiology/ {}
general/subject/ {'namespace': 'core', 'neurodata_type': 'Subject'}
general/subject/age shape=() dtype=object = b'P30D' {'reference': 'birth'}
general/subject/description shape=() dtype=object = b'EEG recording subject' {}
general/subject/sex shape=() dtype=object = b'F' {}
general/subject/species shape=() dtype=object = b'Homo sapiens' {}
general/subject/subject_id shape=() dtype=object = b'Subject001' {}
identifier shape=() dtype=object = b'NWB123' {}
intervals/ {}
processing/ {}
scratch/ {}
session_description shape=() dtype=object = b'EEG Session Example' {}
session_start_time shape=(1,) dtype=object = array([b'2025-01-10T14:24:38.000000Z'], dtype=object) {}
stimulus/ {}
stimulus/presentation/ {}
stimulus/templates/ {}
timestamps_reference_time shape=(1,) dtype=object = array([b'2025-01-10T14:24:38.000000Z'], dtype=object) {}
pynwb reads: TimeSeries | rate 250.0 Hz | starting_time 0.004 s | unit microvolts | data shape (64, 2316950) | num_samples 64
subject: Subject001 | age P30D | sex F | species Homo sapiens
session_start_time: 2025-01-10 14:24:38+00:00 | file_create_date: [datetime.datetime(2025, 1, 10, 14, 24, 38, tzinfo=tzlocal()), datetime.datetime(2025, 1, 10, 15, 20, 12, 139064, tzinfo=tzoffset(None, -21600))]
identifier: NWB123 | session_description: EEG Session Example
notes: Experimenter: Yousefi, Ali (ORCID: orcid.org/0000-0001-2345-6789, Affiliation: University of Houston)
contributors on DANDI: [('Yousefi, Ali', '0009-0006-8777-8262')]
electrodes table: None | electrode groups: {} | devices: {}
trials: None | epochs: None | intervals: {}
groups and datasets under general/: ['devices', 'experimenter', 'extracellular_ephys', 'intracellular_ephys', 'notes', 'optogenetics', 'optophysiology', 'subject']
general/extracellular_ephys present: True | contents: []
processing modules: {} | stimulus: {} | analysis: {}
The file is one TimeSeries named example_timeseries, its description "no description", with
data of shape 64 x 2,316,950 stored channels first. NWB stores time on the first axis, so pynwb
reads the series as 64 samples (num_samples above); the 64 rows are channels, as the description's
64-channel EEG and the 250 Hz rate over the second axis (154 min) imply. There is no electrode
table (general/extracellular_ephys is an empty group, and general/devices is empty too), so no
channel has a name, a position or a bad-channel mark. There are no trials, epochs,
intervals, events, stimuli or processing modules: the behavioural task, the infusion levels and
the time markers are absent. The subject's age is P30D (30 days), where the paper's subjects were
18 to 36 years old. The session start time equals the first file creation date (2025-01-10), the
day of the conversion, not of a recording made before 2013. The identifier (NWB123) and session
description ("EEG Session Example") are placeholders, and the ORCID in the notes differs from the
contact's ORCID on DANDI.
data = f[pe.SERIES + "/data"]
fs = float(f[pe.SERIES + "/starting_time"].attrs["rate"])
n_ch, n_s = data.shape
print(f"channels {n_ch}, samples {n_s}, rate {fs} Hz, duration {n_s / fs / 60:.1f} min, unit {data.attrs['unit']!r}")
t0 = time.time()
summ = pe.channel_summaries(data)
print(f"read every channel in {time.time() - t0:.0f} s")
for k in ("mean", "sd", "min", "max"):
v = summ[k]
print(f"{k:>5} per channel (uV): min {v.min():9.1f}, median {np.median(v):9.1f}, max {v.max():9.1f}")
print("NaN samples in all channels:", int(summ["nan"].sum()))
print("longest run of identical consecutive samples, any channel:", int(summ["longest_flat"].max()))
print("distinct channels (by hash of all samples):", len(set(summ["hash"])), "of", n_ch)
cc = np.corrcoef(summ["decimated"])
iu = np.triu_indices(n_ch, 1)
order = np.argsort(-cc[iu])
print("highest correlations between channels (rows 0-63, below 4 Hz):",
[(int(iu[0][j]), int(iu[1][j]), round(float(cc[iu][j]), 3)) for j in order[:5]])
print("channels with SD above 300 uV (rows):", np.flatnonzero(summ["sd"] > 300).tolist())
channels 64, samples 2316950, rate 250.0 Hz, duration 154.5 min, unit 'microvolts'
read every channel in 28 s mean per channel (uV): min -1.6, median 0.1, max 1.0 sd per channel (uV): min 42.1, median 140.4, max 655.2 min per channel (uV): min -32645.8, median -3005.8, max -497.4 max per channel (uV): min 447.4, median 3129.2, max 20372.4 NaN samples in all channels: 0 longest run of identical consecutive samples, any channel: 1 distinct channels (by hash of all samples): 64 of 64 highest correlations between channels (rows 0-63, below 4 Hz): [(56, 60, 0.827), (27, 29, 0.8), (59, 61, 0.743), (58, 63, 0.718), (57, 59, 0.699)] channels with SD above 300 uV (rows): [21, 22, 26, 27, 30, 31, 46, 52, 56]
No channel is a copy of another (64 distinct hashes, highest correlation 0.83 below 4 Hz), so no recording is deposited twice. There are no missing samples and no flat stretches (no two consecutive samples are equal in any channel). The values are consistent with microvolts (the median spectrum below, about 30 uV^2/Hz at 10 Hz over the whole recording, which includes the period of raised alpha, is of the size of scalp EEG in uV), but the SDs and extremes are large, and several channels have SDs of several hundred uV, which suggests noisy channels the paper would have excluded by inspection; the file does not mark them.
freqs, psd = pe.channel_spectra(data, fs)
med = np.median(psd, axis=0)
def at(hz):
return float(med[np.argmin(abs(freqs - hz))])
print("median spectrum over channels (uV^2/Hz):")
for hz in (1, 10, 20, 40, 55, 59, 60, 61, 65, 100, 115, 120, 124):
print(f" {hz:5.1f} Hz {at(hz):.3g}")
above = freqs > 40
print("largest peak above 40 Hz at", float(freqs[above][np.argmax(med[above])]), "Hz")
print(f"power at 120 Hz over power at 100 Hz: {at(120) / at(100):.2e}")
median spectrum over channels (uV^2/Hz):
1.0 Hz 923
10.0 Hz 29.8
20.0 Hz 6.01
40.0 Hz 0.846
55.0 Hz 0.493
59.0 Hz 0.464
60.0 Hz 1.56
61.0 Hz 0.455
65.0 Hz 0.398
100.0 Hz 0.288
115.0 Hz 0.000451
120.0 Hz 3.46e-05
124.0 Hz 9.74e-06
largest peak above 40 Hz at 60.0 Hz
power at 120 Hz over power at 100 Hz: 1.20e-04
The largest peak above 40 Hz is at 60 Hz, the mains frequency in the United States, where the paper's data were recorded; with a wrong sampling rate it would sit elsewhere. Power falls by more than three orders of magnitude between 100 and 120 Hz, the anti-alias filter the Methods describe before down-sampling to 250 Hz (Methods, EEG Preprocessing). The stated rate of 250 Hz is consistent with the data.
The paper's protocol (Methods, Experimental Design) holds levels of 14 min (0, 1, 2, 3, 4 and 5 ug/mL, then four emergence levels), about 140 min in all; the archive's description adds a 20-min baseline and a 20-min recording after the infusion, about 180 min in all. The file holds 154.5 min, about 25 min less, with no marker of any level, so the file does not show which part of the session is shorter or missing; the duration is not consistent with the description as it stands. The band power over time, below, is shown to see whether the recording has the structure of such a session. It is a description of the file, not a test of a claim: without LOC, ROC, the channel identities and the other subjects, none of the claims' quantities can be computed.
starts, bp = pe.block_band_power(data, fs)
ref = slice(0, 15) # the first 15 one-minute blocks, chosen after looking at the data: before the first change seen below
quiet = summ["sd"] <= 300 # variant leaving out the 9 channels with SD above 300 uV
fig, axes = plt.subplots(len(bp), 1, figsize=(9, 8), sharex=True)
for ax, (band, v) in zip(axes, bp.items()):
ratio = np.median(v / v[:, ref].mean(axis=1, keepdims=True), axis=0)
ax.semilogy(starts / 60, ratio, color="#3a5a8c", lw=1.5)
ax.axhline(1, color="0.6", lw=0.8)
ax.set_ylabel(band + "\nover min 0-15", fontsize=8)
ax.grid(axis="y", color="0.9")
print(f"{band}: ratio to minutes 0-15, median over 64 channels; range {ratio.min():.2f} to {ratio.max():.1f}")
for lo, hi in ((0, 15), (16, 32), (33, 47), (48, 60), (60, 100), (100, 106), (110, 154)):
print(f" minutes {lo:3d}-{hi:3d}: median {np.median(ratio[lo:hi]):6.2f}")
print(" per minute:", np.round(ratio, 1).tolist())
ratio_q = np.median(v[quiet] / v[quiet][:, ref].mean(axis=1, keepdims=True), axis=0)
print(f" without the {int((~quiet).sum())} channels with SD above 300 uV, median over {int(quiet.sum())}:",
"; ".join(f"min {lo}-{hi} {np.median(ratio_q[lo:hi]):.2f}" for lo, hi in ((16, 32), (33, 47), (48, 60), (60, 100), (110, 154))))
axes[-1].set_xlabel("time from start of file (min)")
fig.suptitle("Band power per 1-min block over its mean in minutes 0-15, median over the 64 channels", fontsize=10)
fig.tight_layout()
plt.show()
print("all points are within the axes")
low (0.1-1 Hz): ratio to minutes 0-15, median over 64 channels; range 0.52 to 347.2 minutes 0- 15: median 0.85 minutes 16- 32: median 0.65 minutes 33- 47: median 1.18 minutes 48- 60: median 9.13 minutes 60-100: median 15.36 minutes 100-106: median 2.02 minutes 110-154: median 0.87 per minute: [1.0, 0.8, 0.7, 0.5, 0.8, 1.0, 0.9, 1.1, 1.3, 0.8, 0.6, 0.7, 1.4, 1.3, 0.8, 0.6, 0.8, 0.5, 0.6, 0.6, 0.8, 0.5, 0.7, 0.6, 0.6, 0.9, 0.8, 0.6, 0.5, 0.9, 0.7, 2.0, 0.9, 25.0, 1.2, 1.5, 1.1, 1.1, 1.0, 0.9, 2.3, 0.9, 1.2, 1.1, 1.3, 1.3, 87.9, 1.8, 347.2, 7.0, 6.5, 6.5, 6.7, 9.5, 8.3, 8.9, 11.7, 9.4, 10.9, 11.9, 10.3, 15.5, 16.1, 21.9, 19.6, 17.3, 20.7, 20.6, 33.9, 16.5, 17.9, 18.1, 15.2, 21.9, 23.6, 14.4, 15.5, 13.1, 17.5, 17.8, 15.0, 15.7, 16.6, 15.1, 14.9, 14.4, 21.8, 15.1, 14.6, 13.4, 14.7, 15.2, 15.7, 14.1, 12.6, 11.5, 8.9, 7.7, 5.6, 3.6, 10.7, 2.5, 1.4, 1.6, 14.8, 0.9, 0.5, 0.7, 0.6, 0.8, 0.7, 1.0, 0.8, 0.7, 0.8, 2.1, 1.2, 0.8, 0.7, 0.7, 0.9, 0.9, 0.8, 0.8, 1.0, 1.0, 0.8, 0.8, 0.8, 0.7, 0.7, 0.9, 1.6, 0.8, 1.0, 1.0, 1.1, 0.7, 0.8, 0.9, 1.1, 0.8, 1.2, 0.9, 0.8, 1.1, 1.0, 1.3, 1.3, 1.1, 0.9, 1.1, 1.3, 0.9] without the 9 channels with SD above 300 uV, median over 55: min 16-32 0.62; min 33-47 1.08; min 48-60 8.98; min 60-100 16.28; min 110-154 0.81 alpha (8-12 Hz): ratio to minutes 0-15, median over 64 channels; range 0.43 to 8.2 minutes 0- 15: median 0.97 minutes 16- 32: median 0.71 minutes 33- 47: median 1.70 minutes 48- 60: median 4.71 minutes 60-100: median 2.99 minutes 100-106: median 1.29 minutes 110-154: median 0.77 per minute: [1.0, 1.0, 1.2, 1.4, 1.2, 1.0, 0.8, 0.8, 0.9, 0.6, 1.2, 1.0, 1.1, 0.9, 0.5, 0.7, 1.0, 0.4, 0.9, 0.7, 0.8, 0.7, 0.7, 0.7, 0.7, 0.9, 0.7, 0.6, 0.7, 0.7, 0.6, 0.8, 0.7, 1.6, 1.0, 0.8, 0.8, 1.7, 1.0, 1.8, 2.2, 0.9, 1.7, 2.1, 1.9, 1.8, 3.6, 1.6, 5.9, 8.2, 5.8, 4.7, 5.2, 4.9, 4.7, 4.7, 4.6, 3.9, 4.3, 3.5, 3.3, 3.9, 3.9, 4.1, 4.0, 3.7, 3.7, 3.9, 3.4, 3.8, 3.4, 3.3, 3.7, 3.4, 3.0, 2.9, 3.0, 3.9, 3.2, 2.7, 2.7, 2.6, 2.9, 2.7, 2.7, 3.2, 3.6, 2.6, 2.5, 2.7, 2.8, 2.7, 2.8, 3.0, 2.6, 2.7, 3.0, 2.7, 1.9, 1.1, 1.5, 1.2, 1.1, 1.4, 1.9, 0.5, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9, 0.8, 0.7, 0.8, 0.7, 0.8, 0.9, 0.8, 0.8, 0.7, 1.0, 0.8, 0.6, 0.6, 0.9, 0.9, 0.8, 0.8, 0.7, 0.7, 0.6, 0.7, 0.7, 0.8, 0.7, 0.6, 0.9, 0.8, 0.6, 0.8, 0.8, 0.9, 1.0, 0.7, 0.8, 0.7, 0.7, 0.7, 1.0, 0.8, 0.8, 0.8, 0.7] without the 9 channels with SD above 300 uV, median over 55: min 16-32 0.68; min 33-47 2.33; min 48-60 7.31; min 60-100 5.00; min 110-154 0.77 beta (13-24 Hz): ratio to minutes 0-15, median over 64 channels; range 0.68 to 11.0 minutes 0- 15: median 0.99 minutes 16- 32: median 1.84 minutes 33- 47: median 7.64 minutes 48- 60: median 5.96 minutes 60-100: median 3.14 minutes 100-106: median 1.59 minutes 110-154: median 1.04 per minute: [0.9, 1.0, 1.0, 1.1, 1.0, 1.0, 0.9, 0.9, 1.1, 0.8, 1.0, 1.0, 1.1, 1.0, 0.8, 0.7, 1.1, 1.9, 2.3, 1.9, 2.0, 1.7, 1.8, 1.7, 1.8, 1.9, 2.0, 1.8, 1.8, 2.0, 1.7, 1.8, 2.4, 6.8, 6.0, 6.1, 7.0, 9.0, 8.9, 8.3, 8.3, 8.1, 8.1, 7.2, 6.6, 5.5, 9.9, 5.8, 11.0, 9.1, 8.6, 7.6, 6.5, 6.3, 5.6, 4.9, 5.6, 5.3, 4.4, 4.5, 4.2, 3.8, 3.9, 3.7, 3.4, 3.8, 3.7, 3.4, 3.4, 3.5, 3.3, 3.2, 3.0, 3.3, 3.2, 2.8, 3.1, 3.2, 2.8, 2.7, 3.0, 2.8, 3.2, 3.2, 2.9, 3.1, 3.2, 2.7, 2.7, 3.1, 2.9, 3.4, 3.0, 2.8, 2.7, 2.7, 2.5, 2.4, 2.0, 1.6, 1.5, 1.6, 1.4, 1.2, 2.7, 1.7, 1.6, 1.4, 1.4, 1.7, 1.5, 1.5, 1.5, 1.3, 1.3, 1.3, 1.2, 1.3, 1.3, 1.3, 1.2, 1.4, 1.2, 1.0, 1.1, 1.3, 1.3, 1.2, 1.1, 1.0, 1.0, 0.9, 0.9, 0.9, 1.0, 1.0, 0.9, 1.0, 1.0, 0.9, 0.9, 1.0, 1.0, 1.0, 0.9, 1.0, 0.9, 0.9, 1.0, 1.1, 1.0, 1.0, 0.9, 0.9] without the 9 channels with SD above 300 uV, median over 55: min 16-32 1.86; min 33-47 8.51; min 48-60 7.23; min 60-100 3.73; min 110-154 1.01 gamma (25-40 Hz): ratio to minutes 0-15, median over 64 channels; range 0.79 to 3.2 minutes 0- 15: median 0.98 minutes 16- 32: median 1.30 minutes 33- 47: median 2.39 minutes 48- 60: median 1.77 minutes 60-100: median 1.35 minutes 100-106: median 0.91 minutes 110-154: median 0.95 per minute: [1.0, 0.9, 1.0, 1.0, 1.0, 1.0, 0.9, 1.0, 1.0, 0.9, 1.0, 1.0, 1.0, 1.0, 0.9, 0.8, 1.0, 1.4, 1.3, 1.3, 1.3, 1.2, 1.2, 1.3, 1.4, 1.4, 1.3, 1.3, 1.4, 1.4, 1.2, 1.3, 1.4, 2.4, 2.1, 2.2, 2.7, 2.5, 2.8, 2.8, 2.1, 3.0, 2.4, 2.1, 2.0, 1.8, 3.0, 2.4, 3.2, 2.1, 1.9, 1.8, 1.9, 1.8, 1.8, 1.8, 1.7, 1.7, 1.6, 1.6, 1.6, 1.5, 1.6, 1.4, 1.4, 1.4, 1.5, 1.4, 1.5, 1.4, 1.4, 1.4, 1.3, 1.4, 1.4, 1.4, 1.5, 1.3, 1.3, 1.2, 1.3, 1.3, 1.4, 1.4, 1.3, 1.3, 1.4, 1.2, 1.2, 1.4, 1.3, 1.4, 1.3, 1.3, 1.2, 1.3, 1.3, 1.2, 1.1, 0.9, 0.9, 0.9, 0.8, 0.8, 1.5, 1.7, 1.4, 1.2, 1.2, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.2, 1.2, 1.1, 1.1, 1.2, 1.1, 1.0, 1.0, 1.1, 1.0, 1.0, 1.0, 0.9, 1.0, 1.0, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.8] without the 9 channels with SD above 300 uV, median over 55: min 16-32 1.41; min 33-47 2.35; min 48-60 1.82; min 60-100 1.38; min 110-154 0.97
all points are within the axes
The reference period (minutes 0 to 15) was chosen after looking at the data, and the medians are over all 64 channels without a Laplacian. The time course is consistent in outline with a propofol session of the paper's design. Beta power steps up at minute 17 (about 2 times the first 15 min) and again at minute 33 (5.5 to 9.9 times, median 7.6 over minutes 33 to 47), about one 14-min level apart. Alpha and low-frequency power rise together at minute 48; from minute 49 to minute 97 low-frequency power is 6.5 to 34 times the first 15 min (median 15.4 over minutes 60 to 100) and alpha 2.5 to 8.2 times. Both are back near their opening levels from minute 105, while from minute 105 to 120 beta stays at 1.2 to 1.7 times and gamma at 1.1 to 1.7 times. Single minutes with very large low-frequency ratios (25 at minute 33, 88 at minute 46, 347 at minute 48) look like artifacts; they are kept, and enter only these descriptive medians. Leaving out the 9 channels with SDs above 300 uV changes little: the low-frequency median over minutes 60 to 100 is 16.3 over the other 55 channels, beta over minutes 33 to 47 is 8.5, and alpha over minutes 48 to 60 is 7.3 (4.7 over all 64). This supports the description only in outline (and the file is about 25 min shorter than the described protocol, see above), and is no evidence for slow-power-tenfold or the Figure 2 claims: the reference was chosen by eye, the unconscious period is not marked, and the channels are not the paper's frontal channel. Which minute is LOC or ROC cannot be read from the file, as the paper defines them from the behavioural responses, which are not deposited.
Clock. There are no trial tables, events or intervals in the file, so no stream can be shown to share a clock with a trial table; this could not be established for the one session.
What each claim needs, and what the file lacks¶
No claim is tested. The cell below checks, from the file and the archive, each kind of data the claims rest on.
others = []
search_terms = ("propofol", "Purdon", "Yousefi", "anesthesia", "consciousness", "Emery Brown", "EEG")
for q in search_terms:
for r in requests.get(f"{pe.API}/dandisets/", params={"search": q, "page_size": 50}, timeout=60).json()["results"]:
if r["identifier"] != pe.DANDISET and r["identifier"] not in [o[0] for o in others]:
d = requests.get(f"{pe.API}/dandisets/{r['identifier']}/versions/draft/", timeout=60).json()
others.append((r["identifier"], (r.get("draft_version") or {}).get("name"),
"Purdon" in d.get("description", ""), d["assetsSummary"].get("numberOfFiles")))
print(f"other dandisets found by searching {search_terms}: {len(others)}")
print("of these, those whose description names Purdon (id, name, files):")
for o in others:
if o[2]:
print(" ", o[0], o[1], o[3])
needs = {
"subjects in the dandiset (paper: 10)": meta["assetsSummary"]["numberOfSubjects"],
"behavioural responses or stimulus times": ("intervals/trials" in f or len(f.get("stimulus/presentation", {})) > 0
or any(k != "example_timeseries" for k in f["acquisition"])),
"infusion levels or behavioural markers (EON, LOC, ROC, EOFF)": len(f["intervals"]) > 0 or len(f["processing"]) > 0,
"channel names, positions or bad-channel marks (an electrode table)": "general/extracellular_ephys/electrodes" in f,
}
for k, v in needs.items():
print(f"{k}: {v}")
print(f"\nnotebook ran in {(time.time() - started) / 60:.1f} min")
other dandisets found by searching ('propofol', 'Purdon', 'Yousefi', 'anesthesia', 'consciousness', 'Emery Brown', 'EEG'): 31
of these, those whose description names Purdon (id, name, files):
001286 Anesthesia EEG Dataset 0
001287 Anesthesia EEG Dataset 0
subjects in the dandiset (paper: 10): 1
behavioural responses or stimulus times: False
infusion levels or behavioural markers (EON, LOC, ROC, EOFF): False
channel names, positions or bad-channel marks (an electrode table): False
notebook ran in 1.8 min
Searching DANDI for seven terms (propofol, Purdon, Yousefi, anesthesia, consciousness, Emery Brown, EEG) found 31 other dandisets. Two of them, 001286 and 001287, carry the same description of Purdon et al. (2013) and hold no files. No behavioural data, markers or channel identities were found for this subject, and no data for the other nine.
Summary¶
| Claim | Outcome |
|---|---|
| All 22 claims (Figures 1 to 5, S2, S3) | blocked: data missing |
| of these, the 16 EEG claims, which need channel identities | second reason: metadata insufficient |
Every claim is blocked. The six behavioural claims need the button-press responses to the auditory task, which are not in the dandiset. The sixteen EEG claims are aligned to LOC, ROC, EON or EOFF, which the paper derives from those responses, rest on the median or a sign test across 10 subjects, of which the dandiset holds one, and on channel identities (a frontal channel near Fz, the Laplacian's neighbours, frontal and occipital groups), which the file does not give.
What was found about the dataset:
- One of the paper's ten subjects is deposited; dandisets 001286 and 001287, with the same description, are empty.
- No behaviour, infusion levels or time markers are deposited.
- The 64 channels have no names or positions, and noisy channels are not marked.
- The EEG is stored channels first in a generic
TimeSeries, so NWB tools read it as 64 samples. - Subject and session metadata are placeholders or wrong: age 30 days for an adult volunteer, a
session start time equal to the conversion date, identifier
NWB123, session description "EEG Session Example". - The values are consistent with the description in rate and units: 250 Hz (60 Hz mains peak, anti-alias roll-off), microvolts, no duplicated channels or gaps. The band-power time course has the outline of a gradual propofol induction and emergence, against a reference period chosen by eye. The file's 154.5 min is about 25 min shorter than the roughly 180 min the described protocol implies, and nothing in the file reconciles the two.