From 2de2a058afa9a2a5e38f1058be8f98e0bca1ad67 Mon Sep 17 00:00:00 2001 From: Matthias Faust Date: Thu, 1 Oct 2020 12:03:07 +0200 Subject: [PATCH] =?UTF-8?q?binnames=20f=C3=BCr=20random=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dust-bubble.ipynb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/dust-bubble.ipynb b/dust-bubble.ipynb index b698199..b3da9fe 100644 --- a/dust-bubble.ipynb +++ b/dust-bubble.ipynb @@ -53,13 +53,11 @@ "dt=30\n", "\n", "scale=2.e-7\n", - "border=100000\n", - "\n", "\n", "velox=0.\n", "veloy=0.\n", "\n", - "expname = 'exp2'\n", + "expname = 'exp1'\n", "ofilename=expname+'_'+str(scale)+'.out'\n", "\n", "# ntmsp\n", @@ -142,7 +140,11 @@ " dat1[i]=np.random.random_integers(0,npmax) \n", " dat2[i]=np.random.random_integers(0,npmax)\n", " npmax -= npmax/5.\n", - "\n" + "\n", + "binnames = ['0.25-0.28', '0.28-0.30', '0.30-0.35', '0.35-0.40', '0.40-0.45', '0.45-0.50', '0.50-0.58', \n", + " '0.58-0.65', '0.65-0.70', '0.70-0.80', '0.80-1.0', '1.0-1.3', '1.3-1.6', '1.6-2.0', '2.0-2.5', \n", + " '2.5-3.0', '3.0-3.5', '3.5-4.0', '4.0-5.0', '5.0-6.5', '6.5-7.5', '7.5-8.5', '8.5-10.0', \n", + " '10.0-12.5', '12.5-15.0', '15.0-17.5', '17.5-20.0', '20.0-25.0', '25.0-30.0', '30.0-32.0', '>32.0']" ] }, { @@ -869,13 +871,6 @@ "fig.tight_layout()\n", "plt.savefig('out.png',dpi=500)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": {