gastropy.load_egg#
- gastropy.load_egg()[source]#
Load a sample standalone EGG recording.
Returns a 7-channel EGG recording (no fMRI), downsampled to 10 Hz. Data from Wolpert et al. (2020), licensed CC BY-NC-SA 3.0.
- Returns:
Dictionary with keys:
signal: ndarray, shape (7, n_samples) — EGG datasfreq: float — sampling rate (10.0 Hz)ch_names: ndarray of str — channel labelsduration_s: float — recording duration in secondssource: str — data source identifier
- Return type:
References
Wolpert, N., Rebollo, I., & Tallon-Baudry, C. (2020). Electrogastrography for psychophysiological research: Practical considerations, analysis pipeline, and normative data in a large sample. Psychophysiology, 57, e13599.
Examples
>>> import gastropy as gp >>> data = gp.load_egg() >>> data["signal"].shape (7, 7580) >>> data["sfreq"] 10.0