| |
- builtins.object
-
- Experiment
- ExperimentRunner
- Logger
- Network
- NetworkProxy
- Neuron
- Setup
- SwigPyIterator
- string
class Experiment(builtins.object) |
|
Experiment(*args)
Proxy of C++ Experiment class. |
|
Methods defined here:
- __init__(self, *args)
- __init__(Experiment self) -> Experiment
__init__(Experiment self, Experiment a) -> Experiment
- __repr__ = _swig_repr(self)
- addChange(self, neuronIdentifier, changeString)
- addChange(Experiment self, string neuronIdentifier, string changeString)
- getChange(self, index)
- getChange(Experiment self, int index) -> string
- getChangeStrings(self)
- Returns the change expressions associated with this Experiment.
- getName(self)
- getName(Experiment self) -> string
- getNumberOfChanges(self)
- getNumberOfChanges(Experiment self) -> int
- getTime(self)
- getTime(Experiment self) -> fp_type
- load(self, experimentFilename)
- load(Experiment self, string experimentFilename)
- save(self, *args)
- save(Experiment self, string experimentFilename)
save(Experiment self)
- setChangeStrings(self, newChangeStrings)
- Sets the change expressions associated with this Experiment.
- setName(self, experimentName)
- setName(Experiment self, string experimentName)
- setTime(self, time2)
- setTime(Experiment self, fp_type time2)
- setup(self, experimentName, experimentSearchPath, dt, ourArgs)
- setup(Experiment self, string experimentName, searchPath const & experimentSearchPath, double const & dt, FArray< fp_type > const & ourArgs)
Static methods defined here:
- __swig_destroy__ = delete_Experiment(...)
- delete_Experiment(Experiment self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- thisown
- The membership flag
|
class Logger(builtins.object) |
|
Proxy of C++ Logger class. |
|
Methods defined here:
- __init__(self)
- __init__(Logger self) -> Logger
- __lshift__(self, *args)
- __lshift__(Logger self, long const & jack) -> Logger
__lshift__(Logger self, unsigned long const & jack) -> Logger
__lshift__(Logger self, int const & jack) -> Logger
__lshift__(Logger self, float const & jack) -> Logger
__lshift__(Logger self, double const & jack) -> Logger
__lshift__(Logger self, string jack) -> Logger
__lshift__(Logger self, char const *& jack) -> Logger
__lshift__(Logger self, char const & jack) -> Logger
__lshift__(Logger self, Logger::Loggerfunc a) -> Logger
__lshift__(Logger self, Logger::states const & a) -> Logger
- __repr__ = _swig_repr(self)
- getCerr(self)
- getCerr(Logger self) -> ostream *
- getCout(self)
- getCout(Logger self) -> ostream *
- setFilename(self, filename)
- setFilename(Logger self, string filename)
Static methods defined here:
- __swig_destroy__ = delete_Logger(...)
- delete_Logger(Logger self)
- instance()
- instance() -> Logger
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- debug
- debug : p.ostream
- error
- error : p.ostream
- info
- info : p.ostream
- thisown
- The membership flag
Data and other attributes defined here:
- DEBUG = 2
- ERR = 1
- ERROR = 1
- INFO = 0
|
class Network(builtins.object) |
|
Proxy of C++ Network class. |
|
Methods defined here:
- __init__(self)
- __init__(Network self) -> Network
- __repr__ = _swig_repr(self)
- add(self, neuron)
- add(Network self, Neuron neuron)
- addConnections_FixedInbound(self, fromNeuronType, toNeuronType, numberOfConnections, latencyString, connectionType='Excitatory')
- addConnections_FixedOutbound(self, fromNeuronType, toNeuronType, numberOfConnections, latencyString, connectionType='Excitatory')
- addNeuron(self, neuronName)
- addNeuron(Network self, char * neuronName)
- addNeurons(self, neuronName, number)
- addNeurons(Network self, char * neuronName, int number)
- changeAttribute(self, neuronType, change)
- clearAllConnections(self, *args)
- clearAllConnections(Network self, range const & ourRange=range(long(1),long(0)))
- connectAll2All(self, connectionType, allowAutapses=False)
- connectAll2All(Network self, char const * connectionType, bool allowAutapses=False)
- connectWithWiringProbability(self, fromType, toType, connectionType, probability, latencyString='0')
- get(self, index)
- get(Network self, int index) -> Neuron
- getAllNeurons(self)
- getAllOutboundConnectionTypes(self)
- getCompletionFraction(self)
- getCompletionFraction(Network self) -> double
- getIDsForNeuronType(self, neuronType)
- Returns all the ID#s for the neurons within the given neuron type.
- getInboundConnectionTypesByNeuronType(self, neuronType)
- getName(self)
- getName(Network self) -> string
- getNeuron(self, neuronID)
- Returns the Neuron with the given neuronID from the network.
- getNeuronTypes(self)
- Returns a list of neuron types in the network.
- getNeuronTypesDictionary(self)
- Returns a dictionary of neuron types as keys with a list of neurons of that type as value.
- getNeuronsByID(self, ids)
- getNeuronsByType(self, neuronType)
- Returns a list of neurons with the given neuron type from the network.
- getOutboundConnectionTypesByNeuronType(self, neuronType)
- getRandomIDfromNeuronType(self, neuronType)
- Randomly selects a neuron ID from the list of neurons with the 'neuronType' passed as argument.
- load(self, filename, storageSpace=32670, dt=-1, quietload=0)
- load(Network self, char const * filename, long const & storageSpace=32670, fp_type dt=-1, int quietload=0) -> int
- loadAdjacencyMatrix(self, ifilename, connectionType=None, connectionDictionary=None)
- move(self, initpos, finalpos)
- move(Network self, int initpos, int finalpos)
- remove(self, neuron)
- remove(Network self, Neuron neuron)
- removeAllConnections(self)
- removeConnectionsFrom(self, fromType, toType, connectionType='Excitatory')
- removeNeuronsByID(self, ids)
- removeNeuronsByType(self, neuronType)
- save(self, *args)
- save(Network self, char const * filename, bool const & compress=True, int const nrnDetailLvl=2) -> int
save(Network self) -> int
- saveAdjacencyMatrix(self, ofilename, connectionType, columnSeparator=' ')
- setCompletionFraction(self, newFraction)
- setCompletionFraction(Network self, double newFraction)
- setName(self, name2)
- setName(Network self, string name2)
- shuffle(self)
- shuffle(Network self)
- size(self)
- size(Network self) -> int
- stats(self, columnWidth=15)
- summarize(self, columnWidth=12)
- updateIDs(self)
- updateIDs(Network self)
Static methods defined here:
- __swig_destroy__ = delete_Network(...)
- delete_Network(Network self)
- getCurrentTime()
- getCurrentTime() -> double
- setCurrentTime(currentTime2)
- setCurrentTime(double currentTime2)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- currentTime
- currentTime : double
- neurons
- neurons : GArray<(p.Neuron)>
- thisown
- The membership flag
- tpoint
- tpoint : FArray<(double)>
|
class Neuron(builtins.object) |
|
Neuron(*args, **kwargs)
Proxy of C++ Neuron class. |
|
Methods defined here:
- __init__(self, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __repr__ = _swig_repr(self)
- addConnectionFrom(self, connectionType, fromNeuron, latency=0, defaultWeight=1.0)
- addConnectionFrom(Neuron self, unsigned long const & connectionType, Neuron fromNeuron, fp_type const & latency=0, fp_type const & defaultWeight=1.0)
- addConnectionTo(self, *args)
- addConnectionTo(Neuron self, char const * connectionType, Neuron toNeuron, fp_type const & latency=0.0, fp_type const & weight=1.0)
addConnectionTo(Neuron self, unsigned long const & connectionType, Neuron toNeuron, fp_type const & latency=0.0, fp_type const & weight=1.0)
- addConnectionsTo(self, connectionType, compartments)
- Adds the same type of connection to all the target compartments.
- addGroup(self, groupName)
- addGroup(Neuron self, string groupName)
- addInputVar(self, *args)
- addInputVar(Neuron self, string aname, fp_type * actual)
addInputVar(Neuron self, string aname) -> bool
- addOutputVar(self, gname, shouldOut=True)
- addOutputVar(Neuron self, string gname, bool const & shouldOut=True) -> bool
- addStatVar(self, gname)
- addStatVar(Neuron self, string gname) -> bool
- addToParameterVar(self, parameterName, value)
- addToParameterVar(Neuron self, char const * parameterName, double value)
- attemptAddInputVar(self, aname, actual)
- attemptAddInputVar(Neuron self, string aname, fp_type * actual)
- disconnectAll(self)
- disconnectAll(Neuron self)
- disconnectType(self, *args)
- disconnectType(Neuron self, char const * connectionType)
disconnectType(Neuron self, unsigned long const & connectionType)
- getGroup(self, index)
- getGroup(Neuron self, int const & index) -> string
- getGroups(self)
- Get the groups that this neuron is associated with as a list.
- getInboundConnection(self, index, connectionType)
- getInboundConnection(Neuron self, int index, char const * connectionType) -> Neuron
- getInboundConnectionID(self, index, connectionType)
- getInboundConnectionID(Neuron self, int index, char const * connectionType) -> int
- getInboundConnectionType(self, connectionType)
- getInboundConnectionType(Neuron self, unsigned long const & connectionType) -> char const *
- getInboundConnectionTypeIndex(self, connectionType)
- getInboundConnectionTypeIndex(Neuron self, char const * connectionType) -> int
- getInboundConnectionTypes(self)
- Returns a list of connection types from other neurons.
- getInboundConnections(self, connectionType)
- Returns a list of Connections representing all the connections from other neurons.
- getName(self)
- getName(Neuron self) -> char const *
- getNeuronType(self)
- getNeuronType(Neuron self) -> char const *
- getNumberOfGroups(self)
- getNumberOfGroups(Neuron self) -> int
- getNumberOfInboundConnectionTypes(self)
- getNumberOfInboundConnectionTypes(Neuron self) -> int
- getNumberOfInboundConnections(self, *args)
- getNumberOfInboundConnections(Neuron self) -> int
getNumberOfInboundConnections(Neuron self, char const * connectionType) -> int
- getNumberOfOutboundConnectionTypes(self)
- getNumberOfOutboundConnectionTypes(Neuron self) -> int
- getNumberOfOutboundConnections(self, *args)
- getNumberOfOutboundConnections(Neuron self) -> int
getNumberOfOutboundConnections(Neuron self, char const * connectionType) -> int
- getNumberOfParameterVars(self)
- getNumberOfParameterVars(Neuron self) -> int
- getNumberOfStateVars(self)
- getNumberOfStateVars(Neuron self) -> int
- getNumberOfWienerVars(self)
- getNumberOfWienerVars(Neuron self) -> int
- getOutboundConnection(self, index, connectionType)
- getOutboundConnection(Neuron self, int index, char const * connectionType) -> Neuron
- getOutboundConnectionID(self, index, connectionType)
- getOutboundConnectionID(Neuron self, int index, char const * connectionType) -> int
- getOutboundConnectionIDs(self, connectionType)
- Returns a list of ID#s of the neurons this neuron is connected to.
- getOutboundConnectionType(self, connectionType)
- getOutboundConnectionType(Neuron self, unsigned long const & connectionType) -> char const *
- getOutboundConnectionTypeIndex(self, connectionType)
- getOutboundConnectionTypeIndex(Neuron self, char const * connectionType) -> int
- getOutboundConnectionTypes(self)
- Returns a list of connection types to other neurons.
- getOutboundConnections(self, connectionType)
- Returns a list of Connections representing all the connections to other neurons.
- getParameter(self, name)
- Gets the Neuron's parameter with the specified 'name'.
- getParameterName(self, index)
- getParameterName(Neuron self, int const & index) -> char const *
- getParameterNames(self)
- Returns a list of the Neuron's parameter names.
- getParameterVar(self, parameterName)
- getParameterVar(Neuron self, char const * parameterName) -> double
- getStateVar(self, *args)
- getStateVar(Neuron self, char const * stateVarName) -> double
getStateVar(Neuron self, unsigned int & index) -> fp_type
- getStateVariable(self, stateVariable)
- Gets the value of the state variable with name, 'stateVariable'.
- getStateVariableName(self, index)
- getStateVariableName(Neuron self, int const & index) -> char const *
- getStateVariableNames(self)
- Returns an array with each state variable's name.
- isParameter(self, name)
- Returns True if the Neuron contains a parameter with the specified 'name'.
- isStateVariable(self, name)
- Returns True if the Neuron contains a state variable with the specified 'name'.
- removeConnectionFrom(self, connectionType, fromNeuron)
- removeConnectionFrom(Neuron self, unsigned long const & connectionType, Neuron fromNeuron)
- removeConnectionTo(self, *args)
- removeConnectionTo(Neuron self, char const * connectionType, Neuron toNeuron)
removeConnectionTo(Neuron self, unsigned long const & connectionType, Neuron toNeuron)
- removeInputs(self)
- removeInputs(Neuron self)
- setInputVariables(self)
- setInputVariables(Neuron self)
- setName(self, gname)
- setName(Neuron self, char const * gname)
- setParameter(self, name, value)
- Sets the Neuron's parameter with the specified 'name' to the specified 'value'.
- setParameterVar(self, parameterName, value)
- setParameterVar(Neuron self, char const * parameterName, double value)
- setStateVar(self, statevar, index)
- setStateVar(Neuron self, double & statevar, unsigned int & index)
- setStateVariable(self, name, value)
- Sets the Neuron's state variable with the specified 'name' to the specified 'value'.
Static methods defined here:
- __swig_destroy__ = delete_Neuron(...)
- delete_Neuron(Neuron self)
- setPrintStepSize(a)
- setPrintStepSize(int const & a)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- aliasingType
- aliasingType : int
- connectionValue
- connectionValue : TArray<(fp_type)>
- coshTable
- coshTable : p.fTable
- cumulativeIter
- cumulativeIter : sizeofIter
- dt
- dt : double
- id
- id : int
- intraExperimentIter
- intraExperimentIter : sizeofIter
- name
- name : std::string
- noise_param
- noise_param : fp_type
- oneOverPSS
- oneOverPSS : double
- outputBufferIter
- outputBufferIter : sizeofIter
- printStepIter
- printStepIter : sizeofIter
- printStepSize
- printStepSize : sizeofIter
- t
- t : p.FArray<(double)>
- thisown
- The membership flag
- tpoint
- tpoint : p.double
- xInfTable
- xInfTable : p.fTable
|
class Setup(builtins.object) |
|
Proxy of C++ Setup class. |
|
Methods defined here:
- __init__(self)
- __init__(Setup self) -> Setup
- __repr__ = _swig_repr(self)
- addExperiment(self, experiment)
- addExperiment(Setup self, Experiment experiment)
- addExperiments(self, experiment, numberOfExperiments)
- addExperiments(Setup self, Experiment experiment, int numberOfExperiments)
- addNetwork(self, network)
- addNetwork(Setup self, Network network)
- addNetworkProxy(self, proxy)
- addNetworkProxy(Setup self, NetworkProxy proxy)
- addOutputStatsVariable(self, variableName)
- addOutputStatsVariable(Setup self, string variableName)
- addOutputVariable(self, variableName)
- addOutputVariable(Setup self, string variableName)
- addRasterVariable(self, variableName)
- addRasterVariable(Setup self, string variableName)
- backup(self, path)
- backup(Setup self, string path)
- clearExperiments(self)
- clearExperiments(Setup self)
- clearOutputVariables(self)
- clearOutputVariables(Setup self)
- getAliasType(self)
- getAliasType(Setup self) -> string
- getAnalysisVariable(self, index)
- getAnalysisVariable(Setup self, int index) -> string
- getCompletionFraction(self)
- getCompletionFraction(Setup self) -> double
- getDecorate(self)
- getDecorate(Setup self) -> int
- getDt(self)
- getDt(Setup self) -> double
- getExperiment(self, index)
- getExperiment(Setup self, int index) -> string
- getExperimentsList(self)
- getExperimentsMap(self)
- getFolderPathName(self)
- getFolderPathName(Setup self) -> string
- getMethod(self)
- getMethod(Setup self) -> string
- getName(self)
- getName(Setup self) -> string
- getNetwork(self)
- getNetwork(Setup self) -> Network
- getNetworkName(self)
- getNetworkName(Setup self) -> string
- getNetworkProxies(self)
- getNetworkProxies(Setup self) -> GArray< NetworkProxy * > &
- getNumberOfAnalysisVariables(self)
- getNumberOfAnalysisVariables(Setup self) -> int
- getNumberOfExperiments(self)
- getNumberOfExperiments(Setup self) -> int
- getNumberOfOutputStats(self)
- getNumberOfOutputStats(Setup self) -> int
- getNumberOfOutputVariables(self)
- getNumberOfOutputVariables(Setup self) -> int
- getNumberOfRasterVariables(self)
- getNumberOfRasterVariables(Setup self) -> int
- getOutputStat(self, index)
- getOutputStat(Setup self, int index) -> string
- getOutputVariable(self, index)
- getOutputVariable(Setup self, int index) -> string
- getOutputVariablesList(self)
- getPrintStepSize(self)
- getPrintStepSize(Setup self) -> int
- getRasterVariable(self, index)
- getRasterVariable(Setup self, int index) -> string
- getRasterVariablesList(self)
- getSaveLvl(self)
- getSaveLvl(Setup self) -> int
- getSetupSeed(self)
- getSetupSeed(Setup self) -> long
- getSimulationRngState(self)
- getSimulationRngState(Setup self) -> string
- getSimulationSeed(self)
- getSimulationSeed(Setup self) -> long
- load(self, *args)
- load(Setup self, char * setupFilename)
load(Setup self, string setupFilename)
- save(self, *args)
- save(Setup self, char * setupFilename)
save(Setup self, string setupFilename)
save(Setup self)
- setAliasType(self, aliasType2)
- setAliasType(Setup self, string aliasType2)
- setCompletionFraction(self, newFraction)
- setCompletionFraction(Setup self, double newFraction)
- setCurrentNetworkIndex(self, index)
- setCurrentNetworkIndex(Setup self, int const index)
- setDecorate(self, index)
- setDecorate(Setup self, int index)
- setDt(self, dt2)
- setDt(Setup self, double dt2)
- setFolderPathName(self, folderName)
- setFolderPathName(Setup self, string folderName)
- setMethod(self, *args)
- setMethod(Setup self, string method)
setMethod(Setup self, char * method)
- setName(self, name)
- setName(Setup self, string name)
- setNetwork(self, network)
- setNetwork(Setup self, Network network)
- setPrintStepSize(self, printStepSize2)
- setPrintStepSize(Setup self, int printStepSize2)
- setSaveLvl(self, index)
- setSaveLvl(Setup self, int index)
- setSimulationRngState(self, value)
- setSimulationRngState(Setup self, string value)
Static methods defined here:
- __swig_destroy__ = delete_Setup(...)
- delete_Setup(Setup self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- thisown
- The membership flag
|
class SwigPyIterator(builtins.object) |
|
SwigPyIterator(*args, **kwargs)
|
|
Methods defined here:
- __add__(self, n)
- __eq__(self, x)
- Return self==value.
- __iadd__(self, n)
- __init__(self, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
- __isub__(self, n)
- __iter__(self)
- __ne__(self, x)
- Return self!=value.
- __next__(self)
- __repr__ = _swig_repr(self)
- __sub__(self, *args)
- advance(self, n)
- copy(self)
- decr(self, n=1)
- distance(self, x)
- equal(self, x)
- incr(self, n=1)
- next(self)
- previous(self)
- value(self)
Static methods defined here:
- __swig_destroy__ = delete_SwigPyIterator(...)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- thisown
- The membership flag
Data and other attributes defined here:
- __hash__ = None
|
class string(builtins.object) |
|
string(*args)
|
|
Methods defined here:
- __add__(self, v)
- __bool__(self)
- __delitem__(self, *args)
- __delslice__(self, i, j)
- __eq__(self, v)
- Return self==value.
- __ge__(self, v)
- Return self>=value.
- __getitem__(self, *args)
- __getslice__(self, i, j)
- __gt__(self, v)
- Return self>value.
- __iadd__(self, v)
- __init__(self, *args)
- Initialize self. See help(type(self)) for accurate signature.
- __iter__(self)
- __le__(self, v)
- Return self<=value.
- __len__(self)
- __lt__(self, v)
- Return self<value.
- __ne__(self, v)
- Return self!=value.
- __nonzero__(self)
- __radd__(self, v)
- __repr__ = _swig_repr(self)
- __rlshift__(self, out)
- __setitem__(self, *args)
- __setslice__(self, *args)
- __str__(self)
- Return str(self).
- assign(self, *args)
- begin(self)
- c_str(self)
- capacity(self)
- copy(self, _string__s, _string__n, _string__pos=0)
- empty(self)
- end(self)
- erase(self, *args)
- find(self, *args)
- find_first_not_of(self, *args)
- find_first_of(self, *args)
- find_last_not_of(self, *args)
- find_last_of(self, *args)
- get_allocator(self)
- insert(self, *args)
- iterator(self)
- length(self)
- max_size(self)
- rbegin(self)
- rend(self)
- replace(self, *args)
- reserve(self, _string__res_arg)
- resize(self, *args)
- rfind(self, *args)
- shrink_to_fit(self)
- size(self)
- substr(self, *args)
- swap(self, v)
Static methods defined here:
- __swig_destroy__ = delete_string(...)
- delete_string(string self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
- thisown
- The membership flag
Data and other attributes defined here:
- __hash__ = None
- npos = 18446744073709551615
| |