carputils.mesh.linear_fibre_rule

orphan:

carputils.mesh.linear_fibre_rule(endo, epi, unit='degrees')

Generate a linear fibre rule in the format expected by carputils.mesh.Ring and carputils.mesh.Ellipsoid.

For example, for a +60/-60 fibre rule:

>>> rule = linear_fibre_rule(60, -60)
>>> geom = Ring(5, fibre_rule=rule)

For more details on mesh generation and definition of fibres, see Fibre Orientation.

Args:
endo : float
Fibre helix angle on the endocardium
epi : float
Fibre helix angle on the epicardium
unit : str, optional
One of [‘degrees’, ‘radians’], the type of units endo and epi are specified in, defaults to degrees