CARLsim  4.1.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 79 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 83 of file carlsim.cpp.

◆ ~Impl()

~Impl ( )
inline

Definition at line 106 of file carlsim.cpp.

Member Function Documentation

◆ biasWeights()

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

Definition at line 930 of file carlsim.cpp.

◆ connect() [1/3]

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

Definition at line 190 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 222 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 131 of file carlsim.cpp.

◆ connectCompartments()

short int connectCompartments ( int  grpIdLower,
int  grpIdUpper 
)
inline

Definition at line 256 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 327 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 317 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 365 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 322 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 408 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 403 of file carlsim.cpp.

◆ getCARLsimState()

CARLsimState getCARLsimState ( )
inline

Definition at line 1192 of file carlsim.cpp.

◆ getConductanceAMPA()

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

Definition at line 1194 of file carlsim.cpp.

◆ getConductanceGABAa()

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

Definition at line 1216 of file carlsim.cpp.

◆ getConductanceGABAb()

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

Definition at line 1227 of file carlsim.cpp.

◆ getConductanceNMDA()

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

Definition at line 1205 of file carlsim.cpp.

◆ getDelayRange()

RangeDelay getDelayRange ( short int  connId)
inline

Definition at line 1238 of file carlsim.cpp.

◆ getDelays()

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

Definition at line 1247 of file carlsim.cpp.

◆ getGroupEndNeuronId()

int getGroupEndNeuronId ( int  grpId)
inline

Definition at line 1290 of file carlsim.cpp.

◆ getGroupGrid3D()

Grid3D getGroupGrid3D ( int  grpId)
inline

Definition at line 1259 of file carlsim.cpp.

◆ getGroupId()

int getGroupId ( std::string  grpName)
inline

Definition at line 1268 of file carlsim.cpp.

◆ getGroupName()

std::string getGroupName ( int  grpId)
inline

Definition at line 1272 of file carlsim.cpp.

◆ getGroupNeuromodulatorInfo()

GroupNeuromodulatorInfo getGroupNeuromodulatorInfo ( int  grpId)
inline

Definition at line 1368 of file carlsim.cpp.

◆ getGroupNumNeurons()

int getGroupNumNeurons ( int  grpId)
inline

Definition at line 1300 of file carlsim.cpp.

◆ getGroupStartNeuronId()

int getGroupStartNeuronId ( int  grpId)
inline

Definition at line 1280 of file carlsim.cpp.

◆ getGroupSTDPInfo()

GroupSTDPInfo getGroupSTDPInfo ( int  grpId)
inline

Definition at line 1360 of file carlsim.cpp.

◆ getLogFpDeb()

const FILE* getLogFpDeb ( )
inline

Definition at line 882 of file carlsim.cpp.

◆ getLogFpErr()

const FILE* getLogFpErr ( )
inline

Definition at line 881 of file carlsim.cpp.

◆ getLogFpInf()

const FILE* getLogFpInf ( )
inline

Definition at line 880 of file carlsim.cpp.

◆ getLogFpLog()

const FILE* getLogFpLog ( )
inline

Definition at line 883 of file carlsim.cpp.

◆ getMaxNumCompConnections()

int getMaxNumCompConnections ( )
inline

Definition at line 1331 of file carlsim.cpp.

◆ getNeuronLocation3D() [1/2]

Point3D getNeuronLocation3D ( int  grpId,
int  relNeurId 
)
inline

Definition at line 1319 of file carlsim.cpp.

◆ getNeuronLocation3D() [2/2]

Point3D getNeuronLocation3D ( int  neurId)
inline

Definition at line 1308 of file carlsim.cpp.

◆ getNumConnections()

int getNumConnections ( )
inline

Definition at line 1330 of file carlsim.cpp.

◆ getNumGroups()

int getNumGroups ( )
inline

Definition at line 1333 of file carlsim.cpp.

◆ getNumNeurons()

int getNumNeurons ( )
inline

Definition at line 1334 of file carlsim.cpp.

◆ getNumNeuronsGen()

int getNumNeuronsGen ( )
inline

Definition at line 1338 of file carlsim.cpp.

◆ getNumNeuronsGenExc()

int getNumNeuronsGenExc ( )
inline

Definition at line 1339 of file carlsim.cpp.

◆ getNumNeuronsGenInh()

int getNumNeuronsGenInh ( )
inline

Definition at line 1340 of file carlsim.cpp.

◆ getNumNeuronsReg()

int getNumNeuronsReg ( )
inline

Definition at line 1335 of file carlsim.cpp.

◆ getNumNeuronsRegExc()

int getNumNeuronsRegExc ( )
inline

Definition at line 1336 of file carlsim.cpp.

◆ getNumNeuronsRegInh()

int getNumNeuronsRegInh ( )
inline

Definition at line 1337 of file carlsim.cpp.

◆ getNumSynapses()

int getNumSynapses ( )
inline

Definition at line 1352 of file carlsim.cpp.

◆ getNumSynapticConnections()

int getNumSynapticConnections ( short int  connectionId)
inline

Definition at line 1342 of file carlsim.cpp.

◆ getSimTime()

int getSimTime ( )
inline

Definition at line 1375 of file carlsim.cpp.

◆ getSimTimeMsec()

int getSimTimeMsec ( )
inline

Definition at line 1377 of file carlsim.cpp.

◆ getSimTimeSec()

int getSimTimeSec ( )
inline

Definition at line 1376 of file carlsim.cpp.

◆ getSpikeMonitor()

SpikeMonitor* getSpikeMonitor ( int  grpId)
inline

Definition at line 1380 of file carlsim.cpp.

◆ getWeightRange()

RangeWeight getWeightRange ( short int  connId)
inline

Definition at line 1388 of file carlsim.cpp.

◆ isConnectionPlastic()

bool isConnectionPlastic ( short int  connId)
inline

Definition at line 1396 of file carlsim.cpp.

◆ isExcitatoryGroup()

bool isExcitatoryGroup ( int  grpId)
inline

Definition at line 1412 of file carlsim.cpp.

◆ isGroupWithHomeostasis()

bool isGroupWithHomeostasis ( int  grpId)
inline

Definition at line 1404 of file carlsim.cpp.

◆ isInhibitoryGroup()

bool isInhibitoryGroup ( int  grpId)
inline

Definition at line 1420 of file carlsim.cpp.

◆ isPoissonGroup()

bool isPoissonGroup ( int  grpId)
inline

Definition at line 1428 of file carlsim.cpp.

◆ loadSimulation()

void loadSimulation ( FILE *  fid)
inline

Definition at line 956 of file carlsim.cpp.

◆ runNetwork()

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

Definition at line 846 of file carlsim.cpp.

◆ saveSimulation()

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

Definition at line 885 of file carlsim.cpp.

◆ scaleWeights()

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

Definition at line 965 of file carlsim.cpp.

◆ setCompartmentParameters()

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

Definition at line 426 of file carlsim.cpp.

◆ setConductances() [1/3]

void setConductances ( bool  isSet)
inline

Definition at line 436 of file carlsim.cpp.

◆ setConductances() [2/3]

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

Definition at line 450 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 469 of file carlsim.cpp.

◆ setConnectionMonitor()

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

Definition at line 978 of file carlsim.cpp.

◆ setDefaultConductanceTimeConstants()

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

Definition at line 1440 of file carlsim.cpp.

◆ setDefaultESTDPparams()

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

Definition at line 1496 of file carlsim.cpp.

◆ setDefaultHomeostasisParams()

void setDefaultHomeostasisParams ( float  homeoScale,
float  avgTimeScale 
)
inline

Definition at line 1465 of file carlsim.cpp.

◆ setDefaultISTDPparams()

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

Definition at line 1520 of file carlsim.cpp.

◆ setDefaultSaveOptions()

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

Definition at line 1475 of file carlsim.cpp.

◆ setDefaultSTDPparams()

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

Definition at line 1491 of file carlsim.cpp.

◆ setDefaultSTPparams()

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

Definition at line 1546 of file carlsim.cpp.

◆ setESTDP() [1/3]

void setESTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 678 of file carlsim.cpp.

◆ setESTDP() [2/3]

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

Definition at line 696 of file carlsim.cpp.

◆ setESTDP() [3/3]

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

Definition at line 715 of file carlsim.cpp.

◆ setExternalCurrent() [1/2]

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

Definition at line 1015 of file carlsim.cpp.

◆ setExternalCurrent() [2/2]

void setExternalCurrent ( int  grpId,
float  current 
)
inline

Definition at line 1027 of file carlsim.cpp.

◆ setGroupMonitor()

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

Definition at line 1039 of file carlsim.cpp.

◆ setHomeoBaseFiringRate()

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

Definition at line 535 of file carlsim.cpp.

◆ setHomeostasis() [1/2]

void setHomeostasis ( int  grpId,
bool  isSet 
)
inline

Definition at line 495 of file carlsim.cpp.

◆ setHomeostasis() [2/2]

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

Definition at line 515 of file carlsim.cpp.

◆ setIntegrationMethod()

void setIntegrationMethod ( integrationMethod_t  method,
int  numStepsPerMs 
)
inline

Definition at line 549 of file carlsim.cpp.

◆ setISTDP() [1/3]

void setISTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 734 of file carlsim.cpp.

◆ setISTDP() [2/3]

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

Definition at line 752 of file carlsim.cpp.

◆ setISTDP() [3/3]

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

Definition at line 771 of file carlsim.cpp.

◆ setLogFile()

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

Definition at line 897 of file carlsim.cpp.

◆ setLogsFpCustom()

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

Definition at line 920 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 635 of file carlsim.cpp.

◆ setNeuromodulator() [2/2]

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

Definition at line 653 of file carlsim.cpp.

◆ setNeuronMonitor()

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

Definition at line 1125 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 562 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 575 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 599 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 585 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 616 of file carlsim.cpp.

◆ setSpikeGenerator()

void setSpikeGenerator ( int  grpId,
SpikeGenerator spikeGenFunc 
)
inline

Definition at line 1074 of file carlsim.cpp.

◆ setSpikeMonitor()

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

Definition at line 1089 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 1163 of file carlsim.cpp.

◆ setSTDP() [1/2]

void setSTDP ( int  grpId,
bool  isSet 
)
inline

Definition at line 666 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 671 of file carlsim.cpp.

◆ setSTP() [1/2]

void setSTP ( int  grpId,
bool  isSet 
)
inline

Definition at line 789 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 813 of file carlsim.cpp.

◆ setupNetwork()

void setupNetwork ( )
inline

Definition at line 868 of file carlsim.cpp.

◆ setWeight()

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

Definition at line 1177 of file carlsim.cpp.

◆ setWeightAndWeightChangeUpdate()

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

Definition at line 830 of file carlsim.cpp.

◆ startTesting()

void startTesting ( bool  updateWeights)
inline

Definition at line 941 of file carlsim.cpp.

◆ stopTesting()

void stopTesting ( )
inline

Definition at line 948 of file carlsim.cpp.


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