Download and installation

APAV can be installed from the Python Package Index (PyPi) or straight from source.

PyPi

To install APAV from the Python Package Index:

pip install apav

If you do not have write access, or do not want to modify the system python environment:

pip install apav --user

to install apav for the current user.

Git

Move to a directory you would like to download the repository:

cd builds/

Clone the repository:

git clone https://gitlab.com/jesseds/apav

If you want a specific version/release:

git checkout <release_version_here>

Move into the repository and install the package:

cd apav
python -m pip install .

It may be advantageous to install just for the user (i.e. access permission issues, want to avoid modifying system environment, etc):

python -m pip install . --user

Dependencies

APAV uses various third party projects to facilitate a implement various features. These dependencies should be installed automatically from pip or conda.

  • NumPy - library for accelerating mathematical operations using lower-level optimized libraries

  • pyqtgraph - For embeding graphs into Qt widgets and windows

  • Numba - Used for accelerating niche functions

  • lmfit - Curve fitting and models for mass spectrum quantification

  • fast-histogram - Fast histogram calculation than NumPy

  • tabulate - nicely printing tabulated data

  • PyQt5 - windowing and graphics library

  • periodictable - access to elemental isotopic data (abundances, etc)

  • pytest - unit testing

  • pytest-qt - testing Qt code