biophysics_fittinghayevaluation

evaluation

A Python translation of the evaluation functions used in Hay et al. [2]. This module provides methods to run Hay’s stimulus protocols, and evaluate the resulting voltage traces.

Classes

BAC

Evaluate the \(BAC\) stimulus protocol.

bAP

Evaluate the \(bAP\) stimulus protocol.

StepOne

Evaluate Step current one.

StepTwo

Evaluate Step current two.

StepThree

Evaluate Step current three.

Functions

normalize(raw, mean, std)

Normalize a raw value.

nan_if_error(fun)

Wrapper method that returns nan if an error occurs.

get_evaluate_bAP(**kwargs)

Get the evaluation function for the \(bAP\) stimulus protocol.

get_evaluate_BAC(**kwargs)

Get the evaluation function for the \(BAC\) stimulus protocol.

get_evaluate_StepOne(**kwargs)

Get the evaluation function for the \(StepOne\) stimulus protocol.

get_evaluate_StepTwo(**kwargs)

Get the evaluation function for the \(StepTwo\) stimulus protocol.

get_evaluate_StepThree(**kwargs)

Get the evaluation function for the \(StepTwo\) stimulus protocol.

hay_evaluate_bAP(**kwargs)

Evaluate the \(bAP\) stimulus protocol.

hay_evaluate_BAC(**kwargs)

Evaluate the \(BAC\) stimulus protocol.

hay_evaluate_StepOne(**kwargs)

Evaluate the \(StepOne\) stimulus protocol.

hay_evaluate_StepTwo(**kwargs)

Evaluate the \(StepTwo\) stimulus protocol.

hay_evaluate_StepThree(**kwargs)

Evaluate the \(StepTwo\) stimulus protocol.