Personal programs for fiber optic nanobiosensing simulations.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


PAME: Plasmonic Assay Modeling Environment

Graphical Python application for simulating plasmonic biosensors, particularly fiberoptic biosensors with nanoparticles.

Check out the PAME preprint.


IPython Notebooks

Some of these are traditional tutorials, others are examples of analyzed data from our lab.


Tutorials are cumulative (eg screencast 2 picks up where 1 ends).

PAME's tutorials are a series of screencasts.


Binaries (ie .exe one-click use files) are under development, but for now, PAME must be installed as a python library and launched through the command line. Anyone interested in helping to develop binaries, please contact.

PAME makes heavy use of the SciPy Stack (numpy, ipython etc...), and so it has a lot of dependencies. Instead of using a bare python distribution, I'd recommend using a scientific python distribution that comes pre-loaded with the SciPy Stack (eg canopy or conda) or want to install PAME into a clean environment (this is suggested), see the Conda installation directions. Otherwise, you can use pip install as usual.


Since PAME requires many dependencies, this may upgrade numpy, scipy, ipython and other core scipy libraries.

To install from pip

pip install PAME

If this gives you an error (maybe for this reason), do the following.

Download the PAME sourcecode as a zipfile and unzip. cd into the unzipped directory

cd /path/to/PAME

Install from source

python install

Install the dependencies from pip

pip install -r requirements.txt

You also may need to install the QT backend <> if it's not already configured.


I use anaconda because it has an excellent virtual environment manager. The advantage is here you can installed a clean working environment only for PAME without altering any of your other packages. For a tutorial on conda virtual environments, check this out. To configure a PAME environment in anaconda, first install anaconda and then do the following:

  1. Create a clean virtual environment (mine is named PAMEvenv)

    conda create -n PAMEvenv anaconda

This installs several required scientific packages including numpy, pandas and ipython.

  1. Activate the environment

    source activate PAMEvenv

  2. Install pame (download pame source code and unzip, then navigate into directory)

    cd /path/to/PAMEdirectory python install

  3. Conda install/upgrade dependencies

    conda install traits traitsui mayavi chaco mpmath PIL

  4. To deactivate the virtual environment

    source deactivate


The full list of PAME's dependencies is in the requirements.txt file. You also may need to install the QT backend <>.


Questions? Interested in developing? Message:, or contact me directly (, @hughesadam87)

Web Utilitiles

PAME doesn't run in the browser. Check out these related tools that do!


3-Clause Revised BSD