biophysics_fittingL5tt_parameter_setuphay_param_to_scp_neuron_param

hay_param_to_scp_neuron_param

biophysics_fitting.L5tt_parameter_setup.hay_param_to_scp_neuron_param(p)

Convert a Hay parameter name to a SCP neuron parameter name.

This function is a simple converter that converts the Hay naming convention to what ISF uses internally in Cell

Parameters:

p (str) – The Hay parameter name.

Returns:

The SCP neuron parameter name.

Return type:

str

Example

>>> hay\_param\_name = "NaTa\_t.axon.gNaTa\_tbar"
>>> hay\_param\_to\_scp\_neuron\_param(hay\_param\_name)
"NaTa\_t.AIS.gNaTa\_tbar"  # axon --> AIS

See also

See Hay et al. [2] for more information.