MorphoNet Python API
In order to interact with MorphoNet, we provide a python Application Programming Interface.
This API has two main modules : - Net : provides various functions to upload data and interact with the MorphoNet database (stored in the morphonet.org server) - Plot : provides various functions to directly plot your own data on the MorphoNet windows without sending anything to the MorphoNet database
Installation
You have first to install the API version of MorphoNet using a pip. 1. Create a conda environnement (with the pip package)
conda create -n morphonet_env pip
- Activate the environnement
conda activate morphonet_env
- Install the morhponet python API
pip install morphonet
Requirements
This API work with python 3.
You can find more information ton install python here
You also have to install the python package installer : pip.
The MorphoNet Package requires several librariries that are automatically installed : * numpy * scikit-image * scipy * vtk (to convert the segmentation in meshes) * request (to interrogate the morphonet server) * imageio (for Image Handling) * nibabel (to load and save in nii format)
For any information go on https://pypi.org/project/morphonet/