netpyne.cell.compartCell

Module containing a compartmental cell class

Classes:

CompartCell(gid, tags[, create, associateGid])

Class for/to <short description of netpyne.cell.compartCell.CompartCell>

class netpyne.cell.compartCell.CompartCell(gid, tags, create=True, associateGid=True)[source]

Bases: Cell

Class for/to <short description of netpyne.cell.compartCell.CompartCell>

Methods:

create([createNEURONObj])

modify(prop)

createPyStruct(prop)

initV()

createNEURONObj(prop[, propLabel])

addSynMechNEURONObj(synMech, synMechLabel, ...)

stringFuncVarNames()

stringFuncVarNamesForCellVars()

addSynMechsNEURONObj()

addStimsNEURONObj()

addConnsNEURONObj()

spikeGenLocAndSec(secs)

associateGid([threshold])

addSynMech(synLabel, secLabel, loc[, preLoc])

modifySynMechs(params)

addConn(params[, netStimParams])

modifyConns(params)

modifyStims(params)

addStim(params)

getSomaPos()

Get soma position; Used to calculate seg coords for LFP calc (one per population cell; assumes same morphology)

calcAbsSegCoords()

Calculate absolute seg coords by translating the relative seg coords -- used for LFP calc

setImembPtr()

Set PtrVector to point to the i_membrane_

getImemb()

Gather membrane currents from PtrVector into imVec (does not need a loop!)

updateShape()

Call after h.define_shape() to update cell coords

originSecName()

originSec()

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]