Skip to content

Commit d8b877b

Browse files
committed
Execute notebooks
1 parent 92461de commit d8b877b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+393471
-2441
lines changed

audio-files/audio-files-with-audiolab.ipynb

Lines changed: 83 additions & 11 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-audioread.ipynb

Lines changed: 37 additions & 5 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-ewave.ipynb

Lines changed: 164 additions & 21 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-pysoundfile.ipynb

Lines changed: 413 additions & 66 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-python-wavefile.ipynb

Lines changed: 262 additions & 54 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-scipy-io.ipynb

Lines changed: 177 additions & 21 deletions
Large diffs are not rendered by default.

audio-files/audio-files-with-wave.ipynb

Lines changed: 550 additions & 76 deletions
Large diffs are not rendered by default.

audio-files/my_float_file.wav

548 Bytes
Binary file not shown.

audio-files/my_pcm16_file.wav

254 Bytes
Binary file not shown.

audio-files/scipy_float32.wav

90 Bytes
Binary file not shown.

audio-files/scipy_pcm16.wav

60 Bytes
Binary file not shown.

hdf5/chunking.hdf5

6.55 KB
Binary file not shown.

hdf5/hdf5-chunking.ipynb

Lines changed: 130 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"cell_type": "code",
14-
"execution_count": null,
14+
"execution_count": 1,
1515
"metadata": {},
1616
"outputs": [],
1717
"source": [
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"cell_type": "code",
23-
"execution_count": null,
23+
"execution_count": 2,
2424
"metadata": {},
2525
"outputs": [],
2626
"source": [
@@ -29,7 +29,7 @@
2929
},
3030
{
3131
"cell_type": "code",
32-
"execution_count": null,
32+
"execution_count": 3,
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
@@ -38,16 +38,27 @@
3838
},
3939
{
4040
"cell_type": "code",
41-
"execution_count": null,
41+
"execution_count": 4,
4242
"metadata": {},
43-
"outputs": [],
43+
"outputs": [
44+
{
45+
"data": {
46+
"text/plain": [
47+
"True"
48+
]
49+
},
50+
"execution_count": 4,
51+
"metadata": {},
52+
"output_type": "execute_result"
53+
}
54+
],
4455
"source": [
4556
"f['a'].chunks is None"
4657
]
4758
},
4859
{
4960
"cell_type": "code",
50-
"execution_count": null,
61+
"execution_count": 5,
5162
"metadata": {},
5263
"outputs": [],
5364
"source": [
@@ -56,63 +67,129 @@
5667
},
5768
{
5869
"cell_type": "code",
59-
"execution_count": null,
70+
"execution_count": 6,
6071
"metadata": {},
61-
"outputs": [],
72+
"outputs": [
73+
{
74+
"data": {
75+
"text/plain": [
76+
"<HDF5 dataset \"b\": shape (2, 3), type \"<i8\">"
77+
]
78+
},
79+
"execution_count": 6,
80+
"metadata": {},
81+
"output_type": "execute_result"
82+
}
83+
],
6284
"source": [
6385
"f.create_dataset('b', data=[[1, 2, 3], [4, 5, 6]], chunks=(2, 1),\n",
6486
" shuffle=True, compression=9, maxshape=(None, None))"
6587
]
6688
},
6789
{
6890
"cell_type": "code",
69-
"execution_count": null,
91+
"execution_count": 7,
7092
"metadata": {},
71-
"outputs": [],
93+
"outputs": [
94+
{
95+
"data": {
96+
"text/plain": [
97+
"(2, 1)"
98+
]
99+
},
100+
"execution_count": 7,
101+
"metadata": {},
102+
"output_type": "execute_result"
103+
}
104+
],
72105
"source": [
73106
"b = f['b']\n",
74107
"b.chunks"
75108
]
76109
},
77110
{
78111
"cell_type": "code",
79-
"execution_count": null,
112+
"execution_count": 8,
80113
"metadata": {},
81-
"outputs": [],
114+
"outputs": [
115+
{
116+
"data": {
117+
"text/plain": [
118+
"'gzip'"
119+
]
120+
},
121+
"execution_count": 8,
122+
"metadata": {},
123+
"output_type": "execute_result"
124+
}
125+
],
82126
"source": [
83127
"b.compression"
84128
]
85129
},
86130
{
87131
"cell_type": "code",
88-
"execution_count": null,
132+
"execution_count": 9,
89133
"metadata": {},
90-
"outputs": [],
134+
"outputs": [
135+
{
136+
"data": {
137+
"text/plain": [
138+
"9"
139+
]
140+
},
141+
"execution_count": 9,
142+
"metadata": {},
143+
"output_type": "execute_result"
144+
}
145+
],
91146
"source": [
92147
"b.compression_opts"
93148
]
94149
},
95150
{
96151
"cell_type": "code",
97-
"execution_count": null,
152+
"execution_count": 10,
98153
"metadata": {},
99-
"outputs": [],
154+
"outputs": [
155+
{
156+
"data": {
157+
"text/plain": [
158+
"True"
159+
]
160+
},
161+
"execution_count": 10,
162+
"metadata": {},
163+
"output_type": "execute_result"
164+
}
165+
],
100166
"source": [
101167
"b.shuffle"
102168
]
103169
},
104170
{
105171
"cell_type": "code",
106-
"execution_count": null,
172+
"execution_count": 11,
107173
"metadata": {},
108-
"outputs": [],
174+
"outputs": [
175+
{
176+
"data": {
177+
"text/plain": [
178+
"(None, None)"
179+
]
180+
},
181+
"execution_count": 11,
182+
"metadata": {},
183+
"output_type": "execute_result"
184+
}
185+
],
109186
"source": [
110187
"b.maxshape"
111188
]
112189
},
113190
{
114191
"cell_type": "code",
115-
"execution_count": null,
192+
"execution_count": 12,
116193
"metadata": {},
117194
"outputs": [],
118195
"source": [
@@ -121,26 +198,55 @@
121198
},
122199
{
123200
"cell_type": "code",
124-
"execution_count": null,
201+
"execution_count": 13,
125202
"metadata": {},
126-
"outputs": [],
203+
"outputs": [
204+
{
205+
"data": {
206+
"text/plain": [
207+
"array([[1, 2, 3],\n",
208+
" [4, 5, 6],\n",
209+
" [0, 0, 0],\n",
210+
" [0, 0, 0]])"
211+
]
212+
},
213+
"execution_count": 13,
214+
"metadata": {},
215+
"output_type": "execute_result"
216+
}
217+
],
127218
"source": [
128219
"b[...]"
129220
]
130221
},
131222
{
132223
"cell_type": "code",
133-
"execution_count": null,
224+
"execution_count": 14,
134225
"metadata": {},
135-
"outputs": [],
226+
"outputs": [
227+
{
228+
"data": {
229+
"text/plain": [
230+
"array([[1, 2, 3, 0, 0, 0],\n",
231+
" [4, 5, 6, 0, 0, 0],\n",
232+
" [0, 0, 0, 0, 0, 0],\n",
233+
" [0, 0, 0, 0, 0, 0],\n",
234+
" [0, 0, 0, 0, 0, 0]])"
235+
]
236+
},
237+
"execution_count": 14,
238+
"metadata": {},
239+
"output_type": "execute_result"
240+
}
241+
],
136242
"source": [
137243
"b.resize((5, 6))\n",
138244
"b[...]"
139245
]
140246
},
141247
{
142248
"cell_type": "code",
143-
"execution_count": null,
249+
"execution_count": 15,
144250
"metadata": {},
145251
"outputs": [],
146252
"source": [

0 commit comments

Comments
 (0)