bluepyefe.reader

Trace reader functions

Functions

axon_reader(in_data)

Reader to read .abf

csv_lccr_reader(in_data)

Reader to read .txt (csv_lccr)

igor_reader(in_data)

Reader to read old .ibw

nwb_reader(in_data)

Reader for .nwb

read_matlab(in_data)

To read .mat from http://gigadb.org/dataset/100535

axon_reader(in_data)[source]

Reader to read .abf

Parameters:

in_data (dict) –

of the format

{
    "filepath": "./XXX.abf",
    "i_unit": "pA",
    "t_unit": "s",
    "v_unit": "mV"
}

csv_lccr_reader(in_data)[source]

Reader to read .txt (csv_lccr)

Parameters:

in_data (dict) –

of the format:

{
    'filepath': "./XXX.txt",
    'dt': 0.1,
    'ton': 2000,
    'toff': 2500,
    'ljp': 14.0,
    'amplitudes': [10 -10 20 -20 30 -30 40 -40 50 -50],
    'hypamp': -20 # (units should match 'amplitudes'),
    'remove_last_100ms': True,
    'v_unit': 'mV',
    't_unit': 'ms',
    'i_unit': 'pA' # current unit for 'amplitudes' and 'hypamp'
}

igor_reader(in_data)[source]

Reader to read old .ibw

Parameters:

in_data (dict) –

of the format

{
    'i_file': './XXX.ibw',
    'v_file': './XXX.ibw',
    'v_unit': 'V',
    't_unit': 's',
    'i_unit': 'A'
}

nwb_reader(in_data)[source]

Reader for .nwb

Parameters:

in_data (dict) –

of the format

{
    'filepath': './XXX.nwb',
    "protocol_name": "IV",
    "repetition": 1 (or [1, 3, ...]) # Optional
}

read_matlab(in_data)[source]

To read .mat from http://gigadb.org/dataset/100535

Parameters:

in_data (dict) –

of the format

{
    'filepath': './161214_AL_113_CC.mat',
    'ton': 2000,
    'toff': 2500,
    'v_unit': 'V',
    't_unit': 's',
    'i_unit': 'A'
}