Commit 08f78d71 authored by Antoine RAVETTA's avatar Antoine RAVETTA

Remove checkpoints

parent 7833e65b
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 2
}
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"\n",
"def import_data():\n",
" # TODO\n",
" data_array = np.loadtxt('../data/CN_cylindric_data.dat', dtype=complex)\n",
" return data_array\n",
"\n",
"\n",
"def plot_data(crank):\n",
" fig, ax = plt.subplots()\n",
" # TODO\n",
" mesh = ax.pcolormesh(crank.z_pts, np.concatenate(crank.r_pts, -crank.r_pts[::-1]),\n",
" np.concatenate(crank.u_matrix, -crank.u_matrix[::-1]))\n",
" ax.set_xlabel('z')\n",
" ax.set_ylabel('r')\n",
" plt.colorbar(mesh, ax=ax)\n",
" fig.show()\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment