tmd.Soma.Soma

TMD class : Soma.

Classes

Soma([x, y, z, d])

Class of neuron soma.

class tmd.Soma.Soma.Soma(x=None, y=None, z=None, d=None)

Bases: object

Class of neuron soma.

Parameters:
  • x (list[float]) – The x-coordinates of surface trace of neuron soma.

  • y (list[float]) – The y-coordinates of surface trace of neuron soma.

  • z (list[float]) – The z-coordinate of surface trace of neuron soma.

  • d (list[float]) – The diameters of surface trace of neuron soma.

copy_soma()

Returns a deep copy of the Soma.

get_center()

Soma method to get the center of the soma.

get_diameter()

Soma method to get the diameter of the soma.

is_equal(soma)

Tests if all soma data are the same.