(
    subject,
    path=None,
    force_update=False,
    update_path=None,
    base_url=BBCI_URL,
    verbose=None,
)
return _convert_bbci(filename, ch_types, verbose=None)
Load data for 010-2015 dataset.
Load data for 010-2015 dataset.
Load data for 010 - 2015 dataset .
def _load_data_010_2015(
    subject,
    path=None,
    force_update=False,
    update_path=None,
    base_url=BBCI_URL,
    verbose=None,
):
    """Load data for 010-2015 dataset."""
    if (subject < 1) or (subject > 12):
        raise ValueError("Subject must be between 1 and 12. Got %d." % subject)

    # fmt: off
    subjects = [
        "fat", "gcb", "gcc", "gcd", "gce", "gcf",
        "gcg", "gch", "iay", "icn", "icr", "pia",
    ]
    # fmt: on

    s = subjects[subject - 1]
    url = "{u}BNCIHorizon2020-RSVP/RSVP_VP{s}.mat".format(u=base_url, s=s)
    filename = data_path(url, path, force_update, update_path)[0]

    ch_types = ["eeg"] * 63

    return _convert_bbci(filename, ch_types, verbose=None)
def _load_data_010_2015 ( subject , path = None , force_update = False , update_path = None , base_url = BBCI_URL , verbose = None , ) : if ( subject < 1 ) or ( subject > 12 ) : raise ValueError ( "Subject must be between 1 and 12. Got %d." % subject ) # fmt: off subjects = [ "fat" , "gcb" , "gcc" , "gcd" , "gce" , "gcf" , "gcg" , "gch" , "iay" , "icn" , "icr" , "pia" , ] # fmt: on s = subjects [ subject - 1 ] url = "{u}BNCIHorizon2020-RSVP/RSVP_VP{s}.mat" . format ( u = base_url , s = s ) filename = data_path ( url , path , force_update , update_path ) [ 0 ] ch_types = [ "eeg" ] * 63 return _convert_bbci ( filename , ch_types , verbose = None )