-
Notifications
You must be signed in to change notification settings - Fork 14
3. Installation
To install the Project, you will need:
- python; the installation has been tested under Versions 2.7 and 3.6 and both work fine.
- NumPy; NumPy is the fundamental package for scientific computing with Python.
- SciPy; SciPy is a Python-based ecosystem of open-source software for mathematics, science, and engineering. Actualy, we are only using the SciPy.linalg and SciPy.spatial modules.
Both NumPy
and SciPy
have extended installation guides for most, if not all, operating systems.
To use the Plot Tools bundle, you must have GMT (> 5.0.0) installed, allong with a variety of UNIX-based tools. If you are on a UNIX/Linux operating system, most or all of them are pre-installed.
To install the Project, you actualy only need to install the pystrain package. What this means, is that python will see that the package modules are build and extracted to a suitable folder on your local system (something like /usr/lib/python2.7/site-packages/
on a UNIX-like system). After this step, you will be able to make use of the modules in the package, both for running StrainTool.py
and for any new program you may wish to code. StrainTensor.py and Plot Tools are programs, so you do not to "install" them.
To install pystrain, do the following:
-
go to the directory the package is located, i.e.
StrainTool/pystrain
-
the package comes with a
setup.py
script, so you only need to run it (as root/administrator):$> python setup.py install
That's it! The package modules should now be in place and you should be able to use the main script, StrainTensor.py
The following scenarios have been tested to validate the installation procedure
OS | Python 2.7 | Python 3.6 | GMT 5.2 | GMT 5.4 |
---|---|---|---|---|
Fedora | ✅ | ✅ | ||
Manjaro | ✅ | ✅ | ||
Ubuntu | ✅ | ✅ | ✅ | ✅ |
Windows 10 | ✅ | ✅ | ✅ | ✅ |
StrainTool ©️ 2018 Dionysos Satellite Observatory