The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: ParserError
Message: Error tokenizing data. C error: Expected 1 fields in line 15, saw 2
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/csv/csv.py", line 198, in _generate_tables
for batch_idx, df in enumerate(csv_file_reader):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1843, in __next__
return self.get_chunk()
~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1985, in get_chunk
return self.read(nrows=size)
~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/readers.py", line 1923, in read
) = self._engine.read( # type: ignore[attr-defined]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
nrows
^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 234, in read
chunks = self._reader.read_low_memory(nrows)
File "pandas/_libs/parsers.pyx", line 850, in pandas._libs.parsers.TextReader.read_low_memory
File "pandas/_libs/parsers.pyx", line 905, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 874, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 891, in pandas._libs.parsers.TextReader._check_tokenize_status
File "pandas/_libs/parsers.pyx", line 2061, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 15, saw 2
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
x float64 | y float64 | z float64 |
|---|---|---|
0.016066 | -0.012706 | -0.005574 |
0.016188 | -0.012726 | -0.005518 |
0.016061 | -0.012709 | -0.005562 |
0.016188 | -0.012726 | -0.005518 |
0.016181 | -0.012729 | -0.005507 |
0.016061 | -0.012709 | -0.005562 |
0.016295 | -0.012749 | -0.00545 |
0.0164 | -0.012771 | -0.005385 |
0.016288 | -0.012752 | -0.005439 |
0.0164 | -0.012771 | -0.005385 |
0.016392 | -0.012774 | -0.005374 |
0.016288 | -0.012752 | -0.005439 |
0.017221 | -0.01334 | -0.003588 |
0.017196 | -0.013379 | -0.00346 |
0.017208 | -0.013339 | -0.003589 |
0.017196 | -0.013379 | -0.00346 |
0.017183 | -0.013378 | -0.003462 |
0.017208 | -0.013339 | -0.003589 |
0.013654 | -0.01282 | -0.005051 |
0.013732 | -0.012793 | -0.005144 |
0.013665 | -0.012822 | -0.005043 |
0.013732 | -0.012793 | -0.005144 |
0.013742 | -0.012796 | -0.005135 |
0.013665 | -0.012822 | -0.005043 |
0.013732 | -0.012793 | -0.005144 |
0.013823 | -0.01277 | -0.005224 |
0.013742 | -0.012796 | -0.005135 |
0.013823 | -0.01277 | -0.005224 |
0.013832 | -0.012773 | -0.005214 |
0.013742 | -0.012796 | -0.005135 |
0.015878 | -0.013811 | -0.001974 |
0.015756 | -0.01382 | -0.001936 |
0.015874 | -0.013807 | -0.001987 |
0.015756 | -0.01382 | -0.001936 |
0.015753 | -0.013816 | -0.001949 |
0.015874 | -0.013807 | -0.001987 |
0.014622 | -0.01379 | -0.001961 |
0.014488 | -0.013776 | -0.001998 |
0.014625 | -0.013786 | -0.001974 |
0.014488 | -0.013776 | -0.001998 |
0.014493 | -0.013772 | -0.00201 |
0.014625 | -0.013786 | -0.001974 |
0.016653 | -0.013684 | -0.002435 |
0.016554 | -0.013709 | -0.002347 |
0.016644 | -0.013681 | -0.002444 |
0.016554 | -0.013709 | -0.002347 |
0.016545 | -0.013706 | -0.002357 |
0.016644 | -0.013681 | -0.002444 |
0.014881 | -0.013814 | -0.001901 |
0.014751 | -0.013804 | -0.001926 |
0.014883 | -0.01381 | -0.001914 |
0.014751 | -0.013804 | -0.001926 |
0.014754 | -0.0138 | -0.001938 |
0.014883 | -0.01381 | -0.001914 |
0.017171 | -0.013418 | -0.003332 |
0.017139 | -0.013456 | -0.003207 |
0.017126 | -0.013454 | -0.00321 |
0.017171 | -0.013418 | -0.003332 |
0.017126 | -0.013454 | -0.00321 |
0.017158 | -0.013417 | -0.003335 |
0.016827 | -0.0129 | -0.004993 |
0.016887 | -0.012931 | -0.004897 |
0.016816 | -0.012901 | -0.004985 |
0.016887 | -0.012931 | -0.004897 |
0.016875 | -0.012932 | -0.00489 |
0.016816 | -0.012901 | -0.004985 |
0.013823 | -0.01277 | -0.005224 |
0.013918 | -0.012749 | -0.005298 |
0.013832 | -0.012773 | -0.005214 |
0.013918 | -0.012749 | -0.005298 |
0.013926 | -0.012752 | -0.005288 |
0.013832 | -0.012773 | -0.005214 |
0.016904 | -0.013595 | -0.002742 |
0.016831 | -0.013627 | -0.002632 |
0.016892 | -0.013592 | -0.002748 |
0.016831 | -0.013627 | -0.002632 |
0.01682 | -0.013624 | -0.002639 |
0.016892 | -0.013592 | -0.002748 |
0.017196 | -0.013379 | -0.00346 |
0.017171 | -0.013418 | -0.003332 |
0.017183 | -0.013378 | -0.003462 |
0.017171 | -0.013418 | -0.003332 |
0.017158 | -0.013417 | -0.003335 |
0.017183 | -0.013378 | -0.003462 |
0.015654 | -0.012658 | -0.005706 |
0.015801 | -0.01267 | -0.005675 |
0.015796 | -0.012673 | -0.005662 |
0.015654 | -0.012658 | -0.005706 |
0.015796 | -0.012673 | -0.005662 |
0.015651 | -0.012661 | -0.005693 |
0.013647 | -0.013585 | -0.002566 |
0.013554 | -0.013548 | -0.002681 |
0.013565 | -0.013545 | -0.002689 |
0.013647 | -0.013585 | -0.002566 |
0.013565 | -0.013545 | -0.002689 |
0.013658 | -0.013582 | -0.002575 |
0.016947 | -0.012962 | -0.0048 |
0.017008 | -0.012993 | -0.004702 |
0.016996 | -0.012994 | -0.004695 |
0.016947 | -0.012962 | -0.0048 |
AngioFlow GHD WSS Graphs
Per-case graphs of CFD wall shear stress (WSS) on GHD-parameterized cerebral aneurysm
surfaces, for training a graph transformer (AngioWSSGraphGPS) to predict WSS time
series from geometry alone. One graph per (source, case, frame); node count varies
case to case (no shared/fixed topology, no common mesh).
This archive (ghd_graphs.zip) is a full unzip-in-place copy of the shared local
dataset root angioflow_ghd_graphs/ — unzip it and the three subfolders below land
next to each other exactly as shown.
Contents
| subfolder | internal tag | cases | geometry source | CFD source | real vs synthetic |
|---|---|---|---|---|---|
AneuGv1/ |
v1 |
634 | legacy canonical GHD reconstruction, ICP'd onto the CFD wall | AngioFlow v1 transient CFD | real patient |
Angioflow/ |
v2 |
251 (152 AneuX + 99 ImperialNHS, see extraction_manifest.csv's dataset column) |
per-case GHD fit placed into the CFD frame | merged v2 CFD | real patient (both sub-cohorts) |
AneuGv2/ |
aneugv2 |
141 | AneuG-generated shapes (dome.obj), their own CFD runs |
whding123/AneuGv2 on the Hub |
synthetic |
Every case currently has 80 WSS frames (one full cardiac-cycle time series) and
aneurysm_type == 0 only (bifurcated/sidewall type-1 CFD data doesn't exist yet
upstream — the extraction scripts skip and delete any type-1 output).
Total: 1,026 cases x 80 frames = 82,080 (source, case, frame) samples, ~18 GB
uncompressed.
Per-case files
<subfolder>/static_<version>_<case>.pt # one per case -- geometry + static fields
<subfolder>/wss_<version>_<case>_<t>.pt # one per (case, frame) -- [N,3] WSS target, Pa
<subfolder>/extraction_manifest.csv # per-case QC row, one file per subfolder
<subfolder>/sanity/*.png # pred/GT render samples (training-time renders, not part of the data itself)
static_<version>_<case>.pt is a dict:
| field | shape | notes |
|---|---|---|
pos |
[N,3] |
GHD-surface vertex coordinates, metres |
faces |
[F,3] |
triangle connectivity |
edge_index |
[2,E] |
not guaranteed symmetric as stored — symmetrize before use (see Loading, below) |
normals |
[N,3] |
stored value is a QC artifact only — recompute at load time instead (see Loading) |
geo_dist |
[N,3] |
geodesic distance to each of the 3 openings (type 0), normalized to [0,1] per column |
cot_eigval |
[k] (k=16) |
cotangent-Laplacian eigenvalues, ascending by value, not frequency — for a connected mesh the smoothest mode is near the END of this array |
cot_eigvec |
[N,k] |
matching eigenvectors (positional encoding) |
ghd_eigvec |
[N,n_ghd] (n_ghd=8) |
canonical GHD basis carried onto this mesh, unit-norm per column |
flow_split |
[2] |
outlet flow ratios |
aneurysm_type |
scalar | 0 for every case currently present |
node_type |
[N] |
convention differs by source: AneuGv1/Angioflow use 0=wall,1=focused,2=inlet,3=outlet_0,4=outlet_1; AneuGv2 uses 0=wall, then 1..n by that case's own wall_zones order (no "focused" class) |
knn_dist_mm |
[N] |
distance (mm) from each node to the nearest native CFD wall node — QC signal for extraction fidelity |
meta |
dict | the same row as this case's line in extraction_manifest.csv |
wss_<version>_<case>_<t>.pt is a bare [N,3] tensor, Pa, one file per frame t (0-79).
Loading
The reference loader is ood_fix/dataset.py::AngioWSSGraphDataset in the
AneuG-Net repo (not included in this archive). Key behavior to replicate if
loading independently:
from ood_fix.dataset import AngioWSSGraphDataset
ds = AngioWSSGraphDataset(root="<path to this unzipped folder>",
versions=None, # None = all three sources
frames="all", # or e.g. [0] for frame-0 only
aneurysm_types=(0,))
data = ds[0] # torch_geometric.data.Data: pos, normals, geo_dist, cot_eigvec,
# cot_eigval, ghd_eigvec, edge_index, y (WSS), t (frame idx),
# aneurysm_type, version, case
- Normals are recomputed at load time (
pytorch3d.structures.Meshes.verts_normals_packed()), not read from the storednormalsfield — the stored value came from whichever renderer wrote it (pyvista for v1/v2, plain numpy for aneugv2) and is not uniform across sources. edge_indexmust be symmetrized before use (SymmetrizeEdgesin the reference pipeline) — the raw stored value is directed/one-sided.- Apply any positional/value normalization exactly once — a transform chain applied
both inside a custom
Dataset.get()and again by PyG's own__getitem__will double-apply (this bit the reference pipeline once; itsdataset.pyfix is to letget()return the rawDataand apply transforms only through PyG's wrapper).
Train/test split (as used by the reference training script, ood_fix/train_wss.py)
- Test =
n_test_aneux(30 by default) cases drawn fromAngioflow's owndataset == "AneuX"cases — real-patient shapes, held out so evaluation never leaks onto a shape family the model trained on. - Train = everything else: all of
AneuGv1, all ofAneuGv2(synthetic, never eligible for test), allImperialNHScases inAngioflow, and whateverAneuXcases weren't drawn for test. - The eventual target metric is generalization to the held-out AneuX cases
specifically (real patients) —
AneuGv1is the most abundant source but the least representative of that target distribution;Angioflow/AneuGv2are more directly relevant. A--balance_domainsflag in the reference trainer equalizes per-epoch sampling across the three source folders above (not just real-vs-synthetic) soAneuGv1's raw volume (634 cases x 80 frames) doesn't dominate gradient updates.
Known caveats
- Patient independence across sources is unverified. Splitting by
(source, case)keeps one case's frames together, but does not establish that different sources/cases are distinct patients — exact-geometry checks won't catch refits, re-cuts, or generated descendants of the same base shape. Worth auditing upstream patient IDs / synthetic-generation provenance before assuming no leakage acrossAneuGv1/Angioflow/AneuGv2. - Type-1 (two-opening) aneurysms are not represented in this archive at all —
every case is
aneurysm_type == 0. A model trained on this data assumes 3 geodesic channels (geo_dist's last dim) and would need a schema change to admit type-1. - A separate waveform file (
waveform_yiying.txt, the inlet flow waveform used to condition the time embedding) is not included in this archive — it lives outside this dataset root in the source repo (angioflowv2_merged/_meta/waveform_yiying.txt) and is a required input to the reference model's forward pass, not optional.
Provenance
Produced by ood_fix/cfd_data_factory/extract_wss_dataset.py (AneuGv1,
Angioflow) and ood_fix/cfd_data_factory/extract_ghd_graphs_aneugv2.py
(AneuGv2) in the AneuG-Net repo (private). See that repo's
ood_fix/PIPELINE.md for the full upstream pipeline (CFD registration, GHD
fitting/placement, subdivision) if you have access to it.
- Downloads last month
- 7,979