We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbab8c2 commit 5de7747Copy full SHA for 5de7747
auto_bin.py
@@ -0,0 +1,8 @@
1
+'''
2
+Auto bin number.
3
4
+import numpy as np
5
+
6
+def autoBin(data):
7
+ data_range = np.max(data) - np.min(data)
8
+ return int(np.ceil(data_range / (np.std(data) / 3)))
readme.md
@@ -156,6 +156,11 @@ Play audio cues.
156
157
[source code](https://github.com/Daniel-Chin/Python_Lib/blob/master/audioCues.py)
158
159
+## auto_bin.py
160
161
162
+[source code](https://github.com/Daniel-Chin/Python_Lib/blob/master/auto_bin.py)
163
164
## babble.py
165
Repeatedly prints 'wobo wabble' indefinitely.
166
0 commit comments