Modigliani  2.0
A stochastic simulator for axons, neurons, and networks
Public Member Functions | List of all members
modigliani_core::Network_synapse Class Reference

This class acts as a simplified synapse for use in neuronal network simulations. More...

+ Inheritance diagram for modigliani_core::Network_synapse:

Public Member Functions

 Network_synapse (const modigliani_base::Real new_reversal_potential, Membrane_compartment *const src, const modigliani_base::Real newTimeStep, const std::string lua_file, const modigliani_base::Real new_strength)
 The constructor initialises the lua interpreter. More...
modigliani_base::ReturnEnum StepCurrent ()
 Runs one step of simulation. More...
modigliani_base::Real ComputeConductance ()
 Compute and return conductance. More...
modigliani_base::Real MaxConductivity () const
 Returns maximum conductivity. More...
- Public Member Functions inherited from modigliani_core::Membrane_current
 Membrane_current (modigliani_base::Real reversalPotential)
 Constructs a current. More...
modigliani_base::Real conductance () const
 Returns momentary conductance. More...
void set_reversal_potential (modigliani_base::Real eRev)
 Sets the reversal potential. More...
modigliani_base::Real reversal_potential () const
 Returns the reversal potential. More...
modigliani_base::Real temperature () const
 Returns the temperature. More...
modigliani_base::ReturnEnum set_temperature (modigliani_base::Real newTemp)
 Sets the temperature. More...
modigliani_base::Real q10 () const
 Returns the Q10 factor. More...
virtual modigliani_base::ReturnEnum set_q10 (modigliani_base::Real newQ10)
 Sets the Q10 factor. More...
enum StochasticType simulation_mode () const
 Returns the simulation mode. More...
virtual void set_simulation_mode (enum StochasticType newMode)
 Sets simulation mode. More...
void set_voltage (modigliani_base::Real newVoltage)
 Sets the membrane potential. More...
modigliani_base::ReturnEnum Step (modigliani_base::Real newVm)
 Runs one step of the simulation, updates the conductance and the current flowing through. More...
modigliani_base::Real ComputeCurrent (modigliani_base::Real vM)
 Computes, sets and returns the current going through. More...
virtual modigliani_base::Real ComputeTimeConstant ()
 Computes and returns the rate constants. More...
modigliani_base::Real current () const
 Returns the current. More...
- Public Member Functions inherited from modigliani_core::Object
modigliani_base::Real timestep () const
 Returns simulation timestep. More...
void set_timestep (modigliani_base::Real newTimeStep)
 Sets simulation timestep. More...

Additional Inherited Members

- Protected Member Functions inherited from modigliani_core::Membrane_current
modigliani_base::Real set_current (modigliani_base::Real newVal)
 Sets the current. More...
modigliani_base::Real set_conductance (modigliani_base::Real newVal)
 Sets the conductance. More...
- Protected Attributes inherited from modigliani_core::Membrane_current
modigliani_base::Real voltage_
 Membrane potential in [ $\si{\milli\volt}$].
modigliani_base::Real temperature_
 Temperature in [ $\si{\celsius}$].

Detailed Description

This class acts as a simplified synapse for use in neuronal network simulations.

The synapse has access to the membrane voltage of the source neuron at each step. The voltage is given to a lua script, and the conductance is read from the same script.

Constructor & Destructor Documentation

modigliani_core::Network_synapse::Network_synapse ( const modigliani_base::Real  new_reversal_potential,
Membrane_compartment *const  src,
const modigliani_base::Real  newTimeStep,
const std::string  lua_file,
const modigliani_base::Real  new_strength 

The constructor initialises the lua interpreter.

new_reversal_potentialReversal potential in [ $\si{\milli\volt}$]
srcThe presynaptic membrane compartment
newTimeStepTimestep in [ $\si{\milli\second}$]
lua_fileFile containing the lua script governing the synapse. The lua script needs to supply the following methods :
  • void set_timestep(float)
  • void set_parameter(float)
  • void step_current(float)
  • float comput_conductacne(void)
new_strengthSynaptic strength

Member Function Documentation

modigliani_base::Real modigliani_core::Network_synapse::ComputeConductance ( )

Compute and return conductance.

Conductance in [ $\si{\milli\siemens}$]

Implements modigliani_core::Membrane_current.

modigliani_base::Real modigliani_core::Network_synapse::MaxConductivity ( ) const

Returns maximum conductivity.

Conductivity in [ $\si{\milli\siemens}$]

Implements modigliani_core::Membrane_current.

modigliani_base::ReturnEnum modigliani_core::Network_synapse::StepCurrent ( )

Runs one step of simulation.

Success or failure

Implements modigliani_core::Membrane_current.

The documentation for this class was generated from the following files: