From 9ab01ebc225ebce1ec0094b166f4040b927896a7 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 19 May 2016 17:07:34 +0100 Subject: [PATCH] Formatting updates. --- .../Jupyter notebooks/plot_builtin_wave.ipynb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/Jupyter notebooks/plot_builtin_wave.ipynb b/tools/Jupyter notebooks/plot_builtin_wave.ipynb index a2da8161..1050b93a 100644 --- a/tools/Jupyter notebooks/plot_builtin_wave.ipynb +++ b/tools/Jupyter notebooks/plot_builtin_wave.ipynb @@ -86,7 +86,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 10, "metadata": { "collapsed": false, "scrolled": true @@ -96,10 +96,10 @@ "name": "stdout", "output_type": "stream", "text": [ - "Minimum wavelength = 0.416378m\n", - "Maximum spatial resolution = 0.0416378m\n", - "Time step for 3D cubic cell = 8.01875e-11s\n", - "Time step for 2D cubic cell = 9.82093e-11s\n" + "Minimum wavelength: 0.416378 m\n", + "Maximum spatial resolution: 0.0416378 m\n", + "Time step for 3D cubic cell: 8.01875e-11 s\n", + "Time step for 2D cubic cell: 9.82093e-11 s\n" ] } ], @@ -125,10 +125,10 @@ "dt3D = dmin / (sqrt(3) * c)\n", "dt2D = dmin / (sqrt(2) * c)\n", "\n", - "print('Minimum wavelength = {:g}m'.format(wmin))\n", - "print('Maximum spatial resolution = {:g}m'.format(dmin))\n", - "print('Time step for 3D cubic cell = {:g}s'.format(dt3D))\n", - "print('Time step for 2D cubic cell = {:g}s'.format(dt2D))" + "print('Minimum wavelength: {:g} m'.format(wmin))\n", + "print('Maximum spatial resolution: {:g} m'.format(dmin))\n", + "print('Time step for 3D cubic cell: {:g} s'.format(dt3D))\n", + "print('Time step for 2D cubic cell: {:g} s'.format(dt2D))" ] } ],