Datasets:
Formats:
webdataset
Languages:
English
Size:
10K - 100K
Tags:
graph-neural-networks
kuramoto-oscillators
basin-stability
power-grids
physics
long-range-dependencies
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -106,6 +106,9 @@ tar -xvf num_sections_20.tar
|
|
| 106 |
Then, for example, load .h5 files in Python:
|
| 107 |
|
| 108 |
```python
|
|
|
|
|
|
|
|
|
|
| 109 |
with h5py.File('num_sections_20/ds20/heatmap_grid_00001.h5', 'r') as f:
|
| 110 |
basin_heatmap_node1 = np.array(f['basin_heatmap_1'])
|
| 111 |
samples_heatmap_node1 = np.array(f['samples_heatmap_1'])
|
|
|
|
| 106 |
Then, for example, load .h5 files in Python:
|
| 107 |
|
| 108 |
```python
|
| 109 |
+
import h5py
|
| 110 |
+
import numpy as np
|
| 111 |
+
|
| 112 |
with h5py.File('num_sections_20/ds20/heatmap_grid_00001.h5', 'r') as f:
|
| 113 |
basin_heatmap_node1 = np.array(f['basin_heatmap_1'])
|
| 114 |
samples_heatmap_node1 = np.array(f['samples_heatmap_1'])
|