(filename, ch_types, verbose=None)
return raws, event_id
Convert one file in bbci format.
Convert one file in bbci format.
Convert one file in bbci format .
def _convert_bbci(filename, ch_types, verbose=None):
    """Convert one file in bbci format."""
    raws = []
    event_id = {}

    data = loadmat(filename, struct_as_record=False, squeeze_me=True)
    for run in data["data"]:
        raw, evd = _convert_run_bbci(run, ch_types, verbose)
        raws.append(raw)
        event_id.update(evd)

    return raws, event_id
def _convert_bbci ( filename , ch_types , verbose = None ) : raws = [ ] event_id = { } data = loadmat ( filename , struct_as_record = False , squeeze_me = True ) for run in data [ "data" ] : raw , evd = _convert_run_bbci ( run , ch_types , verbose ) raws . append ( raw ) event_id . update ( evd ) return raws , event_id