|
| SNN (const std::string &name, SimMode preferredSimMode, LoggerMode loggerMode, int randSeed) |
| SNN Constructor. More...
|
|
| ~SNN () |
| SNN Destructor. More...
|
|
void | biasWeights (short int connId, float bias, bool updateWeightRange=false) |
|
short int | connect (int gIDpre, int gIDpost, const std::string &_type, float initWt, float maxWt, float prob, uint8_t minDelay, uint8_t maxDelay, RadiusRF radius, float mulSynFast, float mulSynSlow, bool synWtType) |
| make from each neuron in grpId1 to 'numPostSynapses' neurons in grpId2 More...
|
|
short int | connect (int gIDpre, int gIDpost, ConnectionGeneratorCore *conn, float mulSynFast, float mulSynSlow, bool synWtType) |
|
short int | connectCompartments (int grpIdLower, int grpIdUpper) |
|
int | createGroup (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend) |
| Creates a group of Izhikevich spiking neurons. More...
|
|
int | createGroupLIF (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend) |
| Creates a group of LIF spiking neurons. More...
|
|
int | createSpikeGeneratorGroup (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend) |
| Creates a spike generator group (dummy-neurons, not Izhikevich spiking neurons) More...
|
|
void | exitSimulation (int val=1) |
| deallocates all dynamical structures and exits More...
|
|
void | findWavefrontPath (std::vector< int > &path, std::vector< float > &eligibility, int netId, int grpId, int startNId, int goalNId) |
|
std::vector< float > | getConductanceAMPA (int grpId) |
|
void | getConductanceConfig (int grpId, float &dAMPA, float &rNMDA, float &dNMDA, float &dGABAa, float &rGABAb, float &dGABAb) |
|
void | getConductanceConfig (int grpId, int &tdAMPA, int &trNMDA, int &tdNMDA, int &tdGABAa, int &trGABAb, int &tdGABAb) |
|
std::vector< float > | getConductanceGABAa (int grpId) |
|
std::vector< float > | getConductanceGABAb (int grpId) |
|
std::vector< float > | getConductanceNMDA (int grpId) |
|
ConnectConfig | getConnectConfig (short int connectId) |
| required for homeostasis More...
|
|
short int | getConnectId (int grpIdPre, int grpIdPost) |
| find connection ID based on pre-post group pair, O(N) More...
|
|
ConnSTDPInfo | getConnSTDPInfo (short int connId) |
|
float * | getCurrent () |
| temporary getter to return pointer to current[] More...
|
|
RangeDelay | getDelayRange (short int connId) |
| returns the RangeDelay struct of a connection More...
|
|
uint8_t * | getDelays (int gGrpIdPre, int gGrpIdPost, int &numPreN, int &numPostN) |
| Returns the delay information for all synaptic connections between a pre-synaptic and a post-synaptic neuron group. More...
|
|
int | getGroupEndNeuronId (int gGrpId) |
|
Grid3D | getGroupGrid3D (int grpId) |
|
int | getGroupId (std::string grpName) |
|
std::string | getGroupName (int grpId) |
|
GroupNeuromodulatorInfo | getGroupNeuromodulatorInfo (int grpId) |
|
int | getGroupNumNeurons (int gGrpId) |
|
int | getGroupStartNeuronId (int gGrpId) |
|
IcalcType | getIcalcType (int grpId) |
|
const FILE * | getLogFpDeb () |
| returns file pointer to debug log More...
|
|
const FILE * | getLogFpErr () |
| returns file pointer to error log More...
|
|
const FILE * | getLogFpInf () |
| function writes population weights from gIDpre to gIDpost to file fname in binary. More...
|
|
const FILE * | getLogFpLog () |
| returns file pointer to log file More...
|
|
LoggerMode | getLoggerMode () |
|
std::string | getNetworkName () |
|
int | getNeuronId (int gGrpId, Point3D location) |
| the inverse of getNeuronLocation3D More...
|
|
Point3D | getNeuronLocation3D (int neurId) |
|
Point3D | getNeuronLocation3D (int grpId, int relNeurId) |
|
NeuronMonitor * | getNeuronMonitor (int grpId) |
| Returns pointer to existing NeuronMonitor object, NULL else. More...
|
|
NeuronMonitorCore * | getNeuronMonitorCore (int grpId) |
|
int | getNumCompartmentConnections () |
|
int | getNumConnections () |
|
int | getNumGroups () |
|
int | getNumNeurons () |
|
int | getNumNeuronsGen () |
|
int | getNumNeuronsGenExc () |
|
int | getNumNeuronsGenInh () |
|
int | getNumNeuronsReg () |
|
int | getNumNeuronsRegExc () |
|
int | getNumNeuronsRegInh () |
|
int | getNumSynapses () |
|
int | getNumSynapticConnections (short int connectionId) |
| gets number of connections associated with a connection ID More...
|
|
int | getRandSeed () |
|
double | getRFDist3D (const RadiusRF &radius, const Point3D &pre, const Point3D &post) |
| checks whether a point pre lies in the receptive field for point post More...
|
|
int | getSimTime () |
|
int | getSimTimeMs () |
|
int | getSimTimeSec () |
|
SpikeMonitor * | getSpikeMonitor (int grpId) |
| Returns pointer to existing SpikeMonitor object, NULL else. More...
|
|
SpikeMonitorCore * | getSpikeMonitorCore (int grpId) |
|
float * | getSTPu () |
| temporary getter to return pointer to stpu[] More...
|
|
float * | getSTPx () |
| temporary getter to return pointer to stpx[] More...
|
|
std::vector< std::vector< float > > | getWeightMatrix2D (short int connId) |
|
RangeWeight | getWeightRange (short int connId) |
| returns RangeWeight struct of a connection More...
|
|
bool | isConnectionPlastic (short int connId) |
| returns whether synapses in connection are fixed (false) or plastic (true) More...
|
|
bool | isDopaminergicGroup (int gGrpId) |
|
bool | isExcitatoryGroup (int gGrpId) |
|
bool | isGroupWith (int grpId, IcalcType icalcType) |
|
bool | isGroupWithCOBA (int grpId) |
|
bool | isGroupWithCUBA (int grpId) |
|
bool | isGroupWithGABAbRise (int grpId) |
|
bool | isGroupWithHomeostasis (int grpId) |
| returns whether group has homeostasis enabled (true) or not (false) More...
|
|
bool | isGroupWithNMDARise (int grpId) |
|
bool | isInhibitoryGroup (int gGrpId) |
|
bool | isPoint3DinRF (const RadiusRF &radius, const Point3D &pre, const Point3D &post) |
|
bool | isPoissonGroup (int gGrpId) |
|
bool | isSimulationWithCOBA () |
|
bool | isSimulationWithCompartments () |
|
bool | isSimulationWithCUBA () |
|
bool | isSimulationWithFixedWeightsOnly () |
|
bool | isSimulationWithGABAbRise () |
|
bool | isSimulationWithHomeostasis () |
|
bool | isSimulationWithNMDARise () |
|
bool | isSimulationWithPlasticWeights () |
|
bool | isSimulationWithSTDP () |
|
bool | isSimulationWithSTP () |
|
void | loadSimulation (FILE *fid) |
|
void | printEntrails (char *buffer, unsigned length, int gGrpIdPre, int gGrpIdPost) |
|
int | runNetwork (int _nsec, int _nmsec, bool printRunSummary) |
| run the simulation for n sec More...
|
|
void | saveSimulation (FILE *fid, bool saveSynapseInfo=false) |
| stores the pre and post synaptic neuron ids with the weight and delay More...
|
|
void | scaleWeights (short int connId, float scale, bool updateWeightRange=false) |
|
void | setCompartmentParameters (int grpId, float couplingUp, float couplingDown) |
| Coupling constants for the compartment are set using this method. More...
|
|
void | setConductances (bool isSet, int tdAMPA, int trNMDA, int tdNMDA, int tdGABAa, int trGABAb, int tdGABAb) |
| Sets custom values for conductance decay () or disables conductances alltogether These will be applied to all connections in a network For details on the ODE that is implemented refer to (Izhikevich et al, 2004), and for suitable values see (Dayan & Abbott, 2001). More...
|
|
void | setConductances (int grpId, bool isSet, int tdAMPA, int trNMDA, int tdNMDA, int tdGABAa, int trGABAb, int tdGABAb) |
|
void | setConnectionModulation (int preGrpId, int postGrpId, IcalcType icalcType) |
|
ConnectionMonitor * | setConnectionMonitor (int grpIdPre, int grpIdPost, FILE *fid) |
| sets up a network monitor registered with a callback to process the spikes. More...
|
|
void | setESTDP (int preGrpId, int postGrpId, bool isSet, STDPType type, STDPCurve curve, float alphaPlus, float tauPlus, float alphaMinus, float tauMinus, float gamma) |
| Set the spike-timing-dependent plasticity (STDP) for a neuron group. More...
|
|
void | setESTDP (int preGrpId, int postGrpId, bool isSet, STDPType type, STDPCurve curve, float alphaPlus, float tauPlus, float alphaMinus, float tauMinus, int nm_pka, float w_pka, int nm_plc, float w_plc) |
| Set the spike-timing-dependent plasticity (STDP) for a connection group. More...
|
|
void | setExternalCurrent (int grpId, const std::vector< float > ¤t) |
| injects current (mA) into the soma of every neuron in the group More...
|
|
GroupMonitor * | setGroupMonitor (int grpId, FILE *fid, int mode=0) |
| sets up a group monitor registered with a callback to process the spikes. More...
|
|
void | setHomeoBaseFiringRate (int groupId, float baseFiring, float baseFiringSD) |
| Sets homeostatic target firing rate (enforced through homeostatic synaptic scaling) More...
|
|
void | setHomeostasis (int grpId, bool isSet, float homeoScale, float avgTimeScale) |
| Sets the homeostasis parameters. g is the grpID, enable=true(false) enables(disables) homeostasis, homeostasisScale is strength of homeostasis compared to the strength of normal LTP/LTD from STDP (which is 1), and avgTimeScale is the time frame over which the average firing rate is averaged (it should be larger in scale than STDP timescales). More...
|
|
void | setIntegrationMethod (integrationMethod_t method, int numStepsPerMs) |
| Sets the integration method and the number of integration steps per 1ms simulation time step. More...
|
|
void | setISTDP (int preGrpId, int postGrpId, bool isSet, STDPType type, STDPCurve curve, float ab1, float ab2, float tau1, float tau2) |
| Set the inhibitory spike-timing-dependent plasticity (STDP) with anti-hebbian curve for a neuron group. More...
|
|
void | setLogsFp (FILE *fpInf=NULL, FILE *fpErr=NULL, FILE *fpDeb=NULL, FILE *fpLog=NULL) |
| Sets the file pointers for all log files file pointer NULL means don't change it. More...
|
|
void | setNeuromodulator (int grpId, float baseDP, float tauDP, float base5HT, float tau5HT, float baseACh, float tauACh, float baseNE, float tauNE) |
| Sets baseline concentration and decay time constant of neuromodulators (DP, 5HT, ACh, NE) for a neuron group. More...
|
|
void | setNeuromodulator (int grpId, float baseDP, float tauDP, float releaseDP, bool activeDP, float base5HT, float tau5HT, float release5HT, bool active5HT, float baseACh, float tauACh, float releaseAch, bool activeACh, float baseNE, float tauNE, float releaseNE, bool activeNE) |
| New config. More...
|
|
NeuronMonitor * | setNeuronMonitor (int gid, FILE *fid) |
| sets up a neuron monitor registered with a callback to process the neuron state values, there can only be one NeuronMonitor per group More...
|
|
void | setNeuronParameters (int grpId, float izh_a, float izh_a_sd, float izh_b, float izh_b_sd, float izh_c, float izh_c_sd, float izh_d, float izh_d_sd) |
| Sets the Izhikevich parameters a, b, c, and d of a neuron group. More...
|
|
void | setNeuronParameters (int grpId, float izh_C, float izh_C_sd, float izh_k, float izh_k_sd, float izh_vr, float izh_vr_sd, float izh_vt, float izh_vt_sd, float izh_a, float izh_a_sd, float izh_b, float izh_b_sd, float izh_vpeak, float izh_vpeak_sd, float izh_c, float izh_c_sd, float izh_d, float izh_d_sd) |
| Sets the Izhikevich parameters C, k, vr, vt, a, b, vpeak, c, and d of a neuron group. More...
|
|
void | setNeuronParametersLIF (int grpId, int tau_m, int tau_ref, float vTh, float vReset, double minRmem, double maxRmem) |
| Sets neuron parameters for a group of LIF spiking neurons. More...
|
|
void | setNM4STP (int grpId, float wSTP_U[], float wSTP_tau_u[], float wSTP_tau_x[]) |
|
void | setNM4weighted (int grpId, IcalcType type, float wDA, float w5HT, float wACh, float wNE, float wNorm, float wBase) |
|
void | setSpikeGenerator (int grpId, SpikeGeneratorCore *spikeGenFunc) |
| sets up a spike generator More...
|
|
SpikeMonitor * | setSpikeMonitor (int gid, FILE *fid) |
| sets up a spike monitor registered with a callback to process the spikes, there can only be one SpikeMonitor per group More...
|
|
void | setSpikeRate (int grpId, PoissonRate *spikeRate, int refPeriod) |
| Sets the Poisson spike rate for a group. For information on how to set up spikeRate, see Section Poisson spike generators in the Tutorial. More...
|
|
void | setSTP (int grpId, bool isSet, float STP_U, float STP_tau_u, float STP_tau_x) |
| Sets STP params U, tau_u, and tau_x of a neuron group (pre-synaptically) CARLsim implements the short-term plasticity model of (Tsodyks & Markram, 1998; Mongillo, Barak, & Tsodyks, 2008) du/dt = -u/STP_tau_u + STP_U * (1-u-) * (t-t_spk) dx/dt = (1-x)/STP_tau_x - u+ * x- * (t-t_spk) dI/dt = -I/tau_S + A * u+ * x- * (t-t_spk) where u- means value of variable u right before spike update, and x+ means value of variable x right after the spike update, and A is the synaptic weight. The STD effect is modeled by a normalized variable (0<=x<=1), denoting the fraction of resources that remain available after neurotransmitter depletion. The STF effect is modeled by a utilization parameter u, representing the fraction of available resources ready for use (release probability). Following a spike, (i) u increases due to spike-induced calcium influx to the presynaptic terminal, after which (ii) a fraction u of available resources is consumed to produce the post-synaptic current. Between spikes, u decays back to zero with time constant STP_tau_u (), and x recovers to value one with time constant STP_tau_x (). More...
|
|
void | setupNetwork () |
| build the network More...
|
|
void | setWeight (short int connId, int neurIdPre, int neurIdPost, float weight, bool updateWeightRange=false) |
| sets the weight value of a specific synapse More...
|
|
void | setWeightAndWeightChangeUpdate (UpdateInterval wtANDwtChangeUpdateInterval, bool enableWtChangeDecay, float wtChangeDecay) |
| Sets the weight and weight change update parameters. More...
|
|
void | startTesting (bool shallUpdateWeights=true) |
| enters a testing phase, where all weight updates are disabled More...
|
|
void | stopTesting () |
| exits a testing phase, making weight updates possible again More...
|
|
void | updateConnectionMonitor (short int connId=ALL) |
| polls connection weights More...
|
|
bool | updateDelays (int gGrpIdPre, int gGrpIdPost, std::vector< std::tuple< int, int, uint8_t >> connDelays) |
|
void | updateGroupMonitor (int grpId=ALL) |
| access group status (currently the concentration of neuromodulator) More...
|
|
void | updateNeuronMonitor (int grpId=ALL) |
| copy required neuron state values from ??? buffer to ??? buffer More...
|
|
void | updateSpikeMonitor (int grpId=ALL) |
| copy required spikes from firing buffer to spike buffer More...
|
|