mesh_from_nerve
- nrv.ui.mesh_from_nerve(nerve: nerve, length: float | None = None, add_axons: bool = True, x_shift: float | None = None, res_nerve: float | str = 'default', res_fasc: list[float] | float | str = 'default', res_ax: list[float] | float | str = 'default', res_elec: list[float] | float | str = 'default') NerveMshCreator[source]
Build a mesh nerve mesh from an
nrv.meshinstance- Parameters:
nerve (nerve) – nerve to use for meshing mesh
length (float | None, optional) – if not None, length to use to resize the nerve, by default None
add_axons (bool, optional) – if True axons are added to the nerve, by default True
x_shift (float | None, optional) – if not None, add a node shift in um to mesh the myelinated axons by default None
res_nerve (float | str, optional) – nerve resolution in the epineurium domain, by default “default”
res_fasc (list[float] | float | str, optional) – fascicle reoulution in the endoneurium domain, by default “default”
res_ax (list[float] | float | str, optional) – axon resolution in the epneurium domain,, by default “default”
res_elec (list[float] | float | str, optional) – electrode resolution, by default “default”
- Return type: