Skip to main content

Open Chemometrics Toolkit for Analysis and Visualization of Vibrational Spectroscopy data

Project description

OCTAVVS: Open Chemometrics Toolbox for Analysis and Visualization of Vibrational Spectroscopy data

OCTAVVS is a set of graphical tools for high-throughput preprocessing and analysis of vibrational spectroscopy data. Currently, the preprocessing is primarily geared towards images from infrared absorption spectroscopy with focal plane array detectors.

There are three separate tools in the current version:

preprocessing deals with atmospheric correction, resonant Mie scattering correction, baseline correction and normalization.

mcr_als decomposes observed spectra into nonnegative concentrations and spectra using the MCR-ALS algorithm.

clustering performs K-means clustering on the concentrations inferred by MCR-ALS.

Installation on Windows, Mac or Linux

OCCTAVS needs a working Python 3 environment with various packages. The easiest way to get this is through the Conda package management system.

Download and install the Python 3.7 version of Miniconda. There are some platform-specific differences during installation:

  • On Windows: The default options are good (no need to have Conda modify your path).
    After installation, start a Conda console (found in the Start menu).

  • On Mac OS X: The default options are good. (But if you choose to not let Conda modify your path, you can specify the full path to the commands in the following steps.)
    After installation, start Terminal.

  • On Linux: Make the Miniconda .sh package executable and run it. When it asks about running conda init, it wants to modify your $PATH in .bashrc. This can be fine, but on some Linux distributions (notably OpenSUSE) it breaks KDE when logging in. A suggested workaround is to change $PATH manually when needed. An alias in .bashrc can be convenient:
    alias startconda='export PATH=~/miniconda3/bin:"$PATH"'

From the console, install OCTAVVS and its dependencies: conda install -c ctroein octavvs

Finding and using OCTAVVS

The easiest way to access the OCTAVVS tools is through desktop shortcuts which are created by running the oct_make_icons script from the command prompt. (We are not entirely sure if this works on all Mac OS X versions)

Regardless of whether you created icons, the three scripts oct_preprocessing, oct_mcr_als and oct_clustering can be run straight from the console (Conda console or terminal window, as described above).

The location of the OCTAVVS scripts will depend on where you installed Conda. Within the Conda directory, the three scripts will be in bin whereas the actual Python code will be located in lib/python3.7/site-packages/octavvs.

Test data

Test data from two 64x64 images of Paxillus hyphae growing on lignin can be downloaded here (zip archive, 47 MB).

Upgrading to the latest version

Information about the most recent release of OCTAVVS can be found on its PyPI page, as well as on its Anaconda Cloud page.

To upgrade to the most recent version, do conda update octavvs in the Conda console / Terminal.

Bug reports and code repository

The main project homepage is its GitHub page, where developers can access the OCTAVVS code and submit bug reports and patches etc.

Questions, bug reports and other feedback may be sent to corresponding author Carl Troein carl@thep.lu.se.

Installation through pip

Users familiar with Python could also install OCTAVVS through pip as an alternative to Anaconda, as new releases will be made to PyPI in parallel with releases to Anaconda Cloud. Note that pyqt and opencv sometimes don't work when installed through pip, depending on your system etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octavvs-0.0.28.tar.gz (260.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octavvs-0.0.28-py3-none-any.whl (270.8 kB view details)

Uploaded Python 3

File details

Details for the file octavvs-0.0.28.tar.gz.

File metadata

  • Download URL: octavvs-0.0.28.tar.gz
  • Upload date:
  • Size: 260.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for octavvs-0.0.28.tar.gz
Algorithm Hash digest
SHA256 28790bfa58c1360755057172a9028a09df2448cecc7c0ade0ffdb2e2f05ac081
MD5 2b0d75bd70aa049782e22b4bc9b22254
BLAKE2b-256 b3daa166baa4e967423992f81dcc1ba8b5c3da9910456d39325b16e55fbad3d1

See more details on using hashes here.

File details

Details for the file octavvs-0.0.28-py3-none-any.whl.

File metadata

  • Download URL: octavvs-0.0.28-py3-none-any.whl
  • Upload date:
  • Size: 270.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.5

File hashes

Hashes for octavvs-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 a8d04423c20871acffd6453aabdd151a01621be3c81e0218799618361275a22b
MD5 21ecb1eb6468993c6fe7d634b1f37850
BLAKE2b-256 9bd1169931fc818d2f9ef801893857663b32b6706d5634c60ef16b0921455709

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page