FEM_stimulation.reshape_fascicle
- FEM_stimulation.reshape_fascicle(geometry: CShape = None, Fascicle_D: float = 10, y_c: float = 0, z_c: float = 0, ID: int = None, Perineurium_thickness: None | float = None, res: float | Literal['default'] = 'default')[source]
Reshape a fascicle of the FEM simulation
Warning
Fascicle_D,y_candz_cparameters are deprecated since v1.2.2 and might be removed in future versions. Use directlygeometry.Tip
geometrycan be either define with_utils.geomtools or access from an existing fascicle in fascicle.geom.- Parameters:
geometry (CShape) – Fascicle geometry.
Fascicle_D (float, DEPRECATED) – Fascicle diameter, in µm, 10 by default
y_c (float, DEPRECATED) – Fascicle center y-coodinate in µm, 0 by default
z_c (float, DEPRECATED) – Fascicle center y-coodinate in µm, 0 by default
Perineurium_thickness (float) – Thickness of the Perineurium sheet surounding the fascicles in µm. If None, thickness is determined according to the fascicle diameter
ID (int) – If the simulation contains more than one fascicles, ID number of the fascicle to reshape as in COMSOL
res (float or "default") – mesh resolution for fenics_model cf NerveMshCreator, use with caution, by default “default”