Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Collection of Python utilities for signal analysis

Project Description
=====
thLib
=====

*thLib* contains functions for working with sound, and for fitting circles,
lines, sine-waves, and exponential decays. For signal processing, a
Savitzky-Golay filter is included, as well as a demonstration of the
calculation of a power spectrum. UI utilities, and a few useful vector
functions (e.g. an implementation of the Savitzky-Golay algorithm) round off
*thLib*.

**Note:** All functions for working with 3D kinematics have been moved into
the new package "scikit-kinematics"!
(http://work.thaslwanter.at/skinematics/html)

Compatible with Python 2 and 3.

Dependencies
------------
numpy, scipy, matplotlib, pandas, statsmodels, skimage, sympy

Homepage
--------
http://work.thaslwanter.at/thLib/html/

Author: Thomas Haslwanter
Date: 26-09-2016
Ver: 0.12.1
Licence: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
Copyright (c) 2016, Thomas Haslwanter
All rights reserved.

Installation
------------
You can install thlib with

pip install thLib

and upgrade to a new version with

pip install thLib -U

Fits
====

Functions
---------

- fits.demo_ransac ... RANSAC fit of best circle in image
- fits.fit_circle ... basic circle fit
- fits.fit_exp ... exponential fit
- fits.fit_line ... linear regression fit, complete with confidence intervals for mean and values, and with plotting
- fits.fit_sin ... sine fit
- fits.fit_ellipse ... ellipse fit (Taubin's method)
- fits.regress ... multilinear regression fit, similar to MATLAB

Signal Processing Utilities
===========================

- signals.pSpect ... simple power spectrum from FFT
- signals.savgol ... Savitzky-Golay filter

Sound Processing Utilities
==========================

- sounds.Sound ... class, with methods
* readSound
* play
* setData
* writeWav

GUI Utilities
=============

- ui.getfile ... GUI for selecting an existing file
- ui.getdir ... GUI for selecting a directory
- ui.listbox ... GUI for item selection
- ui.progressbar ... Show a progressbar, for longer loops
- ui.savefile ... GUI for saving a file
- ui.get_screensize ... width and height of screen
Release History

Release History

This version
History Node

0.12.1

History Node

0.12.0

History Node

0.11.9

History Node

0.11.8

History Node

0.11.7

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
thLib-0.12.1.win-amd64.exe (613.2 kB) Copy SHA256 Checksum SHA256 any Windows Installer Sep 26, 2016
thLib-0.12.1.zip (1.0 MB) Copy SHA256 Checksum SHA256 Source Sep 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting