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