pyavs.load_meg_session¶
- pyavs.load_meg_session(subject_id: int, session: int, runs: List[int] | None = None, data_path: str | None = None, preprocessed: bool = True, preload: bool = False, verbose: bool = True) Dict[int, mne.io.Raw][source]¶
Load MEG data for all runs in a session.
- Parameters:
subject_id (int) – Subject ID
session (int) – Session number
runs (list of int, optional) – List of run numbers to load. If None, loads all available runs
data_path (str, optional) – Path to data directory. If None, uses configured data path
preprocessed (bool, optional) – Whether to load preprocessed data (default: True)
preload (bool, optional) – Whether to preload the data into memory (default: False)
verbose (bool, optional) – Whether to print loading information (default: True)
- Returns:
Dictionary mapping run numbers to Raw objects
- Return type: