gastropy.load_fmri_egg#
- gastropy.load_fmri_egg(session='0001')[source]#
Load a sample fMRI-EGG recording.
Returns an 8-channel EGG recording collected during fMRI, downsampled to 10 Hz, with scanner trigger onset times.
- Parameters:
session (str) – Session identifier. Available:
"0001","0003","0004","0008"(from the semi_precision study).- Returns:
Dictionary with keys:
signal: ndarray, shape (8, n_samples) — EGG data in Voltssfreq: float — sampling rate (10.0 Hz)ch_names: ndarray of str — channel labelstrigger_times: ndarray — R128 scanner trigger onsets (seconds)tr: float — fMRI repetition time (1.856 s)duration_s: float — recording duration in secondssource: str — data source identifiersession: str — session identifier
- Return type:
Examples
>>> import gastropy as gp >>> data = gp.load_fmri_egg() >>> data["signal"].shape (8, 7795) >>> data["sfreq"] 10.0