Commit 2abfc98f authored by Nick Sauerwein's avatar Nick Sauerwein
Browse files

plot colormap changed, plasmacamera added

parent b733a47d
This source diff could not be displayed because it is too large. You can view the blob instead.
File mode changed from 100644 to 100755
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append('../../')"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"import DataManager as dm\n",
"io = dm.IO('data')"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"measurements = io.search(kind = '', output=False)[1:];"
]
},
{
"cell_type": "code",
"execution_count": 72,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"for measurement in measurements:\n",
" try:\n",
" measurement['FaradayCup']['']\n",
"\n",
"#comps = [measure['config']['Laser']['comp_lin'] for measure in measurements]\n",
"#peaks = [measure['measure']['FaradayCup']['peak_uvolt'] for measure in measurements]\n",
"#signals = [measure['measure']['FaradayCup']['sig_uvolt'] for measure in measurements]\n",
"#times = np.array([measure['measure']['FaradayCup']['sig_time'] for measure in measurements])\n",
"#intensities = [measure['measure']['Laser']['intensity'] for measure in measurements]\n",
"#zs = [measure['measure']['Periscope']['z_local'] for measure in measurements]"
]
},
{
"cell_type": "code",
"execution_count": 73,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np"
]
},
{
"cell_type": "code",
"execution_count": 74,
"metadata": {},
"outputs": [],
"source": [
"charges = np.trapz(signals,x=times*1e-9, axis=1)/50*1e-6*1e-4*1e15"
]
},
{
"cell_type": "code",
"execution_count": 75,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Using matplotlib backend: MacOSX\n"
]
}
],
"source": [
"import matplotlib.pyplot as plt\n",
"%matplotlib"
]
},
{
"cell_type": "code",
"execution_count": 66,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x1157f3358>"
]
},
"execution_count": 66,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plt.figure()\n",
"plt.scatter(comps, intensities, c= peaks)\n",
"plt.colorbar()"
]
},
{
"cell_type": "code",
"execution_count": 91,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.text.Text at 0x1231a1748>"
]
},
"execution_count": 91,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plt.figure()\n",
"plt.scatter(np.array(peaks)*1e-6, charges*1e15, c = intensities, s = 1)\n",
"plt.ylabel('Charge [pC]')\n",
"plt.xlabel('Peak Voltae [V]')"
]
},
{
"cell_type": "code",
"execution_count": 90,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x122fee198>]"
]
},
"execution_count": 90,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plt.figure()\n",
"plt.plot(charges*1e15)\n",
"plt.plot(intensities)"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x11ac51a90>,\n",
" <matplotlib.lines.Line2D at 0x11ac51c50>,\n",
" <matplotlib.lines.Line2D at 0x11ac51e48>,\n",
" <matplotlib.lines.Line2D at 0x11ac57080>,\n",
" <matplotlib.lines.Line2D at 0x11ac57278>,\n",
" <matplotlib.lines.Line2D at 0x11ac57470>,\n",
" <matplotlib.lines.Line2D at 0x11ac57668>,\n",
" <matplotlib.lines.Line2D at 0x11ac57860>,\n",
" <matplotlib.lines.Line2D at 0x11ac57a58>,\n",
" <matplotlib.lines.Line2D at 0x11ac57c50>,\n",
" <matplotlib.lines.Line2D at 0x11a94af28>,\n",
" <matplotlib.lines.Line2D at 0x11ac57fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac5f240>,\n",
" <matplotlib.lines.Line2D at 0x11ac5f438>,\n",
" <matplotlib.lines.Line2D at 0x11ac5f630>,\n",
" <matplotlib.lines.Line2D at 0x11ac5f828>,\n",
" <matplotlib.lines.Line2D at 0x11ac5fa20>,\n",
" <matplotlib.lines.Line2D at 0x11ac5fc18>,\n",
" <matplotlib.lines.Line2D at 0x11ac5fe10>,\n",
" <matplotlib.lines.Line2D at 0x11ac5ffd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac65240>,\n",
" <matplotlib.lines.Line2D at 0x11ac65438>,\n",
" <matplotlib.lines.Line2D at 0x11ac65630>,\n",
" <matplotlib.lines.Line2D at 0x11ac65828>,\n",
" <matplotlib.lines.Line2D at 0x11ac65a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac65c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac65e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac65fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac6c240>,\n",
" <matplotlib.lines.Line2D at 0x11ac6c438>,\n",
" <matplotlib.lines.Line2D at 0x11ac6c630>,\n",
" <matplotlib.lines.Line2D at 0x11ac6c828>,\n",
" <matplotlib.lines.Line2D at 0x11ac6ca20>,\n",
" <matplotlib.lines.Line2D at 0x11ac6cc18>,\n",
" <matplotlib.lines.Line2D at 0x11ac6ce10>,\n",
" <matplotlib.lines.Line2D at 0x11ac6cfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac72240>,\n",
" <matplotlib.lines.Line2D at 0x11ac72438>,\n",
" <matplotlib.lines.Line2D at 0x11ac72630>,\n",
" <matplotlib.lines.Line2D at 0x11ac72828>,\n",
" <matplotlib.lines.Line2D at 0x11ac72a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac72c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac72e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac72fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac77240>,\n",
" <matplotlib.lines.Line2D at 0x11ac77438>,\n",
" <matplotlib.lines.Line2D at 0x11ac77630>,\n",
" <matplotlib.lines.Line2D at 0x11ac77828>,\n",
" <matplotlib.lines.Line2D at 0x11ac77a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac77c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac77e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac77fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac7c240>,\n",
" <matplotlib.lines.Line2D at 0x11ac7c438>,\n",
" <matplotlib.lines.Line2D at 0x11ac7c630>,\n",
" <matplotlib.lines.Line2D at 0x11ac7c828>,\n",
" <matplotlib.lines.Line2D at 0x11ac7ca20>,\n",
" <matplotlib.lines.Line2D at 0x11ac7cc18>,\n",
" <matplotlib.lines.Line2D at 0x11ac7ce10>,\n",
" <matplotlib.lines.Line2D at 0x11ac7cfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac81240>,\n",
" <matplotlib.lines.Line2D at 0x11ac81438>,\n",
" <matplotlib.lines.Line2D at 0x11ac81630>,\n",
" <matplotlib.lines.Line2D at 0x11ac81828>,\n",
" <matplotlib.lines.Line2D at 0x11ac81a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac81c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac81e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac81fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac87240>,\n",
" <matplotlib.lines.Line2D at 0x11ac87438>,\n",
" <matplotlib.lines.Line2D at 0x11ac87630>,\n",
" <matplotlib.lines.Line2D at 0x11ac87828>,\n",
" <matplotlib.lines.Line2D at 0x11ac87a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac87c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac87e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac87fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac8f240>,\n",
" <matplotlib.lines.Line2D at 0x11ac8f438>,\n",
" <matplotlib.lines.Line2D at 0x11ac8f630>,\n",
" <matplotlib.lines.Line2D at 0x11ac8f828>,\n",
" <matplotlib.lines.Line2D at 0x11ac8fa20>,\n",
" <matplotlib.lines.Line2D at 0x11ac8fc18>,\n",
" <matplotlib.lines.Line2D at 0x11ac8fe10>,\n",
" <matplotlib.lines.Line2D at 0x11ac8ffd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac95240>,\n",
" <matplotlib.lines.Line2D at 0x11ac95438>,\n",
" <matplotlib.lines.Line2D at 0x11ac95630>,\n",
" <matplotlib.lines.Line2D at 0x11ac95828>,\n",
" <matplotlib.lines.Line2D at 0x11ac95a20>,\n",
" <matplotlib.lines.Line2D at 0x11ac95c18>,\n",
" <matplotlib.lines.Line2D at 0x11ac95e10>,\n",
" <matplotlib.lines.Line2D at 0x11ac95fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ac9a240>,\n",
" <matplotlib.lines.Line2D at 0x11ac9a438>,\n",
" <matplotlib.lines.Line2D at 0x11ac9a630>,\n",
" <matplotlib.lines.Line2D at 0x11ac9a828>,\n",
" <matplotlib.lines.Line2D at 0x11ac9aa20>,\n",
" <matplotlib.lines.Line2D at 0x11ac9ac18>,\n",
" <matplotlib.lines.Line2D at 0x11ac9ae10>,\n",
" <matplotlib.lines.Line2D at 0x11ac9afd0>,\n",
" <matplotlib.lines.Line2D at 0x11aca1240>,\n",
" <matplotlib.lines.Line2D at 0x11aca1438>,\n",
" <matplotlib.lines.Line2D at 0x11aca1630>,\n",
" <matplotlib.lines.Line2D at 0x11aca1828>,\n",
" <matplotlib.lines.Line2D at 0x11aca1a20>,\n",
" <matplotlib.lines.Line2D at 0x11aca1c18>,\n",
" <matplotlib.lines.Line2D at 0x11aca1e10>,\n",
" <matplotlib.lines.Line2D at 0x11aca1fd0>,\n",
" <matplotlib.lines.Line2D at 0x11aca5240>,\n",
" <matplotlib.lines.Line2D at 0x11aca5438>,\n",
" <matplotlib.lines.Line2D at 0x11aca5630>,\n",
" <matplotlib.lines.Line2D at 0x11aca5828>,\n",
" <matplotlib.lines.Line2D at 0x11aca5a20>,\n",
" <matplotlib.lines.Line2D at 0x11aca5c18>,\n",
" <matplotlib.lines.Line2D at 0x11aca5e10>,\n",
" <matplotlib.lines.Line2D at 0x11aca5fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acac240>,\n",
" <matplotlib.lines.Line2D at 0x11acac438>,\n",
" <matplotlib.lines.Line2D at 0x11acac630>,\n",
" <matplotlib.lines.Line2D at 0x11acac828>,\n",
" <matplotlib.lines.Line2D at 0x11acaca20>,\n",
" <matplotlib.lines.Line2D at 0x11acacc18>,\n",
" <matplotlib.lines.Line2D at 0x11acace10>,\n",
" <matplotlib.lines.Line2D at 0x11acacfd0>,\n",
" <matplotlib.lines.Line2D at 0x11acb1240>,\n",
" <matplotlib.lines.Line2D at 0x11acb1438>,\n",
" <matplotlib.lines.Line2D at 0x11acb1630>,\n",
" <matplotlib.lines.Line2D at 0x11acb1828>,\n",
" <matplotlib.lines.Line2D at 0x11acb1a20>,\n",
" <matplotlib.lines.Line2D at 0x11acb1c18>,\n",
" <matplotlib.lines.Line2D at 0x11acb1e10>,\n",
" <matplotlib.lines.Line2D at 0x11acb1fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acb8240>,\n",
" <matplotlib.lines.Line2D at 0x11acb8438>,\n",
" <matplotlib.lines.Line2D at 0x11acb8630>,\n",
" <matplotlib.lines.Line2D at 0x11acb8828>,\n",
" <matplotlib.lines.Line2D at 0x11acb8a20>,\n",
" <matplotlib.lines.Line2D at 0x11acb8c18>,\n",
" <matplotlib.lines.Line2D at 0x11acb8e10>,\n",
" <matplotlib.lines.Line2D at 0x11acb8fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acbe240>,\n",
" <matplotlib.lines.Line2D at 0x11acbe438>,\n",
" <matplotlib.lines.Line2D at 0x11acbe630>,\n",
" <matplotlib.lines.Line2D at 0x11acbe828>,\n",
" <matplotlib.lines.Line2D at 0x11acbea20>,\n",
" <matplotlib.lines.Line2D at 0x11acbec18>,\n",
" <matplotlib.lines.Line2D at 0x11acbee10>,\n",
" <matplotlib.lines.Line2D at 0x11acbefd0>,\n",
" <matplotlib.lines.Line2D at 0x11acc3240>,\n",
" <matplotlib.lines.Line2D at 0x11acc3438>,\n",
" <matplotlib.lines.Line2D at 0x11acc3630>,\n",
" <matplotlib.lines.Line2D at 0x11acc3828>,\n",
" <matplotlib.lines.Line2D at 0x11acc3a20>,\n",
" <matplotlib.lines.Line2D at 0x11acc3c18>,\n",
" <matplotlib.lines.Line2D at 0x11acc3e10>,\n",
" <matplotlib.lines.Line2D at 0x11acc3fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acca240>,\n",
" <matplotlib.lines.Line2D at 0x11acca438>,\n",
" <matplotlib.lines.Line2D at 0x11acca630>,\n",
" <matplotlib.lines.Line2D at 0x11acca828>,\n",
" <matplotlib.lines.Line2D at 0x11accaa20>,\n",
" <matplotlib.lines.Line2D at 0x11accac18>,\n",
" <matplotlib.lines.Line2D at 0x11accae10>,\n",
" <matplotlib.lines.Line2D at 0x11accafd0>,\n",
" <matplotlib.lines.Line2D at 0x11acce240>,\n",
" <matplotlib.lines.Line2D at 0x11acce438>,\n",
" <matplotlib.lines.Line2D at 0x11acce630>,\n",
" <matplotlib.lines.Line2D at 0x11acce828>,\n",
" <matplotlib.lines.Line2D at 0x11accea20>,\n",
" <matplotlib.lines.Line2D at 0x11accec18>,\n",
" <matplotlib.lines.Line2D at 0x11accee10>,\n",
" <matplotlib.lines.Line2D at 0x11accefd0>,\n",
" <matplotlib.lines.Line2D at 0x11acd6240>,\n",
" <matplotlib.lines.Line2D at 0x11acd6438>,\n",
" <matplotlib.lines.Line2D at 0x11acd6630>,\n",
" <matplotlib.lines.Line2D at 0x11acd6828>,\n",
" <matplotlib.lines.Line2D at 0x11acd6a20>,\n",
" <matplotlib.lines.Line2D at 0x11acd6c18>,\n",
" <matplotlib.lines.Line2D at 0x11acd6e10>,\n",
" <matplotlib.lines.Line2D at 0x11acd6fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acdb240>,\n",
" <matplotlib.lines.Line2D at 0x11acdb438>,\n",
" <matplotlib.lines.Line2D at 0x11acdb630>,\n",
" <matplotlib.lines.Line2D at 0x11acdb828>,\n",
" <matplotlib.lines.Line2D at 0x11acdba20>,\n",
" <matplotlib.lines.Line2D at 0x11acdbc18>,\n",
" <matplotlib.lines.Line2D at 0x11acdbe10>,\n",
" <matplotlib.lines.Line2D at 0x11acdbfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ace2240>,\n",
" <matplotlib.lines.Line2D at 0x11ace2438>,\n",
" <matplotlib.lines.Line2D at 0x11ace2630>,\n",
" <matplotlib.lines.Line2D at 0x11ace2828>,\n",
" <matplotlib.lines.Line2D at 0x11ace2a20>,\n",
" <matplotlib.lines.Line2D at 0x11ace2c18>,\n",
" <matplotlib.lines.Line2D at 0x11ace2e10>,\n",
" <matplotlib.lines.Line2D at 0x11ace2fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ace7240>,\n",
" <matplotlib.lines.Line2D at 0x11ace7438>,\n",
" <matplotlib.lines.Line2D at 0x11ace7630>,\n",
" <matplotlib.lines.Line2D at 0x11ace7828>,\n",
" <matplotlib.lines.Line2D at 0x11ace7a20>,\n",
" <matplotlib.lines.Line2D at 0x11ace7c18>,\n",
" <matplotlib.lines.Line2D at 0x11ace7e10>,\n",
" <matplotlib.lines.Line2D at 0x11ace7fd0>,\n",
" <matplotlib.lines.Line2D at 0x11aced240>,\n",
" <matplotlib.lines.Line2D at 0x11aced438>,\n",
" <matplotlib.lines.Line2D at 0x11aced630>,\n",
" <matplotlib.lines.Line2D at 0x11aced828>,\n",
" <matplotlib.lines.Line2D at 0x11aceda20>,\n",
" <matplotlib.lines.Line2D at 0x11acedc18>,\n",
" <matplotlib.lines.Line2D at 0x11acede10>,\n",
" <matplotlib.lines.Line2D at 0x11acedfd0>,\n",
" <matplotlib.lines.Line2D at 0x11acf2240>,\n",
" <matplotlib.lines.Line2D at 0x11acf2438>,\n",
" <matplotlib.lines.Line2D at 0x11acf2630>,\n",
" <matplotlib.lines.Line2D at 0x11acf2828>,\n",
" <matplotlib.lines.Line2D at 0x11acf2a20>,\n",
" <matplotlib.lines.Line2D at 0x11acf2c18>,\n",
" <matplotlib.lines.Line2D at 0x11acf2e10>,\n",
" <matplotlib.lines.Line2D at 0x11acf2fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acf8240>,\n",
" <matplotlib.lines.Line2D at 0x11acf8438>,\n",
" <matplotlib.lines.Line2D at 0x11acf8630>,\n",
" <matplotlib.lines.Line2D at 0x11acf8828>,\n",
" <matplotlib.lines.Line2D at 0x11acf8a20>,\n",
" <matplotlib.lines.Line2D at 0x11acf8c18>,\n",
" <matplotlib.lines.Line2D at 0x11acf8e10>,\n",
" <matplotlib.lines.Line2D at 0x11acf8fd0>,\n",
" <matplotlib.lines.Line2D at 0x11acff240>,\n",
" <matplotlib.lines.Line2D at 0x11acff438>,\n",
" <matplotlib.lines.Line2D at 0x11acff630>,\n",
" <matplotlib.lines.Line2D at 0x11acff828>,\n",
" <matplotlib.lines.Line2D at 0x11acffa20>,\n",
" <matplotlib.lines.Line2D at 0x11acffc18>,\n",
" <matplotlib.lines.Line2D at 0x11acffe10>,\n",
" <matplotlib.lines.Line2D at 0x11acfffd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad04240>,\n",
" <matplotlib.lines.Line2D at 0x11ad04438>,\n",
" <matplotlib.lines.Line2D at 0x11ad04630>,\n",
" <matplotlib.lines.Line2D at 0x11ad04828>,\n",
" <matplotlib.lines.Line2D at 0x11ad04a20>,\n",
" <matplotlib.lines.Line2D at 0x11ad04c18>,\n",
" <matplotlib.lines.Line2D at 0x11ad04e10>,\n",
" <matplotlib.lines.Line2D at 0x11ad04fd0>,\n",
" <matplotlib.lines.Line2D at 0x11a94a0b8>,\n",
" <matplotlib.lines.Line2D at 0x11a9433c8>,\n",
" <matplotlib.lines.Line2D at 0x11a943978>,\n",
" <matplotlib.lines.Line2D at 0x11a939358>,\n",
" <matplotlib.lines.Line2D at 0x11a92fe80>,\n",
" <matplotlib.lines.Line2D at 0x11a935128>,\n",
" <matplotlib.lines.Line2D at 0x11a935b70>,\n",
" <matplotlib.lines.Line2D at 0x11ad0c240>,\n",
" <matplotlib.lines.Line2D at 0x11ad0c400>,\n",
" <matplotlib.lines.Line2D at 0x11ad0c5c0>,\n",
" <matplotlib.lines.Line2D at 0x11ad0c780>,\n",
" <matplotlib.lines.Line2D at 0x11ad0c940>,\n",
" <matplotlib.lines.Line2D at 0x11ad0cb00>,\n",
" <matplotlib.lines.Line2D at 0x11ad0ccc0>,\n",
" <matplotlib.lines.Line2D at 0x11ad0ce80>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f080>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f240>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f400>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad0f9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad0fbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad0fdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad0ffd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad14208>,\n",
" <matplotlib.lines.Line2D at 0x11ad14400>,\n",
" <matplotlib.lines.Line2D at 0x11ad145f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad147f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad149e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad14be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad14dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad14fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad1b208>,\n",
" <matplotlib.lines.Line2D at 0x11ad1b400>,\n",
" <matplotlib.lines.Line2D at 0x11ad1b5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad1b7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad1b9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad1bbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad1bdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad1bfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad20208>,\n",
" <matplotlib.lines.Line2D at 0x11ad20400>,\n",
" <matplotlib.lines.Line2D at 0x11ad205f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad207f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad209e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad20be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad20dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad20fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad26208>,\n",
" <matplotlib.lines.Line2D at 0x11ad26400>,\n",
" <matplotlib.lines.Line2D at 0x11ad265f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad267f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad269e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad26be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad26dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad26fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad2c208>,\n",
" <matplotlib.lines.Line2D at 0x11ad2c400>,\n",
" <matplotlib.lines.Line2D at 0x11ad2c5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad2c7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad2c9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad2cbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad2cdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad2cfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad32208>,\n",
" <matplotlib.lines.Line2D at 0x11ad32400>,\n",
" <matplotlib.lines.Line2D at 0x11ad325f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad327f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad329e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad32be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad32dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad32fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad39208>,\n",
" <matplotlib.lines.Line2D at 0x11ad39400>,\n",
" <matplotlib.lines.Line2D at 0x11ad395f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad397f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad399e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad39be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad39dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad39fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad3d208>,\n",
" <matplotlib.lines.Line2D at 0x11ad3d400>,\n",
" <matplotlib.lines.Line2D at 0x11ad3d5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad3d7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad3d9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad3dbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad3ddd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad3dfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad44208>,\n",
" <matplotlib.lines.Line2D at 0x11ad44400>,\n",
" <matplotlib.lines.Line2D at 0x11ad445f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad447f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad449e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad44be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad44dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad44fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad4b208>,\n",
" <matplotlib.lines.Line2D at 0x11ad4b400>,\n",
" <matplotlib.lines.Line2D at 0x11ad4b5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad4b7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad4b9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad4bbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad4bdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad4bfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad50208>,\n",
" <matplotlib.lines.Line2D at 0x11ad50400>,\n",
" <matplotlib.lines.Line2D at 0x11ad505f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad507f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad509e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad50be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad50dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad50fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad55208>,\n",
" <matplotlib.lines.Line2D at 0x11ad55400>,\n",
" <matplotlib.lines.Line2D at 0x11ad555f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad557f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad559e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad55be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad55dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad55fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad5b208>,\n",
" <matplotlib.lines.Line2D at 0x11ad5b400>,\n",
" <matplotlib.lines.Line2D at 0x11ad5b5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad5b7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad5b9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad5bbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad5bdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad5bfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad62208>,\n",
" <matplotlib.lines.Line2D at 0x11ad62400>,\n",
" <matplotlib.lines.Line2D at 0x11ad625f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad627f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad629e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad62be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad62dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad62fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad67208>,\n",
" <matplotlib.lines.Line2D at 0x11ad67400>,\n",
" <matplotlib.lines.Line2D at 0x11ad675f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad677f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad679e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad67be0>,\n",
" <matplotlib.lines.Line2D at 0x11ad67dd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad67fd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad6c208>,\n",
" <matplotlib.lines.Line2D at 0x11ad6c400>,\n",
" <matplotlib.lines.Line2D at 0x11ad6c5f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad6c7f0>,\n",
" <matplotlib.lines.Line2D at 0x11ad6c9e8>,\n",
" <matplotlib.lines.Line2D at 0x11ad6cbe0>,\n",
" <matplotlib.lines.Line2D at 0x11ad6cdd8>,\n",
" <matplotlib.lines.Line2D at 0x11ad6cfd0>,\n",
" <matplotlib.lines.Line2D at 0x11ad74208>,\n",
" <matplotlib.lines.Line2D at 0x11ad74400>,\n",
" <matplotlib.lines.Line2D at 0x11ad745f8>,\n",
" <matplotlib.lines.Line2D at 0x11ad747f0>]"
]
},
"execution_count": 38,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plt.figure()\n",
"plt.plot(np.array(times).T)"
]
},
{
"cell_type": "code",
"execution_count": 85,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x120c80ba8>,\n",
" <matplotlib.lines.Line2D at 0x120ce10b8>]"
]
},
"execution_count": 85,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"plt.figure()\n",
"plt.plot(np.array(signals)[40:42].T, c = intensities[40:42])\n",
"plt.plot(np.array(signals)[300:302].T)"
]
},
{
"cell_type": "code",
"execution_count": 58,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'comment': 'scan of pos_l_z over (-4.0, -5.0, 50), current value: -4.02040816327',\n",
" 'config': {'DelayGenerator': {'jet_triggered': True,\n",
" 'mode': 'single shot',\n",
" 'rate': 5.080264937177985,\n",
" 't_sleep': 0.3},\n",
" 'FaradayCup': {'channel': 2},\n",
" 'Laser': {'attenuation': 100.0,\n",
" 'channel': 1,\n",
" 'comp_lin': 37.796,\n",
" 'max_angle': -22.9},\n",
" 'time': '2017-03-29_17-54-14.541063'},\n",
" 'measure': {'DelayGenerator': {'time': '2017-03-29_17-54-14.549813'},\n",
" 'FaradayCup': {'peak_uvolt': -28928,\n",
" 'sig_time': array([ 0.00000000e+00, 1.97011672e-01, 3.91110198e-01, ...,\n",