biophysics_fittinghaydefault_setup

default_setup

A Python translation of the setup for in silico current injection experiments as described in Hay et al. [2].

Functions

record_bAP(cell, recSite1, recSite2)

Extract the voltage traces from the soma and two apical dendritic locations.

record_BAC(cell, recSite)

Extract the voltage traces from the soma and an apical dendritic location.

record_Step(cell)

Extract the voltage trace from the soma.

get_Simulator(fixed_params, step, vInit)

Get a set up Simulator object for the Hay protocol.

interpolate_vt(voltage_trace_)

Interpolate a voltage trace so that is has fixed time interval

map_truefalse_to_str(dict_)

Convert True/False to ‘True’/’False’ in a dictionary

get_Evaluator(step, vInit, bAP_kwargs, BAC_kwargs, StepOne_kwargs, StepTwo_kwargs, StepThree_kwargs, interpolate_voltage_trace)

Get a Evaluator object for the Hay protocol.

get_Combiner(step, include_DI3)

Get a set up Combiner object for the Hay protocol.

get_fixed_params_example()

Get an example of cell-specific fixed params.