CARLsim  5.0.0
CARLsim: a GPU-accelerated SNN simulator
CARLsim::Impl Class Reference

Public Member Functions

 Impl (CARLsim *sim, const std::string &netName, SimMode prferredSimMode, LoggerMode loggerMode, int randSeed)
 
 ~Impl ()
 
void biasWeights (short int connId, float bias, bool updateWeightRange)
 
short int connect (int grpId1, int grpId2, ConnectionGenerator *conn, bool synWtType)
 
short int connect (int grpId1, int grpId2, ConnectionGenerator *conn, float mulSynFast, float mulSynSlow, bool synWtType)
 
short int connect (int grpId1, int grpId2, const std::string &connType, const RangeWeight &wt, float connProb, const RangeDelay &delay, const RadiusRF &radRF, bool synWtType, float mulSynFast, float mulSynSlow)
 
short int connectCompartments (int grpIdLower, int grpIdUpper)
 
int createGroup (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend)
 
int createGroup (const std::string &grpName, int nNeur, int neurType, int preferredPartition, ComputingBackend preferredBackend)
 
int createGroupLIF (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend)
 
int createGroupLIF (const std::string &grpName, int nNeur, int neurType, int preferredPartition=ANY, ComputingBackend preferredBackend=CPU_CORES)
 
int createSpikeGeneratorGroup (const std::string &grpName, const Grid3D &grid, int neurType, int preferredPartition, ComputingBackend preferredBackend)
 
int createSpikeGeneratorGroup (const std::string &grpName, int nNeur, int neurType, int preferredPartition, ComputingBackend preferredBackend)
 
CARLsimState getCARLsimState ()
 
std::vector< float > getConductanceAMPA (int grpId)
 
std::vector< float > getConductanceGABAa (int grpId)
 
std::vector< float > getConductanceGABAb (int grpId)
 
std::vector< float > getConductanceNMDA (int grpId)
 
RangeDelay getDelayRange (short int connId)
 
uint8_t * getDelays (int gIDpre, int gIDpost, int &Npre, int &Npost)
 
int getGroupEndNeuronId (int grpId)
 
Grid3D getGroupGrid3D (int grpId)
 
int getGroupId (std::string grpName)
 
std::string getGroupName (int grpId)
 
GroupNeuromodulatorInfo getGroupNeuromodulatorInfo (int grpId)
 
int getGroupNumNeurons (int grpId)
 
int getGroupStartNeuronId (int grpId)
 
GroupSTDPInfo getGroupSTDPInfo (int grpId)
 
const FILE * getLogFpDeb ()
 
const FILE * getLogFpErr ()
 
const FILE * getLogFpInf ()
 
const FILE * getLogFpLog ()
 
int getMaxNumCompConnections ()
 
Point3D getNeuronLocation3D (int grpId, int relNeurId)
 
Point3D getNeuronLocation3D (int neurId)
 
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)
 
int getSimTime ()
 
int getSimTimeMsec ()
 
int getSimTimeSec ()
 
SpikeMonitorgetSpikeMonitor (int grpId)
 
RangeWeight getWeightRange (short int connId)
 
bool isConnectionPlastic (short int connId)
 
bool isExcitatoryGroup (int grpId)
 
bool isGroupWithHomeostasis (int grpId)
 
bool isInhibitoryGroup (int grpId)
 
bool isPoissonGroup (int grpId)
 
void loadSimulation (FILE *fid)
 
int runNetwork (int nSec, int nMsec, bool printRunSummary)
 
void saveSimulation (const std::string &fileName, bool saveSynapseInfo)
 
void scaleWeights (short int connId, float scale, bool updateWeightRange)
 
void setCompartmentParameters (int grpId, float couplingUp, float couplingDown)
 
void setConductances (bool isSet)
 
void setConductances (bool isSet, int tdAMPA, int tdNMDA, int tdGABAa, int tdGABAb)
 
void setConductances (bool isSet, int tdAMPA, int trNMDA, int tdNMDA, int tdGABAa, int trGABAb, int tdGABAb)
 
ConnectionMonitorsetConnectionMonitor (int grpIdPre, int grpIdPost, const std::string &fname)
 
void setDefaultConductanceTimeConstants (int tdAMPA, int trNMDA, int tdNMDA, int tdGABAa, int trGABAb, int tdGABAb)
 
void setDefaultESTDPparams (float alphaPlus, float tauPlus, float alphaMinus, float tauMinus, STDPType stdpType)
 
void setDefaultHomeostasisParams (float homeoScale, float avgTimeScale)
 
void setDefaultISTDPparams (float betaLTP, float betaLTD, float lambda, float delta, STDPType stdpType)
 
void setDefaultSaveOptions (std::string fileName, bool saveSynapseInfo)
 
void setDefaultSTDPparams (float alphaPlus, float tauPlus, float alphaMinus, float tauMinus, STDPType stdpType)
 
void setDefaultSTPparams (int neurType, float STP_U, float STP_tau_u, float STP_tau_x)
 
void setESTDP (int grpId, bool isSet)
 
void setESTDP (int grpId, bool isSet, STDPType type, ExpCurve curve)
 
void setESTDP (int grpId, bool isSet, STDPType type, TimingBasedCurve curve)
 
void setExternalCurrent (int grpId, const std::vector< float > &current)
 
void setExternalCurrent (int grpId, float current)
 
GroupMonitorsetGroupMonitor (int grpId, const std::string &fname)
 
void setHomeoBaseFiringRate (int grpId, float baseFiring, float baseFiringSD)
 
void setHomeostasis (int grpId, bool isSet)
 
void setHomeostasis (int grpId, bool isSet, float homeoScale, float avgTimeScale)
 
void setIntegrationMethod (integrationMethod_t method, int numStepsPerMs)
 
void setISTDP (int grpId, bool isSet)
 
void setISTDP (int grpId, bool isSet, STDPType type, ExpCurve curve)
 
void setISTDP (int grpId, bool isSet, STDPType type, PulseCurve curve)
 
void setLogFile (const std::string &fileName)
 
void setLogsFpCustom (FILE *fpInf, FILE *fpErr, FILE *fpDeb, FILE *fpLog)
 
void setNeuromodulator (int grpId, float baseDP, float tauDP, float base5HT, float tau5HT, float baseACh, float tauACh, float baseNE, float tauNE)
 
void setNeuromodulator (int grpId, float tauDP, float tau5HT, float tauACh, float tauNE)
 
NeuronMonitorsetNeuronMonitor (int grpId, const std::string &fileName)
 
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)
 
void setNeuronParameters (int grpId, float izh_a, float izh_b, float izh_c, float izh_d)
 
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)
 
void setNeuronParameters (int grpId, float izh_C, float izh_k, float izh_vr, float izh_vt, float izh_a, float izh_b, float izh_vpeak, float izh_c, float izh_d)
 
void setNeuronParametersLIF (int grpId, int tau_m, int tau_ref, float vTh, float vReset, const RangeRmem &rMem)
 
void setSpikeGenerator (int grpId, SpikeGenerator *spikeGenFunc)
 
SpikeMonitorsetSpikeMonitor (int grpId, const std::string &fileName)
 
void setSpikeRate (int grpId, PoissonRate *spikeRate, int refPeriod)
 
void setSTDP (int grpId, bool isSet)
 
void setSTDP (int grpId, bool isSet, STDPType type, float alphaPlus, float tauPlus, float alphaMinus, float tauMinus)
 
void setSTP (int grpId, bool isSet)
 
void setSTP (int grpId, bool isSet, float STP_U, float STP_tau_u, float STP_tau_x)
 
void setupNetwork ()
 
void setWeight (short int connId, int neurIdPre, int neurIdPost, float weight, bool updateWeightRange)
 
void setWeightAndWeightChangeUpdate (UpdateInterval wtANDwtChangeUpdateInterval, bool enableWtChangeDecay, float wtChangeDecay)
 
void startTesting (bool updateWeights)
 
void stopTesting ()
 

Detailed Description

Definition at line 80 of file carlsim.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( CARLsim sim,
const std::string &  netName,
SimMode  prferredSimMode,
LoggerMode  loggerMode,
int  randSeed 
)
inline

Definition at line 84 of file carlsim.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 107 of file carlsim.cpp.

Member Function Documentation

◆ biasWeights()

void biasWeights ( short int  connId,
float  bias,
bool  updateWeightRange 
)
inline

Definition at line 931 of file carlsim.cpp.

◆ connect() [1/3]

short int connect ( int  grpId1,
int  grpId2,
ConnectionGenerator conn,
bool  synWtType 
)
inline

Definition at line 191 of file carlsim.cpp.

◆ connect() [2/3]

short int connect ( int  grpId1,
int  grpId2,
ConnectionGenerator conn,
float  mulSynFast,
float  mulSynSlow,
bool  synWtType 
)
inline

Definition at line 223 of file carlsim.cpp.

◆ connect() [3/3]

short int connect ( int  grpId1,
int  grpId2,
const std::string &  connType,
const RangeWeight wt,
float  connProb,
const RangeDelay delay,
const RadiusRF radRF,
bool  synWtType,
float  mulSynFast,
float  mulSynSlow 
)
inline

Definition at line 132 of file carlsim.cpp.

◆ connectCompartments()

short int connectCompartments ( int  grpIdLower,
int  grpIdUpper 
)
inline

Definition at line 257 of file carlsim.cpp.

◆ createGroup() [1/2]

int createGroup ( const std::string &  grpName,
const Grid3D grid,
int  neurType,
int  preferredPartition,
ComputingBackend  preferredBackend 
)
inline

Definition at line 328 of file carlsim.cpp.

◆ createGroup() [2/2]

int createGroup ( const std::string &  grpName,
int  nNeur,
int  neurType,
int  preferredPartition,
ComputingBackend  preferredBackend 
)
inline

Definition at line 318 of file carlsim.cpp.

◆ createGroupLIF() [1/2]

int createGroupLIF ( const std::string &  grpName,
const Grid3D grid,
int  neurType,
int  preferredPartition,
ComputingBackend  preferredBackend 
)
inline

Definition at line 366 of file carlsim.cpp.

◆ createGroupLIF() [2/2]

int createGroupLIF ( const std::string &  grpName,
int  nNeur,
int  neurType,
int  preferredPartition = ANY,
ComputingBackend  preferredBackend = CPU_CORES 
)
inline

Definition at line 323 of file carlsim.cpp.

◆ createSpikeGeneratorGroup() [1/2]

int createSpikeGeneratorGroup ( const std::string &  grpName,
const Grid3D grid,
int  neurType,
int  preferredPartition,
ComputingBackend  preferredBackend 
)
inline

Definition at line 409 of file carlsim.cpp.

◆ createSpikeGeneratorGroup() [2/2]

int createSpikeGeneratorGroup ( const std::string &  grpName,
int  nNeur,
int  neurType,
int  preferredPartition,
ComputingBackend  preferredBackend 
)
inline

Definition at line 404 of file carlsim.cpp.

◆ getCARLsimState()

CARLsimState getCARLsimState ( )
inline

Definition at line 1193 of file carlsim.cpp.

◆ getConductanceAMPA()

std::vector<float> getConductanceAMPA ( int  grpId)
inline

Definition at line 1195 of file carlsim.cpp.

◆ getConductanceGABAa()

std::vector<float> getConductanceGABAa ( int  grpId)
inline

Definition at line 1217 of file carlsim.cpp.

◆ getConductanceGABAb()

std::vector<float> getConductanceGABAb ( int  grpId)
inline

Definition at line 1228 of file carlsim.cpp.

◆ getConductanceNMDA()

std::vector<float> getConductanceNMDA ( int  grpId)
inline

Definition at line 1206 of file carlsim.cpp.

◆ getDelayRange()

RangeDelay getDelayRange ( short int  connId)
inline

Definition at line 1239 of file carlsim.cpp.

◆ getDelays()

uint8_t* getDelays ( int  gIDpre,
int  gIDpost,
int &  Npre,
int &  Npost 
)
inline

Definition at line 1248 of file carlsim.cpp.

◆ getGroupEndNeuronId()

int getGroupEndNeuronId ( int  grpId)
inline

Definition at line 1291 of file carlsim.cpp.

◆ getGroupGrid3D()

Grid3D getGroupGrid3D ( int  grpId)
inline

Definition at line 1260 of file carlsim.cpp.

◆ getGroupId()

int getGroupId ( std::string  grpName)
inline

Definition at line 1269 of file carlsim.cpp.

◆ getGroupName()

std::string getGroupName ( int  grpId)
inline

Definition at line 1273 of file carlsim.cpp.

◆ getGroupNeuromodulatorInfo()

GroupNeuromodulatorInfo getGroupNeuromodulatorInfo ( int  grpId)
inline

Definition at line 1369 of file carlsim.cpp.

◆ getGroupNumNeurons()

int getGroupNumNeurons ( int  grpId)
inline

Definition at line 1301 of file carlsim.cpp.

◆ getGroupStartNeuronId()

int getGroupStartNeuronId ( int  grpId)
inline

Definition at line 1281 of file carlsim.cpp.

◆ getGroupSTDPInfo()

GroupSTDPInfo getGroupSTDPInfo ( int  grpId)
inline

Definition at line 1361 of file carlsim.cpp.

◆ getLogFpDeb()

const FILE* getLogFpDeb ( )
inline

Definition at line 883 of file carlsim.cpp.

◆ getLogFpErr()

const FILE* getLogFpErr ( )
inline

Definition at line 882 of file carlsim.cpp.

◆ getLogFpInf()

const FILE* getLogFpInf ( )
inline

Definition at line 881 of file carlsim.cpp.

◆ getLogFpLog()

const FILE* getLogFpLog ( )
inline

Definition at line 884 of file carlsim.cpp.

◆ getMaxNumCompConnections()

int getMaxNumCompConnections ( )
inline

Definition at line 1332 of file carlsim.cpp.

◆ getNeuronLocation3D() [1/2]

Point3D getNeuronLocation3D ( int  grpId,
int  relNeurId 
)
inline

Definition at line 1320 of file carlsim.cpp.

◆ getNeuronLocation3D() [2/2]

Point3D getNeuronLocation3D ( int  neurId)
inline

Definition at line 1309 of file carlsim.cpp.

◆ getNumConnections()

int getNumConnections ( )
inline

Definition at line 1331 of file carlsim.cpp.

◆ getNumGroups()

int getNumGroups ( )
inline

Definition at line 1334 of file carlsim.cpp.

◆ getNumNeurons()

int getNumNeurons ( )
inline

Definition at line 1335 of file carlsim.cpp.

◆ getNumNeuronsGen()

int getNumNeuronsGen ( )
inline

Definition at line 1339 of file carlsim.cpp.

◆ getNumNeuronsGenExc()

int getNumNeuronsGenExc ( )
inline

Definition at line 1340 of file carlsim.cpp.

◆ getNumNeuronsGenInh()

int getNumNeuronsGenInh ( )
inline

Definition at line 1341 of file carlsim.cpp.

◆ getNumNeuronsReg()

int getNumNeuronsReg ( )
inline

Definition at line 1336 of file carlsim.cpp.

◆ getNumNeuronsRegExc()

int getNumNeuronsRegExc ( )
inline

Definition at line 1337 of file carlsim.cpp.

◆ getNumNeuronsRegInh()

int getNumNeuronsRegInh ( )
inline

Definition at line 1338 of file carlsim.cpp.

◆ getNumSynapses()

int getNumSynapses ( )
inline

Definition at line 1353 of file carlsim.cpp.

◆ getNumSynapticConnections()

int getNumSynapticConnections ( short int  connectionId)
inline

Definition at line 1343 of file carlsim.cpp.

◆ getSimTime()

int getSimTime ( )
inline

Definition at line 1376 of file carlsim.cpp.

◆ getSimTimeMsec()

int getSimTimeMsec ( )
inline

Definition at line 1378 of file carlsim.cpp.

◆ getSimTimeSec()

int getSimTimeSec ( )
inline

Definition at line 1377 of file carlsim.cpp.

◆ getSpikeMonitor()

SpikeMonitor* getSpikeMonitor ( int  grpId)
inline

Definition at line 1381 of file carlsim.cpp.

◆ getWeightRange()

RangeWeight getWeightRange ( short int  connId)
inline

Definition at line 1389 of file carlsim.cpp.

◆ isConnectionPlastic()

bool isConnectionPlastic ( short int  connId)
inline

Definition at line 1397 of file carlsim.cpp.

◆ isExcitatoryGroup()

bool isExcitatoryGroup ( int  grpId)
inline

Definition at line 1413 of file carlsim.cpp.

◆ isGroupWithHomeostasis()

bool isGroupWithHomeostasis ( int  grpId)
inline

Definition at line 1405 of file carlsim.cpp.

◆ isInhibitoryGroup()

bool isInhibitoryGroup ( int  grpId)
inline

Definition at line 1421 of file carlsim.cpp.

◆ isPoissonGroup()

bool isPoissonGroup ( int  grpId)
inline

Definition at line 1429 of file carlsim.cpp.

◆ loadSimulation()

void loadSimulation ( FILE *  fid)
inline

Definition at line 957 of file carlsim.cpp.

◆ runNetwork()

int runNetwork ( int  nSec,
int  nMsec,
bool  printRunSummary 
)
inline

Definition at line 847 of file carlsim.cpp.

◆ saveSimulation()

void saveSimulation ( const std::string &  fileName,
bool  saveSynapseInfo 
)
inline

Definition at line 886 of file carlsim.cpp.

◆ scaleWeights()

void scaleWeights ( short int  connId,
float  scale,
bool  updateWeightRange 
)
inline

Definition at line 966 of file carlsim.cpp.

◆ setCompartmentParameters()

void setCompartmentParameters ( int  grpId,
float  couplingUp,
float  couplingDown 
)
inline

Definition at line 427 of file carlsim.cpp.

◆ setConductances() [1/3]

void setConductances ( bool  isSet)
inline

Definition at line 437 of file carlsim.cpp.

◆ setConductances() [2/3]

void setConductances ( bool  isSet,
int  tdAMPA,
int  tdNMDA,
int  tdGABAa,
int  tdGABAb 
)
inline

Definition at line 451 of file carlsim.cpp.

◆ setConductances() [3/3]

void setConductances ( bool  isSet,
int  tdAMPA,
int  trNMDA,
int  tdNMDA,
int  tdGABAa,
int  trGABAb,
int  tdGABAb 
)
inline

Definition at line 470 of file carlsim.cpp.

◆ setConnectionMonitor()

ConnectionMonitor* setConnectionMonitor ( int  grpIdPre,
int  grpIdPost,
const std::string &  fname 
)
inline

Definition at line 979 of file carlsim.cpp.

◆ setDefaultConductanceTimeConstants()

void setDefaultConductanceTimeConstants ( int  tdAMPA,
int  trNMDA,
int  tdNMDA,
int  tdGABAa,
int  trGABAb,
int  tdGABAb 
)
inline

Definition at line 1441 of file carlsim.cpp.

◆ setDefaultESTDPparams()

void setDefaultESTDPparams ( float  alphaPlus,
float  tauPlus,
float  alphaMinus,
float  tauMinus,
STDPType  stdpType 
)
inline

Definition at line 1497 of file carlsim.cpp.

◆ setDefaultHomeostasisParams()

void setDefaultHomeostasisParams ( float  homeoScale,
float  avgTimeScale 
)
inline

Definition at line 1466 of file carlsim.cpp.

◆ setDefaultISTDPparams()

void setDefaultISTDPparams ( float  betaLTP,
float  betaLTD,
float  lambda,
float  delta,
STDPType  stdpType 
)
inline

Definition at line 1521 of file carlsim.cpp.

◆ setDefaultSaveOptions()

void setDefaultSaveOptions ( std::string  fileName,
bool  saveSynapseInfo 
)
inline

Definition at line 1476 of file carlsim.cpp.

◆ setDefaultSTDPparams()

void setDefaultSTDPparams ( float  alphaPlus,
float  tauPlus,
float  alphaMinus,
float  tauMinus,
STDPType  stdpType 
)
inline

Definition at line 1492 of file carlsim.cpp.

◆ setDefaultSTPparams()

void setDefaultSTPparams ( int  neurType,
float  STP_U,
float  STP_tau_u,
float  STP_tau_x 
)
inline

Definition at line 1547 of file carlsim.cpp.

◆ setESTDP() [1/3]

void setESTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 679 of file carlsim.cpp.

◆ setESTDP() [2/3]

void setESTDP ( int  grpId,
bool  isSet,
STDPType  type,
ExpCurve  curve 
)
inline

Definition at line 697 of file carlsim.cpp.

◆ setESTDP() [3/3]

void setESTDP ( int  grpId,
bool  isSet,
STDPType  type,
TimingBasedCurve  curve 
)
inline

Definition at line 716 of file carlsim.cpp.

◆ setExternalCurrent() [1/2]

void setExternalCurrent ( int  grpId,
const std::vector< float > &  current 
)
inline

Definition at line 1016 of file carlsim.cpp.

◆ setExternalCurrent() [2/2]

void setExternalCurrent ( int  grpId,
float  current 
)
inline

Definition at line 1028 of file carlsim.cpp.

◆ setGroupMonitor()

GroupMonitor* setGroupMonitor ( int  grpId,
const std::string &  fname 
)
inline

Definition at line 1040 of file carlsim.cpp.

◆ setHomeoBaseFiringRate()

void setHomeoBaseFiringRate ( int  grpId,
float  baseFiring,
float  baseFiringSD 
)
inline

Definition at line 536 of file carlsim.cpp.

◆ setHomeostasis() [1/2]

void setHomeostasis ( int  grpId,
bool  isSet 
)
inline

Definition at line 496 of file carlsim.cpp.

◆ setHomeostasis() [2/2]

void setHomeostasis ( int  grpId,
bool  isSet,
float  homeoScale,
float  avgTimeScale 
)
inline

Definition at line 516 of file carlsim.cpp.

◆ setIntegrationMethod()

void setIntegrationMethod ( integrationMethod_t  method,
int  numStepsPerMs 
)
inline

Definition at line 550 of file carlsim.cpp.

◆ setISTDP() [1/3]

void setISTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 735 of file carlsim.cpp.

◆ setISTDP() [2/3]

void setISTDP ( int  grpId,
bool  isSet,
STDPType  type,
ExpCurve  curve 
)
inline

Definition at line 753 of file carlsim.cpp.

◆ setISTDP() [3/3]

void setISTDP ( int  grpId,
bool  isSet,
STDPType  type,
PulseCurve  curve 
)
inline

Definition at line 772 of file carlsim.cpp.

◆ setLogFile()

void setLogFile ( const std::string &  fileName)
inline

Definition at line 898 of file carlsim.cpp.

◆ setLogsFpCustom()

void setLogsFpCustom ( FILE *  fpInf,
FILE *  fpErr,
FILE *  fpDeb,
FILE *  fpLog 
)
inline

Definition at line 921 of file carlsim.cpp.

◆ setNeuromodulator() [1/2]

void setNeuromodulator ( int  grpId,
float  baseDP,
float  tauDP,
float  base5HT,
float  tau5HT,
float  baseACh,
float  tauACh,
float  baseNE,
float  tauNE 
)
inline

Definition at line 636 of file carlsim.cpp.

◆ setNeuromodulator() [2/2]

void setNeuromodulator ( int  grpId,
float  tauDP,
float  tau5HT,
float  tauACh,
float  tauNE 
)
inline

Definition at line 654 of file carlsim.cpp.

◆ setNeuronMonitor()

NeuronMonitor* setNeuronMonitor ( int  grpId,
const std::string &  fileName 
)
inline

Definition at line 1126 of file carlsim.cpp.

◆ setNeuronParameters() [1/4]

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 
)
inline

Definition at line 563 of file carlsim.cpp.

◆ setNeuronParameters() [2/4]

void setNeuronParameters ( int  grpId,
float  izh_a,
float  izh_b,
float  izh_c,
float  izh_d 
)
inline

Definition at line 576 of file carlsim.cpp.

◆ setNeuronParameters() [3/4]

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 
)
inline

Definition at line 600 of file carlsim.cpp.

◆ setNeuronParameters() [4/4]

void setNeuronParameters ( int  grpId,
float  izh_C,
float  izh_k,
float  izh_vr,
float  izh_vt,
float  izh_a,
float  izh_b,
float  izh_vpeak,
float  izh_c,
float  izh_d 
)
inline

Definition at line 586 of file carlsim.cpp.

◆ setNeuronParametersLIF()

void setNeuronParametersLIF ( int  grpId,
int  tau_m,
int  tau_ref,
float  vTh,
float  vReset,
const RangeRmem rMem 
)
inline

Definition at line 617 of file carlsim.cpp.

◆ setSpikeGenerator()

void setSpikeGenerator ( int  grpId,
SpikeGenerator spikeGenFunc 
)
inline

Definition at line 1075 of file carlsim.cpp.

◆ setSpikeMonitor()

SpikeMonitor* setSpikeMonitor ( int  grpId,
const std::string &  fileName 
)
inline

Definition at line 1090 of file carlsim.cpp.

◆ setSpikeRate()

void setSpikeRate ( int  grpId,
PoissonRate spikeRate,
int  refPeriod 
)
inline
TODO:
: make sure spikeRate->isOnGPU() consistent with simulation mode

Definition at line 1164 of file carlsim.cpp.

◆ setSTDP() [1/2]

void setSTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 667 of file carlsim.cpp.

◆ setSTDP() [2/2]

void setSTDP ( int  grpId,
bool  isSet,
STDPType  type,
float  alphaPlus,
float  tauPlus,
float  alphaMinus,
float  tauMinus 
)
inline

Definition at line 672 of file carlsim.cpp.

◆ setSTP() [1/2]

void setSTP ( int  grpId,
bool  isSet 
)
inline

Definition at line 790 of file carlsim.cpp.

◆ setSTP() [2/2]

void setSTP ( int  grpId,
bool  isSet,
float  STP_U,
float  STP_tau_u,
float  STP_tau_x 
)
inline

Definition at line 814 of file carlsim.cpp.

◆ setupNetwork()

void setupNetwork ( )
inline

Definition at line 869 of file carlsim.cpp.

◆ setWeight()

void setWeight ( short int  connId,
int  neurIdPre,
int  neurIdPost,
float  weight,
bool  updateWeightRange 
)
inline

Definition at line 1178 of file carlsim.cpp.

◆ setWeightAndWeightChangeUpdate()

void setWeightAndWeightChangeUpdate ( UpdateInterval  wtANDwtChangeUpdateInterval,
bool  enableWtChangeDecay,
float  wtChangeDecay 
)
inline

Definition at line 831 of file carlsim.cpp.

◆ startTesting()

void startTesting ( bool  updateWeights)
inline

Definition at line 942 of file carlsim.cpp.

◆ stopTesting()

void stopTesting ( )
inline

Definition at line 949 of file carlsim.cpp.


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