2015-02-10 09:07:29 +00:00
|
|
|
{
|
|
|
|
"metadata": {
|
|
|
|
"name": "",
|
2015-02-22 10:36:23 +00:00
|
|
|
"signature": "sha256:6cbbbd8e5e8262619c7495c93758f9e0e660ffd345f9e5bb3915bf21352002f6"
|
2015-02-10 09:07:29 +00:00
|
|
|
},
|
|
|
|
"nbformat": 3,
|
|
|
|
"nbformat_minor": 0,
|
|
|
|
"worksheets": [
|
|
|
|
{
|
|
|
|
"cells": [
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"collapsed": false,
|
|
|
|
"input": [
|
2015-02-22 10:36:23 +00:00
|
|
|
"from os import system\n",
|
|
|
|
"system('cmake . && make')\n",
|
|
|
|
"%run -i run.py"
|
2015-02-10 09:07:29 +00:00
|
|
|
],
|
|
|
|
"language": "python",
|
|
|
|
"metadata": {},
|
2015-02-22 09:19:27 +00:00
|
|
|
"outputs": []
|
2015-02-10 09:07:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"collapsed": false,
|
|
|
|
"input": [
|
2015-02-22 10:36:23 +00:00
|
|
|
"uarr=load('udata.npy')\n",
|
|
|
|
"\n",
|
|
|
|
"uleft=zeros(uarr.shape[0],dtype=float)\n",
|
|
|
|
"for i in range(uarr.shape[0]):\n",
|
|
|
|
" uleft[i]=uarr[i][0]\n",
|
|
|
|
"plot(uleft)"
|
2015-02-10 09:07:29 +00:00
|
|
|
],
|
|
|
|
"language": "python",
|
|
|
|
"metadata": {},
|
2015-02-22 09:19:27 +00:00
|
|
|
"outputs": []
|
2015-02-10 09:07:29 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"collapsed": false,
|
|
|
|
"input": [
|
2015-02-22 10:36:23 +00:00
|
|
|
"parr=load('pdata.npy')\n",
|
|
|
|
"\n",
|
|
|
|
"pend=zeros(parr.shape[0],dtype=float)\n",
|
|
|
|
"for i in range(parr.shape[0]):\n",
|
|
|
|
" pend[i]=parr[i][-1]\n",
|
|
|
|
"plot(pend)\n",
|
|
|
|
"show()"
|
2015-02-10 09:07:29 +00:00
|
|
|
],
|
|
|
|
"language": "python",
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"metadata": {}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|