leaky.h File Reference

#include "neuron.h"

Go to the source code of this file.

Data Structures

struct  aspi_leaky_t
 Leaky instance structure. More...
struct  aspi_leaky_class_t
 Leaky class structure. More...

Defines

#define ASPI_LEAKY(x)   (aspi_object_check (x, aspi_leaky ()), ((aspi_leaky_t *) x))
#define ASPI_LEAKY_CLASS(x)   (aspi_class_check (x, aspi_leaky ()), ((aspi_leaky_class_t * ) x))

Functions

aspi_class_taspi_leaky (void)
aspi_object_taspi_leaky_init (aspi_object_t *self)
aspi_object_taspi_leaky_init_full (aspi_object_t *self, int memory, int delay)
void aspi_leaky_dtor (aspi_object_t *self)
aspi_object_taspi_leaky_dup (aspi_object_t *self)
void aspi_leaky_set_memory (aspi_object_t *self, int memory)
 Set memory of the neuron.
void aspi_leaky_set_max_delay (aspi_object_t *self, int delay)
 Set max delay of a neuron.
void aspi_leaky_add_in_n_steps (aspi_object_t *self, double voltage, int steps)
void aspi_leaky_update_voltage (aspi_object_t *self)
void aspi_leaky_set_threshold (aspi_object_t *self, double threshold)
double aspi_leaky_get_threshold (aspi_object_t *self)
double aspi_leaky_get_threshold_ip (aspi_object_t *self)
int aspi_leaky_get_last_spike (aspi_object_t *self)
int aspi_leaky_get_last_spike_before (aspi_object_t *self, int before)
double aspi_leaky_get_v_trace (aspi_object_t *self)
double aspi_leaky_get_v_trace_at (aspi_object_t *self, int time)
void aspi_leaky_set_last_spike (aspi_object_t *self, int time)
void aspi_leaky_fire (aspi_object_t *self)
 Make a neuron fire.
int aspi_leaky_has_fired (aspi_object_t *self)
int aspi_leaky_has_fired_at (aspi_object_t *self, int time)
double aspi_leaky_get_voltage (aspi_object_t *self)
double aspi_leaky_get_freq (aspi_object_t *self)
void aspi_leaky_class_set_rest_voltage (double rest)
void aspi_leaky_class_set_noise (double noise)
void aspi_leaky_class_set_leak (double leak)
void aspi_leaky_class_set_refractory (int refractory)
int aspi_leaky_class_get_refractory (void)
void aspi_leaky_class_set_threshold (double threshold)
void aspi_leaky_class_set_threshold_leak (double leak)
void aspi_leaky_class_set_dynamic_threshold (int dynamic_threshold)
double aspi_leaky_class_get_threshold (void)
void aspi_leaky_class_set_stp (int set_stp)
void aspi_leaky_class_set_ip (int set_ip)
void aspi_leaky_class_set_ip_factor (double ip_factor)
void aspi_neuron_class_set_reversal_potential (int set_reversal_potential)
void aspi_neuron_class_set_reversal_potentials (double rev_pot_exci, double rev_pot_inhib)


Generated on Wed Aug 19 01:16:48 2009 for aspirenn by  doxygen 1.5.5