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 (or newer) version of Miniconda During the installation, Conda will ask about adding its programs to the path. Say yes to this unless you have reason not to (but see below if you are using Linux).

When you have installed Conda, get a command prompt:

  • On Windows: Windows key + "r", type "cmd"
  • On Mac: open Terminal

Make sure that PyQt5 is installed: conda install pyqt

Then install OCTAVVS using pip: pip install octavvs

Finding and using OCTAVVS

The easiest way to access the OCTAVVS tools is through desktop shortcuts which may be created by running the oct_make_icons script from the command prompt. This works on Windows and Linux but has been known to fail on some Mac OS X versions.

In any case, the three scripts oct_preprocessing, oct_mcr_als and oct_clustering should be possible to run straight from the command line if the path was set up as mentioned above.

The location of the OCTAVVS scripts will depend on your operating system and where you installed Conda / Python. Within the Conda directory, the files will be located in lib/python3.7/site-packages/octavvs but the scripts mentions above will be in bin.

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 version of OCTAVVS can be found on its PyPI project page.
To upgrade to the latest version: pip install -U octavvs

Bug reports and code repository

Developers may want to access the OCTAVVS code through the OCTAVVS GitHub page, where bugs and other issues can also be reported.

Non-technical users may prefer to send questions, bug reports and other requests by email to corresponding author Carl Troein carl@thep.lu.se.

Linux path problem

On some Linux distributions, notably OpenSUSE, allowing Conda to modify your $PATH will cause problems with KDE when logging in. If this applies to you, a suggested workaround is to change the path manually when needed. An alias in .bashrc can be convenient: alias startconda='export PATH=~/miniconda3/bin:"$PATH"'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

octavvs-0.0.21-py3-none-any.whl (268.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octavvs-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 268.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for octavvs-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7a342f165dc1bbe2742def7f9d6cdfb3268d984c43a4a16894648d2faa1d48
MD5 35806007ceedf219f21845db95131ba2
BLAKE2b-256 fb2431cbf0f724a1a5e175d9b9b5aabe7d43a2dfc0a238cc12329278edb295c7

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