![]() |
Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Records the membrane potential from one unit from the source neuron group to a file. More...
#include <VoltageMonitor.h>


Public Member Functions | |
| VoltageMonitor (NeuronGroup *source, NeuronID id, string filename, AurynDouble stepsize=auryn_timestep) | |
| virtual | ~VoltageMonitor () |
| void | execute () |
Public Member Functions inherited from auryn::StateMonitor | |
| StateMonitor (SpikingGroup *source, NeuronID id, string statename, string filename, AurynDouble sampling_interval=auryn_timestep) | |
| Standard constructor. More... | |
| StateMonitor (AurynStateVector *state, NeuronID id, string filename, AurynDouble sampling_interval=auryn_timestep) | |
| Alternative constructor. More... | |
| StateMonitor (AurynSynStateVector *state, NeuronID id, string filename, AurynDouble sampling_interval=auryn_timestep) | |
| Alternative constructor for synaptic states. More... | |
| StateMonitor (Trace *trace, NeuronID id, string filename, AurynDouble sampling_interval=auryn_timestep) | |
| Trace constructor. More... | |
| void | record_for (AurynDouble time=10.0) |
| Sets relative time at which to stop recording. More... | |
| void | set_stop_time (AurynDouble time=10.0) |
| Set an absolute time when to stop recording. More... | |
| void | set_step_size (int step=1) |
| Sets the step size. More... | |
| virtual | ~StateMonitor () |
Public Member Functions inherited from auryn::Monitor | |
| virtual void | flush () |
| Flush to file. More... | |
| Monitor (std::string filename, std::string default_extension="dat") | |
| Standard constructor with file name. More... | |
| Monitor () | |
| Constructor which does not open a text file for output. More... | |
| std::string | generate_filename (std::string name_hint="") |
| Generates a default filename from the device ID. More... | |
| virtual | ~Monitor () |
| Standard destructor. More... | |
Public Member Functions inherited from auryn::Device | |
| Device () | |
| Standard constructor. More... | |
| void | set_name (std::string s) |
| Set device name. More... | |
| std::string | get_name () |
| Get device name. More... | |
| int | get_id () |
| Get numeric device id. More... | |
| virtual | ~Device () |
| Standard destructor. More... | |
| virtual void | evolve () |
Public Attributes | |
| AurynTime | paste_spikes |
| Paste spikes switch (default = true) More... | |
Public Attributes inherited from auryn::StateMonitor | |
| bool | enable_compression |
| Switch to enable/disable output compression. More... | |
Public Attributes inherited from auryn::Monitor | |
| bool | active |
| Standard active switch. More... | |
Public Attributes inherited from auryn::Device | |
| bool | active |
| Standard active switch. More... | |
Protected Member Functions | |
| void | init () |
| Standard initialization. More... | |
Protected Member Functions inherited from auryn::StateMonitor | |
| void | init (string filename, AurynDouble stepsize) |
| Standard initialization. More... | |
Protected Member Functions inherited from auryn::Monitor | |
| virtual void | open_output_file (std::string filename) |
| virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
| virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
Protected Member Functions inherited from auryn::Device | |
| void | init () |
| Standard initializer to be called by the constructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from auryn::StateMonitor | |
| SpikingGroup * | src |
| The source SpikingGroup to record from. More... | |
| AurynState * | target_variable |
| Target variable. More... | |
| AurynState | lastval |
| Last value (used for compression) More... | |
| AurynState | lastder |
| NeuronID | nid |
| The source neuron id to record from. More... | |
| AurynTime | ssize |
| The step size (sampling interval) in units of auryn_timestep. More... | |
| AurynTime | t_stop |
| Defines the maximum recording time in AurynTime to save space. More... | |
Protected Attributes inherited from auryn::Monitor | |
| std::ofstream | outfile |
| std::string | fname |
| std::string | default_file_extension |
Protected Attributes inherited from auryn::Device | |
| std::string | device_name |
| Identifying name for device. More... | |
Records the membrane potential from one unit from the source neuron group to a file.
The Monitor records the membrane potential of a single cell from a NeuronGroup. Per default the timestep is simulator precision and the Monitor pastes a spike of height VOLTAGEMONITOR_PASTED_SPIKE_HEIGHT by reading out the the current spikes. For performance it is adviced to use the StateMonitor which does not do any spike pasting.
| VoltageMonitor::VoltageMonitor | ( | NeuronGroup * | source, |
| NeuronID | id, | ||
| std::string | filename, | ||
| AurynDouble | stepsize = auryn_timestep |
||
| ) |

|
virtual |
Virtual execute function to be called at the end of central simulation loop in System
Reimplemented from auryn::StateMonitor.

|
protected |
Standard initialization.

| AurynTime auryn::VoltageMonitor::paste_spikes |
Paste spikes switch (default = true)
1.8.13