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: netpyne.cell.cell.Cell

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

Methods:

create()

modify(prop)

createPyStruct(prop)

initV()

createNEURONObj(prop)

addSynMechNEURONObj(synMech, synMechParams, ...)

addSynMechsNEURONObj()

addStimsNEURONObj()

addConnsNEURONObj()

associateGid([threshold])

addSynMech(synLabel, secLabel, loc)

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

create()[source]
modify(prop)[source]
createPyStruct(prop)[source]
initV()[source]
createNEURONObj(prop)[source]
addSynMechNEURONObj(synMech, synMechParams, sec, loc)[source]
addSynMechsNEURONObj()[source]
addStimsNEURONObj()[source]
addConnsNEURONObj()[source]
associateGid(threshold=None)[source]
addSynMech(synLabel, secLabel, loc)[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