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. 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 .. _layman: http://layman.sourceforge.net/ .. _wtk overlay: http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_overlay/ Dependencies ============ calibcant requires the following Python modules: * linfit (depends in turn on scipy.stats.linregress) * TODO * Numpy_ * Scipy_ * PyYAML_ (for saving and loading playlists) * Matplotlib_ (for generating plots) * wxPython_ (for the GUI) .. _Python: http://www.python.org/ .. _Numpy: http://numpy.scipy.org/ .. _Scipy: http://www.scipy.org/ .. _PyYAML: http://pyyaml.org/ .. _Matplotlib: http://matplotlib.sourceforge.net/ .. _wxPython: http://www.wxpython.org/ Getting the source ================== calibcant is available as a Git_ repository:: $ git clone http://www.physics.drexel.edu/~wking/code/git/calibcant.git There are also periodic bundled releases. For example, get version 0.5 as a gzipped tarball with:: $ wget http://www.physics.drexel.edu/~wking/code/python/calibcant-0.5.tar.gz $ tar -xzvf calibcant-0.5.tar.gz .. _Git: http://git-scm.com/ Installation ============ After downloading, change to the source directory and run:: $ python setup.py install to install calibcant. Run:: $ python setup.py install --help to see a list of installation options you may want to configure. Usage ===== You can... While there are a number of command-line scripts TODO