The examples.py module#
Summary#
Get a preprocessed full heart model. |
|
Get the input of a left ventricle based on Rodero et al 01. |
|
Get the fractal tree Purkinje network based on Rodero et al 01. |
Description#
Utility functions to get various examples.
Module detail#
- examples.get_preprocessed_fullheart(resolution: Literal['1.5mm', '2.0mm'] = '2.0mm') tuple[pathlib.Path, pathlib.Path, pathlib.Path]#
Get a preprocessed full heart model.
- Parameters:
- resolution
Literal["1.5mm", "2.0mm"], default: “2.0mm” The resolution of the preprocessed full heart.
- resolution
- Returns:
tuple[Path,Path,Path]Paths to the
.vtu,.partinfo.json, and.namemap.jsonfiles.
- examples.get_input_leftventricle() tuple[pathlib.Path, pathlib.Path]#
Get the input of a left ventricle based on Rodero et al 01.
- examples.get_fractal_tree_purkinje() tuple[pyvista.PolyData, pyvista.PolyData]#
Get the fractal tree Purkinje network based on Rodero et al 01.
- Returns:
tuple[pv.PolyData,pv.PolyData]The left and right Purkinje networks as PyVista PolyData objects.
- examples.dir_path#
- examples.data_path#