Update dataset card
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ import numpy as np
|
|
| 38 |
import sdrbench
|
| 39 |
from pysz import sz, szConfig, szErrorBoundMode
|
| 40 |
|
| 41 |
-
ds = sdrbench.dataset("nyx") # default variant:
|
| 42 |
print(ds.fields)
|
| 43 |
x = ds["baryon_density"] # numpy array, dtype <f4, shape (512, 512, 512)
|
| 44 |
|
|
@@ -52,7 +52,7 @@ max_err, psnr, nrmse = sz.verify(np.asarray(x), y)
|
|
| 52 |
print(f"ratio {ratio:.1f}x, PSNR {psnr:.1f} dB, max error {max_err:.3g}")
|
| 53 |
```
|
| 54 |
|
| 55 |
-
Other variants: `sdrbench.dataset("nyx", "
|
| 56 |
|
| 57 |
Files are downloaded on first use and cached; if Hugging Face is unreachable the package falls
|
| 58 |
back to the original archive on Globus.
|
|
@@ -69,7 +69,7 @@ x = np.fromfile(p, dtype="<f4").reshape((512, 512, 512))
|
|
| 69 |
## Contents
|
| 70 |
|
| 71 |
|
| 72 |
-
### `
|
| 73 |
|
| 74 |
7 files, 3.2 GB, from [SDRBENCH-EXASKY-NYX-512x512x512.tar.gz](https://g-d0cd3f.fd635.8443.data.globus.org/raw-data/EXASKY/NYX/SDRBENCH-EXASKY-NYX-512x512x512.tar.gz).
|
| 75 |
|
|
@@ -84,7 +84,7 @@ x = np.fromfile(p, dtype="<f4").reshape((512, 512, 512))
|
|
| 84 |
|
| 85 |
Other files: `512x512x512/template_data.txt`
|
| 86 |
|
| 87 |
-
### `
|
| 88 |
|
| 89 |
6 files, 3.2 GB, from [SDRBENCH-EXASKY-NYX-512x512x512_log.tar.gz](https://g-d0cd3f.fd635.8443.data.globus.org/raw-data/EXASKY/NYX/SDRBENCH-EXASKY-NYX-512x512x512_log.tar.gz).
|
| 90 |
|
|
|
|
| 38 |
import sdrbench
|
| 39 |
from pysz import sz, szConfig, szErrorBoundMode
|
| 40 |
|
| 41 |
+
ds = sdrbench.dataset("nyx") # default variant: original
|
| 42 |
print(ds.fields)
|
| 43 |
x = ds["baryon_density"] # numpy array, dtype <f4, shape (512, 512, 512)
|
| 44 |
|
|
|
|
| 52 |
print(f"ratio {ratio:.1f}x, PSNR {psnr:.1f} dB, max error {max_err:.3g}")
|
| 53 |
```
|
| 54 |
|
| 55 |
+
Other variants: `sdrbench.dataset("nyx", "log")`.
|
| 56 |
|
| 57 |
Files are downloaded on first use and cached; if Hugging Face is unreachable the package falls
|
| 58 |
back to the original archive on Globus.
|
|
|
|
| 69 |
## Contents
|
| 70 |
|
| 71 |
|
| 72 |
+
### `original` (default)
|
| 73 |
|
| 74 |
7 files, 3.2 GB, from [SDRBENCH-EXASKY-NYX-512x512x512.tar.gz](https://g-d0cd3f.fd635.8443.data.globus.org/raw-data/EXASKY/NYX/SDRBENCH-EXASKY-NYX-512x512x512.tar.gz).
|
| 75 |
|
|
|
|
| 84 |
|
| 85 |
Other files: `512x512x512/template_data.txt`
|
| 86 |
|
| 87 |
+
### `log`
|
| 88 |
|
| 89 |
6 files, 3.2 GB, from [SDRBENCH-EXASKY-NYX-512x512x512_log.tar.gz](https://g-d0cd3f.fd635.8443.data.globus.org/raw-data/EXASKY/NYX/SDRBENCH-EXASKY-NYX-512x512x512_log.tar.gz).
|
| 90 |
|