thLib - Documentation

thLib is a library for scientific data analysis.

It is hosted under https://pypi.python.org/pypi/thLib, and contains the following modules:

fits Contains examples for a number of fitting applications, for fitting
  • lines
  • circles (with RANSAC, or directly)
  • exponential decays
  • sine waves
  • ellipses
  • regressions (including confidence intervals)
signals Has functions that manipulate data
  • a Savitzky-Golay for data smoothing and derivatives
  • a power spectrum
  • a function to calculate and show mean and standard error for time series data.
  • a visualization for cross- and auto-correlations
sounds Allows you to work with sounds in Python. Note that to use it with (almost) arbitrary sound-files, you need to have FFMPEG installed. The class Sound lets you
  • read sounds
  • play sounds
  • write sounds
  • define Sound-objects
ui Provides GUIs for
  • file- and directory selection, and for saving files
  • a listbox (item selection from a list)
  • a progress bar
  • a waitbar

Installation

The simplest way to install thLib is

>>> pip install thLib

For upgrading to the latest version, you have to type

>>> pip install thLib -U

Dependencies

numpy, scipy, matplotlib, pandas, statsmodels, skimage

If you want to work not only with WAV-sound-files, but also with other sound formats, you need to install FFMPEG (free from http://www.ffmpeg.org).

Notes

Modules relating to

  • quaternions
  • rotation matrices
  • vectors
  • IMUs
  • Marker-based recording systems
  • 3d data viewers

have been moved into scikit-kinematics (http://work.thaslwanter.at/skinematics/html/)

Indices and tables

Note

Author: Thomas Haslwanter
Version: 0.12.0
Date: Sept 2016
Copyright (c): 2016, Thomas Haslwanter. All rights reserved.
Licence: This work is licensed under the BSD 2-Clause License
_images/cc_licence.png