(f, nlevels)
| 35 | |
| 36 | |
| 37 | def populate(f, nlevels): |
| 38 | g = f.root |
| 39 | # arr = np.zeros((10,), "f4") |
| 40 | # descr = {'f0': tables.Int32Col(), 'f1': tables.Float32Col()} |
| 41 | for i in range(nlevels): |
| 42 | # dset = f.create_array(g, "DS1", arr) |
| 43 | # dset = f.create_array(g, "DS2", arr) |
| 44 | f.create_carray(g, "DS1", tb.IntAtom(), (10,)) |
| 45 | f.create_carray(g, "DS2", tb.IntAtom(), (10,)) |
| 46 | # dset = f.create_table(g, "DS1", descr) |
| 47 | # dset = f.create_table(g, "DS2", descr) |
| 48 | f.create_group(g, "group2_") |
| 49 | g = f.create_group(g, "group") |
| 50 | |
| 51 | |
| 52 | def getnode(f, nlevels, niter, range_): |
no test coverage detected