netpyne.cell.compartCell module
Module containing a compartmental cell class
-
class netpyne.cell.compartCell.CompartCell(gid, tags, create=True, associateGid=True)[source]
Bases: Cell
Class for/to <short description of netpyne.cell.compartCell.CompartCell>
-
create(createNEURONObj=None)[source]
-
modify(prop)[source]
-
createPyStruct(prop)[source]
-
initV()[source]
-
createNEURONObj(prop, propLabel=None)[source]
-
addSynMechNEURONObj(synMech, synMechLabel, synMechParams, sec, loc, preLoc=None)[source]
-
static stringFuncVarNames()[source]
-
static stringFuncVarNamesForCellVars()[source]
-
addSynMechsNEURONObj()[source]
-
addStimsNEURONObj()[source]
-
addConnsNEURONObj()[source]
-
static spikeGenLocAndSec(secs)[source]
-
associateGid(threshold=None)[source]
-
addSynMech(synLabel, secLabel, loc, preLoc=None)[source]
-
modifySynMechs(params)[source]
-
addConn(params, netStimParams=None)[source]
-
modifyConns(params)[source]
-
modifyStims(params)[source]
-
addStim(params)[source]
-
getSomaPos()[source]
Get soma position;
Used to calculate seg coords for LFP calc (one per population cell; assumes same morphology)
-
calcAbsSegCoords()[source]
Calculate absolute seg coords by translating the relative seg coords – used for LFP calc
-
setImembPtr()[source]
Set PtrVector to point to the i_membrane_
-
getImemb()[source]
Gather membrane currents from PtrVector into imVec (does not need a loop!)
-
updateShape()[source]
Call after h.define_shape() to update cell coords
-
originSecName()[source]
-
originSec()[source]