calibcant: tools for thermally calibrating AFM cantilevers
Calculates the spring constant k of a cantilever using the equipartition theorem:
1/2 k_B T = 1/2 K x^2
The analysis uses the expected power spectral density (PSD) of a damped simple harmonic oscillator to filter out noise from the measured PSD.
Installation
Packages
Gentoo
I’ve packaged calibcant for Gentoo. You need layman and my wtk overlay. Install with:
# emerge -av app-portage/layman # layman --add wtk # emerge -av sci-physics/calibcant
Dependencies
If you’re installing by hand or packaging calibcant for another distribution, you’ll need the following dependencies:
Package |
||
|---|---|---|
python-numpy |
dev-python/numpy |
|
python-scipy |
sci-libs/scipy |
|
dev-python/h5config [1] |
||
python-h5py |
dev-python/h5py |
|
python-matplotlib |
dev-python/matplotlib |
|
python-nose |
dev-python/nose |
|
dev-python/FFT-tools [1] |
||
sci-libs/pypiezo [1] |
You’ll also need my pyafm and stepper packages, or suitable replacements.
Installing by hand
Calibcant is available as a Git repository:
$ git clone git://tremily.us/calibcant.git
See the homepage for details. To install the checkout, run the standard:
$ python setup.py install
Usage
See the module docstrings for simple examples.
Testing
Run internal unit tests with:
$ nosetests --with-doctest --doctest-tests calibcant
Licence
This project is distributed under the GNU General Public License Version 3 or greater.
Release files for calibcant 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| calibcant-0.9.tar.gz | 40.0 kB | Details |
Release files / calibcant-0.9.tar.gz
| Download URL | calibcant-0.9.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40a4f08336e1f51fb8a1f5e85883b97c75d9f2a596537c7373d8d634383bb067
|
|
BLAKE2b-256 checksum How to use checksums |
f87bd6172cc25cd8d972eb48a929454dc4a795f2ab6171e11899bfa9ad3de02d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |