FTV code built on the basis of MyPTV
MyPTV requires you have Python 3 installed with pip, along with the Python packages: numpy, scipy, scikit-image, pandas, matplotlib, itertools
-
Open your terminal and change directory to the path of the code:
cd path/to/myptv
-
Finally, we use pip to install by using the following command:
pip install .
orpip install -r .\requirements.txt
-
Optionally, parts of the code can be tested using pytest:
pytest ./tests/ -W ignore::RuntimeWarning
-
Once this is done we are ready to go! You can now import MyPTV in your python code as usual. For example:
import myptv.imaging_mod
orfrom myptv import imaging_mod
-
Install Anaconda or Miniconda and from the command shell inside the directory where the package is downloaded:
conda env create -f environment.yml
-
Activate the environment:
conda activate myptv
-
Optionally, parts of the code can be tested using pytest:
pytest ./tests/ -W ignore::RuntimeWarning
-
Once this is done we are ready to go! You can now import MyPTV in your python code as usual. For example:
import myptv.imaging_mod
orfrom myptv import imaging_mod
Detailed instructions are given in the Manual, see /user_manual/user_manual.pdf
.
MyPTV was founded and is maintained by Ron Shnapp (ronshnapp@gmail.com). Contributions are most welcome.