How to install
Anaconda
The easiest way to install SCRIMP is to use a conda environment.
Install Anaconda
Clone the git repository:
git clone https://github.com/g-haine/scrimp
Enter the folder:
cd scrimp
Create the conda environment:
conda env create --file /path/to/scrimp/scrimp.yml
Activate the environment:
conda activate scrimp
Add scrimp to the PATH:
conda develop /path/to/scrimp/
Finish with pip:
pip install -e .
Tests
You may test your installation by running avalaible examples in the `examples`
folder.
Code structure
SCRIMP is developped as a package: the __init__.py
file of the /path/to/scrimp/ folder is the root file. Each subdirectory is a sub-package of SCRIMP. Files are called module in this framework and may be called via the command import. For instance the module linalg gathering linear algebra functions of the subpackage utils can be imported with import scrimp.utils.linalg
.
Documentation
You can find this documentation here.
It is automatically built upon the code comments using sphinx.
See Sphinx for further informations.