Displays field data from Sim4Life simulations of spinal cord electrostimulation.
- Download and install Python 3.8.4
- Clone the repository
Save the CSF model vtk file to the base folder of the repository and rename it to
CSF.vtk
OR
Change the DEFAULT
csf_model
variable in your localconfig.ini
file to be the file path of the CSF model vtk file- Open a command prompt window and navigate to the repository
Run the following commands to set up the environment:
python -m venv slvenv slvenv\Scripts\activate pip install -r requirements.txt
To run the application, run the following commands from a command prompt window located in the base folder of the repository:
slvenv\Scripts\activate python run.py
To build the documentation:
-
Install the Sphinx, Read the Docs Sphinx Theme, and Numpydoc packages:
pip install sphinx sphinx-rtd-theme numpydoc
- Create a new directory
$RepoHome$ /docs/_build -
Run the following command from the
$RepoHome$ /docs/ folder:make html