{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Measuring Plasmon Resonance Shift in Gold Nanoparticles in Water" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Objective" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "From the bundled dataset, `aunps_water()`, we measure the surface plasmon resonance shift when adding gold nanoparticles to water, then adding the protein, Bovine Serum Albumin." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### Environment Setup" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Configure notebook style (see NBCONFIG.ipynb), add imports and paths. The **%run** magic used below **requires IPython 2.0 or higher.**" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Populating the interactive namespace from numpy and matplotlib\n" ] } ], "source": [ "#%run NBCONFIG.ipynb\n", "%pylab inline" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### Step 1: Import some Data from csv" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "['dti', 'd', 'h', 'm', 'us', 's', 'ms', 'intvl', 'ns']\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "/home/adam/Enthought/Canopy_32bit/User/lib/python2.7/site-packages/pytz/__init__.py:29: UserWarning: Module argparse was already imported from /home/adam/Canopy/appdata/canopy-1.4.0.1938.rh5-x86/lib/python2.7/argparse.pyc, but /home/adam/Enthought/Canopy_32bit/User/lib/python2.7/site-packages is being added to sys.path\n", " from pkg_resources import resource_stream\n" ] }, { "data": { "text/html": [ "
\n", " | 2013-02-04 15:40:48 | \n", "2013-02-04 15:41:34 | \n", "2013-02-04 15:42:20 | \n", "2013-02-04 15:43:06 | \n", "2013-02-04 15:43:52 | \n", "
---|---|---|---|---|---|
200 | \n", "305.53 | \n", "306.31 | \n", "305.23 | \n", "305.17 | \n", "307.22 | \n", "
201 | \n", "311.67 | \n", "313.43 | \n", "312.75 | \n", "314.12 | \n", "314.88 | \n", "
202 | \n", "318.09 | \n", "319.56 | \n", "319.12 | \n", "319.51 | \n", "319.13 | \n", "
203 | \n", "323.47 | \n", "324.90 | \n", "322.34 | \n", "324.48 | \n", "325.61 | \n", "
204 | \n", "340.97 | \n", "340.09 | \n", "340.86 | \n", "342.99 | \n", "341.78 | \n", "