changeset 30:9f40651f6080

works, but not quite right for cc simulation
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 29 Jul 2021 10:21:51 +0100
parents 7d6bc790b213
children 1252f8100c6a
files distr_3.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/distr_3.py	Wed Jul 28 17:55:36 2021 +0100
+++ b/distr_3.py	Thu Jul 29 10:21:51 2021 +0100
@@ -29,7 +29,10 @@
   return f
 
 segs=[fd(n,m,b) for s in range(ss)]
+for s in segs:
+  print("%6.3g %6.3g"%(s.mean(), s.sd()))
 
-whole.bell()
+whole.bell(block=False)
+segs[4].bell()