src/data/create_data.py
def create_robot_epochs(config):
    """Create the data with each subject data in a dictionary.

    Parameter
    ----------
    subject : string of subject ID e.g. 7707
    trial   : HighFine, HighGross, LowFine, LowGross

    Returns
    ----------
    eeg_epoch_dataset : dataset of all the subjects with different conditions

    """
    robot_epoch_dataset = {}
    for subject in config['subjects']:
        data = nested_dict()
        for trial in config['trials']:
            epochs = robot_epochs(subject, trial, config)
            data['robot'][trial] = epochs
        robot_epoch_dataset[subject] = data

    return robot_epoch_dataset
Create the data with each subject data in a dictionary.

    Parameter
    ----------
    subject : string of subject ID e.g. 7707
    trial   : HighFine, HighGross, LowFine, LowGross

    Returns
    ----------
    eeg_epoch_dataset : dataset of all the subjects with different conditions

    
Create the data with each subject data in a dictionary.
Parameter

subject : string of subject ID e.g.

Returns

eeg_epoch_dataset : dataset of all the subjects with different conditions
Create the data with each subject data in a dictionary . Parameter subject : string of subject ID e . g . Returns eeg_epoch_dataset : dataset of all the subjects with different conditions
def create_robot_epochs(config):
    robot_epoch_dataset = {}
    for subject in config['subjects']:
        data = nested_dict()
        for trial in config['trials']:
            epochs = robot_epochs(subject, trial, config)
            data['robot'][trial] = epochs
        robot_epoch_dataset[subject] = data
    return robot_epoch_dataset
def create_robot_epochs ( config ) : robot_epoch_dataset = { } for subject in config [ 'subjects' ] : data = nested_dict ( ) for trial in config [ 'trials' ] : epochs = robot_epochs ( subject , trial , config ) data [ 'robot' ] [ trial ] = epochs robot_epoch_dataset [ subject ] = data return robot_epoch_dataset
Create the data with each subject data in a dictionary.
Create the data with each subject data in a dictionary .
"""Create the data with each subject data in a dictionary.

    Parameter
    ----------
    subject : string of subject ID e.g. 7707
    trial   : HighFine, HighGross, LowFine, LowGross

    Returns
    ----------
    eeg_epoch_dataset : dataset of all the subjects with different conditions

    """
config