netpyne.specs.netParams

Module containing classes for high-level network parameters and methods

Classes:

PopParams(*args, **kwargs)

Class to hold population parameters

CellParams(*args, **kwargs)

Class to hold cell parameters

ConnParams(*args, **kwargs)

Class to hold connectivity parameters

SynMechParams(*args, **kwargs)

Class to hold synaptic mechanism parameters

SubConnParams(*args, **kwargs)

Class to hold subcellular connectivity parameters

StimSourceParams(*args, **kwargs)

Class to hold stimulation source parameters

StimTargetParams(*args, **kwargs)

Class to hold stimulation target parameters

RxDParams(*args, **kwargs)

Class to hold reaction-diffusion (RxD) parameters

NetParams([netParamsDict])

Class to hold all network parameters

class netpyne.specs.netParams.PopParams(*args, **kwargs)[source]

Bases: ODict

Class to hold population parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.CellParams(*args, **kwargs)[source]

Bases: ODict

Class to hold cell parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

pointpParamsReservedKeys()

preprocessStringFunctions()

updateStringFuncsWithPopParams(popLabel, params)

stringFuncAndVarsForCellVar(cellType, ...)

stringFuncAndVarsForGeom(cellType, section, ...)

stringFuncAndVarsForMod(cellType, section, ...)

stringFuncAndVarsForPointCell(cellTypeOrPop, ...)

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
static pointpParamsReservedKeys()[source]
preprocessStringFunctions()[source]
static updateStringFuncsWithPopParams(popLabel, params)[source]
static stringFuncAndVarsForCellVar(cellType, cellVarName)[source]
static stringFuncAndVarsForGeom(cellType, section, param)[source]
static stringFuncAndVarsForMod(cellType, section, modType, mod, param)[source]
static stringFuncAndVarsForPointCell(cellTypeOrPop, param)[source]
class netpyne.specs.netParams.ConnParams(*args, **kwargs)[source]

Bases: ODict

Class to hold connectivity parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.SynMechParams(*args, **kwargs)[source]

Bases: ODict

Class to hold synaptic mechanism parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

preprocessStringFunctions()

stringFunctionAndVars(synMechName, paramName)

isPointerConn(synMechLabel)

hasPointerConns()

reservedKeys()

stringFuncVarNames()

stringFuncVarsEvaluators()

stringFuncVarsReferringPreLoc()

stringFuncsReferPreLoc(synMech)

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
preprocessStringFunctions()[source]
static stringFunctionAndVars(synMechName, paramName)[source]
isPointerConn(synMechLabel)[source]
hasPointerConns()[source]
static reservedKeys()[source]
static stringFuncVarNames()[source]
static stringFuncVarsEvaluators()[source]
static stringFuncVarsReferringPreLoc()[source]
static stringFuncsReferPreLoc(synMech)[source]
class netpyne.specs.netParams.SubConnParams(*args, **kwargs)[source]

Bases: ODict

Class to hold subcellular connectivity parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.StimSourceParams(*args, **kwargs)[source]

Bases: ODict

Class to hold stimulation source parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.StimTargetParams(*args, **kwargs)[source]

Bases: ODict

Class to hold stimulation target parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.RxDParams(*args, **kwargs)[source]

Bases: ODict

Class to hold reaction-diffusion (RxD) parameters

Methods:

setParam(label, param, value)

rename(old, new[, label])

setParam(label, param, value)[source]
rename(old, new, label=None)[source]
class netpyne.specs.netParams.NetParams(netParamsDict=None)[source]

Bases: object

Class to hold all network parameters

Methods:

save(filename)

addCellParams([label, params])

addPopParams([label, params])

addSynMechParams([label, params])

addConnParams([label, params])

addSubConnParams([label, params])

addStimSourceParams([label, params])

addStimTargetParams([label, params])

importCellParams(label, fileName, cellName)

importCellParamsFromNet(labelList, ...[, ...])

addCellParamsSecList(label, secListName[, ...])

swapCellParamsPt3d(label, origIndex, targetIndex)

renameCellParamsSec(label, oldSec, newSec)

addCellParamsWeightNorm(label, fileName[, ...])

addCellParamsTemplate(label[, conds, template])

saveCellParamsRule(label, fileName)

loadCellParamsRule(label, fileName)

loadCellParams(label, fileName)

saveCellParams(label, fileName)

todict()

setNestedParam(paramLabel, paramVal)

setCfgMapping(cfg)

save(filename)[source]
addCellParams(label=None, params=None)[source]
addPopParams(label=None, params=None)[source]
addSynMechParams(label=None, params=None)[source]
addConnParams(label=None, params=None)[source]
addSubConnParams(label=None, params=None)[source]
addStimSourceParams(label=None, params=None)[source]
addStimTargetParams(label=None, params=None)[source]
importCellParams(label, fileName, cellName, conds={}, cellArgs=None, importSynMechs=False, somaAtOrigin=True, cellInstance=False)[source]
importCellParamsFromNet(labelList, condsList, fileName, cellNameList, importSynMechs=False)[source]
addCellParamsSecList(label, secListName, somaDist=None, somaDistY=None)[source]
swapCellParamsPt3d(label, origIndex, targetIndex)[source]
renameCellParamsSec(label, oldSec, newSec)[source]
addCellParamsWeightNorm(label, fileName, threshold=1000)[source]
addCellParamsTemplate(label, conds={}, template=None)[source]
saveCellParamsRule(label, fileName)[source]
loadCellParamsRule(label, fileName)[source]
loadCellParams(label, fileName)[source]
saveCellParams(label, fileName)[source]
todict()[source]
setNestedParam(paramLabel, paramVal)[source]
setCfgMapping(cfg)[source]