|
| SpikeTimingStimGroup (NeuronID n, string filename, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat timeframe=0.0) |
| Default constructor. More...
|
|
| SpikeTimingStimGroup (NeuronID n, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat timeframe=0.0) |
| Constructor without stimfile. Patterns can be loaded afterwards using the load_patterns method. More...
|
|
virtual | ~SpikeTimingStimGroup () |
|
virtual void | evolve () |
|
virtual unsigned int | get_num_stimuli () |
| Returns number of stimuli. More...
|
|
| StimulusGroup (NeuronID n, string filename, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat baserate=1.0) |
| Default constructor. More...
|
|
| StimulusGroup (NeuronID n, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat baserate=1.0) |
| Constructor without pattern file. Patterns can be loaded afterwards using the load_patterns method. More...
|
|
virtual | ~StimulusGroup () |
|
void | set_baserate (AurynFloat baserate) |
| Sets the baserate that is the rate at 1 activity. More...
|
|
void | set_maxrate (AurynFloat baserate) |
| TODO. More...
|
|
void | set_stimulation_mode (StimulusGroupModeType mode) |
| Sets the stimulation mode. Can be any of StimulusGroupModeType (MANUAL,RANDOM,SEQUENTIAL,SEQUENTIAL_REV). More...
|
|
void | set_all (AurynFloat val=0.0) |
| Sets sets the activity of all units. More...
|
|
void | seed (int rndseed) |
| Seeds the random number generator for all stimulus groups of the simulation. More...
|
|
AurynFloat | get_activity (NeuronID i) |
| Gets the activity of unit i. More...
|
|
virtual void | load_patterns (string filename) |
| Loads stimulus patterns from a designated pat file given. More...
|
|
virtual void | clear_patterns () |
| Clear stimulus patterns. More...
|
|
void | set_mean_off_period (AurynFloat period) |
| Set mean quiet interval between consecutive stimuli. More...
|
|
void | set_mean_on_period (AurynFloat period) |
| Set mean on period. More...
|
|
void | set_pattern_activity (unsigned int i) |
| Function that loops over the stimulus/pattern vector and sets the activity verctor to the gamma values given with the pattern. More...
|
|
void | set_pattern_activity (unsigned int i, AurynFloat setval) |
| Function that loops over the stimulus/pattern vector and sets the activity verctor to the given value. More...
|
|
virtual void | set_active_pattern (unsigned int i) |
| This function is called internally and sets the activity level to a given active stimulus. More...
|
|
void | set_active_pattern (unsigned int i, AurynFloat default_value) |
| This function is called internally and sets the activity level to a given active stimulus. More...
|
|
void | set_next_action_time (double time) |
|
void | set_distribution (std::vector< double > probs) |
| Setter for pattern probability distribution. More...
|
|
std::vector< double > | get_distribution () |
| Getter for pattern probability distribution. More...
|
|
double | get_distribution (int i) |
| Getter for pattern i of the probability distribution. More...
|
|
unsigned int | get_stim_count () |
| Returns number of stimuli shown. More...
|
|
AurynTime | get_last_action_time () |
| returns the last action (stim on/off) time in units of AurynTime More...
|
|
AurynTime | get_last_onset_time () |
| returns the last stimulus onset time in units of AurynTime More...
|
|
AurynTime | get_last_offset_time () |
| returns the last stimulus offset time in units of AurynTime More...
|
|
AurynTime | get_next_action_time () |
| returns the next action (stim on/off) time in units of AurynTime More...
|
|
unsigned int | get_cur_stim () |
| returns the index of the current (or last – if not active anymore) active stimulus More...
|
|
bool | get_stim_active () |
| Returns true if currently a stimulus is active and false otherwise. More...
|
|
void | flat_distribution () |
|
void | normalize_distribution () |
|
std::vector< type_pattern > * | get_patterns () |
|
void | add_state_vector (std::string key, AurynStateVector *state_vector) |
| Adds a state vector passed as an argument to the dictinary. More...
|
|
void | remove_state_vector (std::string key) |
| Removes a state vector passed as an argument to the dictinary. More...
|
|
AurynStateVector * | find_state_vector (std::string key) |
| Returns existing state vector by name or NULL if it does not exist. More...
|
|
AurynStateVector * | get_state_vector (std::string key) |
| Creates a new or returns an existing state vector by name. More...
|
|
AurynStateVector * | get_existing_state_vector (std::string key) |
| Returns an existing state with the supplied name. More...
|
|
AurynStateVector * | create_state_vector (std::string key) |
| Creates a new state vector and throws an exception if a vector with the same name exists. More...
|
|
AurynState * | get_state_variable (std::string key) |
| Creates a new group-wide state variable or returns an existing group-wide variable by name then returns a pointer to it. More...
|
|
void | randomize_state_vector_gauss (std::string state_vector_name, AurynState mean, AurynState sigma, int seed=12239) |
| Randomizes the content of a state vector with Gaussian random numbers. Seeding is MPI save. More...
|
|
| SpikingGroup (NeuronID size, NodeDistributionMode mode=AUTO) |
| Default constructor. More...
|
|
virtual | ~SpikingGroup () |
| Default destructor. More...
|
|
virtual void | evolve_traces () |
| Evolves traces. More...
|
|
void | set_name (std::string s) |
| Set connection name. More...
|
|
std::string | get_name () |
| Retrieves the groups name. More...
|
|
std::string | get_file_name () |
| Extracts the class name of the connection from the file name. More...
|
|
std::string | get_log_name () |
| Returns a string which is the combination of file and connection name for logging. More...
|
|
void | inc_num_spike_attributes (int x) |
| Instructs SpikingGroup to increase the number of spike attributes by x. More...
|
|
int | get_num_spike_attributes () |
|
void | conditional_evolve () |
| Conditional evolve functino which is called by System. More...
|
|
unsigned int | get_locked_rank () |
| Returns locked rank for SpikingGroups which are not distributed across all ranks. More...
|
|
unsigned int | get_locked_range () |
| Returns locked range of ranks for SpikingGroups which are not distributed across all ranks. More...
|
|
SpikeContainer * | get_spikes () |
| Returns pointer to a spike container that contains spikes which arrive in this timestep from all neurons in this group. More...
|
|
SpikeContainer * | get_spikes_immediate () |
| Returns pointer to SpikeContainer of spikes generated during the last evolve() step. More...
|
|
AttributeContainer * | get_attributes () |
| Returns pointer to Attributecontainer for usage in propagating Connection objects. Same as get_spikes_immediate(), however might be overwritten to contain Spikes that have been delayed. More...
|
|
AttributeContainer * | get_attributes_immediate () |
| Returns pointer to Attributecontainer of spikes generated during the last evolve() step. More...
|
|
NeuronID | get_size () |
| Returns the size of the group. More...
|
|
NeuronID | get_pre_size () |
| Returns the size of the group. More...
|
|
NeuronID | calculate_rank_size (int rank=-1) |
| Determines rank size and stores it in local variable. More...
|
|
NeuronID | get_rank_size () |
| Returns the size on this rank. More...
|
|
NeuronID | get_post_size () |
| Returns the size on this rank. More...
|
|
void | set_clock_ptr (AurynTime *clock) |
|
bool | evolve_locally () |
| Returns true if the calling instance has units which are integrated on the current rank. More...
|
|
NeuronID | get_uid () |
| Get the unique ID of the class. More...
|
|
Trace * | get_pre_trace (AurynFloat x) |
| Returns a pre trace with time constant x. More...
|
|
void | add_pre_trace (Trace *tr) |
| Adds trace to pretrace stack of a connection. More...
|
|
Trace * | get_post_trace (AurynFloat x) |
| Returns a post trace with time constant x. More...
|
|
void | add_post_trace (Trace *tr) |
| Adds trace to posttrace stack of a connection. More...
|
|
void | push_spike (NeuronID spike) |
| Pushes a local NeuronID as spike into the axonal SpikeDelay buffer. More...
|
|
void | push_attribute (AurynFloat attrib) |
| Pushes a spike attribute into the axonal SpikeDelay buffer. More...
|
|
void | clear_spikes () |
| Clears all spikes stored in the delays which is useful to reset a network during runtime. More...
|
|
Trace * | get_post_state_trace (std::string state_name="mem", AurynFloat tau=10e-3, AurynFloat b=0.0) |
| Returns a post trace of a neuronal state variable e.g. the membrane potential with time constant tau. More...
|
|
Trace * | get_post_state_trace (AurynStateVector *state, AurynFloat tau=10e-3, AurynFloat b=0.0) |
| Returns a post trace of a neuronal state variable specified by pointer. More...
|
|
void | set_delay (int d) |
| Sets axonal delay for this SpikingGroup. More...
|
|
virtual bool | write_to_file (const char *filename) |
| Writes current states of SpikingGroup to human-readible textfile if implemented in derived class. More...
|
|
virtual bool | load_from_file (const char *filename) |
| Reads current states of SpikingGroup to human-readible textfile if implemented in derived class. More...
|
|
NeuronID | ranksize () |
| Returns size (num of neurons) on the current rank. More...
|
|
NeuronID | global2rank (NeuronID i) |
| Converts global NeuronID within the SpikingGroup to the local NeuronID on this rank. More...
|
|
NeuronID | rank2global (NeuronID i) |
| Converts local NeuronID from the local rank to a global NeuronID. More...
|
|
bool | localrank (NeuronID i) |
| Checks if the global NeuronID i is integrated on this MPI rank. More...
|
|
NeuronID | get_vector_size () |
| Rank size but rounded up to multiples of 4 (or potentially some other and larger number in future versions) for SSE compatibility. More...
|
|