(filename)
| 16 | |
| 17 | |
| 18 | def create_test_file(filename): |
| 19 | data = np.random.rand(SIZE, SIZE) |
| 20 | |
| 21 | with tb.open_file(filename, "w") as h5file: |
| 22 | h5file.create_array("/", "array", title="Test Array", obj=data) |
| 23 | |
| 24 | |
| 25 | def chunk_generator(data_size, nchunks): |