Skip to content

Commit

Permalink
binnames für random data
Browse files Browse the repository at this point in the history
  • Loading branch information
mttfst committed Oct 1, 2020
1 parent c8f083f commit 2de2a05
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions dust-bubble.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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']"
]
},
{
Expand Down Expand Up @@ -869,13 +871,6 @@
"fig.tight_layout()\n",
"plt.savefig('out.png',dpi=500)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 2de2a05

Please sign in to comment.