Skip to content

thoo/wanglib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wanglib: Experimental control utilities for the Wang Lab

wanglib is a module of experimental-control tools for use in the Wang Lab. Contact its maintainer, Thomas Baldwin, if you have questions about this library.

Documentation

Documentation is hosted at http://wanglib.readthedocs.org.

Dependencies

Wanglib is designed to run on a typical scientific Python stack: Python 2.7 with Numpy, Scipy, and Matplotlib. Interactive use is best done through IPython.

For talking to RS-232 instruments, PySerial is required. For GPIB instruments, you will need either PyVISA or linux-gpib (unless you're using a prologix GPIB controller - wanglib provides its own driver for these).

To install wanglib and keep it up to date, it is best to have the Git DVCS and the pip installer.

Installation

There are no versioned releases of wanglib - only a development version that changes all the time. Install this with pip:

$ pip install --user -e git+https://github.com/thoo/wanglib.git#egg=wanglib

The --user flag is a good idea to prevent version conflicts with other users on the same machine. It's unnecessary if you have some other means of doing that (e.g., in a virtualenv).

This creates an editable clone of the repository in your home directory at $HOME/src/wanglib. To update to the latest version, change to this directory and do:

$ git pull

You can make changes to wanglib by editing the files in this folder. By making changes, you are creating a branch. If you wish to contribute your changes back to me, create a repo for your branch on Github, and open a pull request.

Package Contents

The core contains these modules:

  • wanglib.util -- miscellaneous utilities
    • implements a custom serial interface
    • provides templates for fitting, calibration, and scan automation.
  • wanglib.prologix -- drivers for prologix GPIB controllers (USB and Ethernet)
  • wanglib.linux_gpib -- provides compatibility with systems using linux_gpib
  • wanglib.ccd -- a client for the CCD on the spex750m
  • wanglib.grating -- generates phase gratings for the SLM

more functionality in two sub-packages:

  • wanglib.instruments -- libraries for individual instruments in the lab
  • wanglib.pylab_extensions -- misc. extensions to the pylab plotting interface

About

Instrument control utilities for the Wang Lab.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%