netpyne.specs.netParams module

Module containing classes for high-level network parameters and methods

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

Bases: ODict

Class to hold population parameters

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

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

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

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

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

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

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

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

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]