neurodynex.hodgkin_huxley package¶
Submodules¶
neurodynex.hodgkin_huxley.HH module¶
Implementation of a Hodging-Huxley neuron Relevant book chapters:
-
neurodynex.hodgkin_huxley.HH.
getting_started
()[source]¶ An example to quickly get started with the Hodgkin-Huxley module.
-
neurodynex.hodgkin_huxley.HH.
plot_data
(state_monitor, title=None)[source]¶ Plots the state_monitor variables [“vm”, “I_e”, “m”, “n”, “h”] vs. time.
Parameters: - state_monitor (StateMonitor) – the data to plot
- title (string, optional) – plot title to display
-
neurodynex.hodgkin_huxley.HH.
simulate_HH_neuron
(input_current, simulation_time)[source]¶ A Hodgkin-Huxley neuron implemented in Brian2.
Parameters: - input_current (TimedArray) – Input current injected into the HH neuron
- simulation_time (float) – Simulation time [seconds]
Returns: Brian2 StateMonitor with recorded fields [“vm”, “I_e”, “m”, “n”, “h”]
Return type: StateMonitor