CorticalLayer

from mcot.surface.cortex import CorticalLayer
class mcot.surface.cortex.CorticalLayer(lower, upper)[source]

Represents a cortical layer bounded by a lower and upper mesh.

__init__(lower, upper)[source]

Defines a cortical layer between a lower and upper surface.

Parameters
  • lower (CorticalMesh) – lower boundary of the cortical layer

  • upper (CorticalMesh) – upper boundary of the cortical layer

Inheritance diagram

Inheritance diagram of mcot.surface.cortex.CorticalLayer

Methods

volume()

Computes the total volume between the two surfaces.

wedge_volume([use_wb, atpoint])

Computes the wedge volume covered by every triangle between the two surfaces.

Attributes

hemisphere

Hemisphere containing the structure described by the cortical meshes.

nfaces

nvertices

structure

Name of the structure described by the cortical meshes.

volume

CorticalLayer.volume()[source]

Computes the total volume between the two surfaces.

wedge_volume

CorticalLayer.wedge_volume(use_wb=False, atpoint=False)[source]

Computes the wedge volume covered by every triangle between the two surfaces.

Uses the algorithm from http://dx.doi.org/10.1101/074666 (Winkler et al, 2016)

Parameters
  • use_wb – use workbench to compute the volume (about 1.5 times larger than my implementation).

  • atpoint – if True assigns the wedge volume to the vertices rather than the faces

Returns

(Nfaces, )-array with the wedge volume for every triangle in the mesh