API reference#
Modules#
A single compartment. |
|
A branch made up of one or multiple compartments (without branchpoints). |
|
A cell made up of one or multiple branches (with branchpoints). |
|
A network made up of multiple cells, connected by synapses. |
Simulation#
Solves ODE and simulates neuron model. |
|
Return |
Morphologies#
Reads SWC file into a Cell. |
|
Returns the direct distance between a root and other compartments. |
|
Returns the pathwise distance between a root and other compartments. |
|
Deletes part of a morphology. |
|
Combines two morphologies into a single cell. |
Channels#
Channel base class. |
|
Hodgkin-Huxley channel based on Sterratt, Graham, Gillies & Einevoll. |
|
Izhikevich neuron model. |
|
Rate-based, unit-less, neuron model. |
|
Mechanism to reset the voltage when it crosses a threshold. |
|
Sodium channel based on Pospischil et al., 2008. |
|
Potassium channel based on Pospischil et al., 2008. |
|
Leak current based on Pospischil et al., 2008. |
|
Slow M Potassium channel based on Pospischil et al., 2008. |
|
L-type Calcium channel based on Pospischil et al., 2008. |
|
T-type Calcium channel based on Pospischil et al., 2008. |
Pumps#
Pump base class. |
|
Update the intracellular calcium ion concentration depending on calcium current. |
|
Compute Calcium reversal from inner and outer concentration of calcium. |
|
Calcium dynamics based on Destexhe et al. 1994. |
Synapses#
Base class for a synapse. |
|
Compute synaptic current and update synapse state for a generic ionotropic synapse. |
|
Compute synaptic current for tanh synapse (no state). |
|
Compute synaptic current for a simple conductance synapse (no state). |
Connectivity#
Connect specific compartments of a network with a synapse. |
|
Connect cells of a network with synapses via a boolean connectivity matrix. |
|
Fully (densely) connect cells of a network with synapses. |
|
Sparsely (densely) connect cells of a network with synapses. |
Optimization#
Sigmoid transformation. |
|
Softplus transformation. |
|
Negative softplus transformation. |
|
Chaining together multiple transformations |
|
Custom transformation. |
|
optax wrapper which allows different argument values for different params. |
Graph backend#
Read a SWC file and return a SWC graph via networkX. |
|
Return a networkX graph that indicates the compartment structure. |
|
Visualize a compartment graph. |
|
Return a Jaxley module from a compartmentalized networkX graph. |
|
Export a jx.Module as a networkX compartment graph. |