Skip to main content

Tools for controlling piezoelectric actuators.

Project description

Pypiezo

Pypiezo is a Python module to control piezoelectric actuators. It is mostly a set of convenient wrappers around pycomedi calls for keeping track of the relevant calibration constants. To get a feel for an “official” set of calibration constants, you can take a peek at veeco_header, which is the beginning of a saved Veeco NanoScope image file. It lists the parameters used by the NanoScope during imaging.

Installation

Packages

Gentoo

I’ve packaged pypiezo for Gentoo. You need layman and my wtk overlay. Install with:

# emerge -av app-portage/layman
# layman --add wtk
# emerge -av sci-libs/pypiezo

Dependencies

If you’re installing by hand or packaging pypiezo for another distribution, you’ll need the following dependencies:

Package

Debian

Gentoo

Numpy

python-numpy

dev-python/numpy

Scipy

python-scipy

sci-libs/scipy

Matplotlib

python-matplotlib

dev-python/matplotlib

H5config

dev-python/h5config [1]

Curses-check-for-keypress

dev-python/curses-check-for-keypress [1]

Nose

python-nose

dev-python/nose

Pycomedi

dev-python/pycomedi [1]

Installing by hand

Pypiezo is available as a Git repository:

$ git clone git://tremily.us/pypiezo.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 pypiezo

Licence

This project is distributed under the GNU General Public License Version 3 or greater.

Author

W. Trevor King wking@tremily.us

Project details


Download files

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

Source Distribution

pypiezo-0.7.tar.gz (34.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page