Skip to main content
=====
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: 09-02-2018
Ver: 0.12.2
Licence: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
Copyright (c) 2018, 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


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 files for thLib 0.12.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thLib 0.12.2
File Size Uploaded
thLib-0.12.2.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for thLib 0.12.2
File Interpreter ABI Platform
thLib-0.12.2.win-amd64.exe Details

Total release size: 2.0 MB

Release files / thLib-0.12.2.tar.gz

Download URL thLib-0.12.2.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
b83522e0932d32089af9f40d9e9dec9ce890829c30be24319ebcbe0011b7f0bc
BLAKE2b-256 checksum
How to use checksums
8d30d81a14296a2d68b662c4e57113ff1c3695ba87d0b2ad85fccf73d174d3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / thLib-0.12.2.win-amd64.exe

Download URL thLib-0.12.2.win-amd64.exe
Size 646.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e6a33ef689406f7f7c26f0185fc0f5f53b8ec80f7fbb7d580831ca068be4cadf
BLAKE2b-256 checksum
How to use checksums
806000075ad9d02019005180dd72fdd7918ebdc7479a55e58fed2513c68cc06c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.12.2 This release

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.9

2 release files

0.11.7

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page