Prerequisites¶
PyOTIC was written in Python 3.4 and uses the following packages:
- scipy >= 0.14.0
- numpy >= 1.8.2
- matplotlib >= 1.5.1
- ZODB >= 4.3.1
- cloudpickle >= 0.1.1
- ipywidgets >= 4.0.3
- lmfit >= 0.9.3
- pint == 0.5.2
Download and Installation¶
Installation via the Python site packages folder¶
Windows¶
The PyOTIC software package was tested with WinPython version 3.4.4.2 64bit. Download and install the corresponding WinPython distribution from the website. Copy the pyotic package folder to:
WINPYTHONDIR\python-3.4.4.amd64\Lib\site-packages
Open a “WinPython command prompt” (can be found in the WINPYTHONDIR) and install additionally required packages:
pip3 install ZODB
If you want to read in calibration files created by the PyOTC software package, also install pint:
pip3 install pint
pip package manager¶
via git¶
via system path addition¶
Within your python source code add the path to the path variable by:
import sys
sys.path.append('/path/to/pyoti/')
sys.path.append('/path/to/pyotc/')
After the installation, you can use the pyoti package by:
import pyoti