Datasets:

ArXiv:
License:
wsimson commited on
Commit
1379a41
·
verified ·
1 Parent(s): 9869366

Add resolvestroke README + pipeline(s) from accepted_submissions

Browse files
resolvestroke/README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # OpenH-RF - Resolve Stroke datasets
2
+
3
+ [Resolve Stroke](https://www.resolvestroke.com/) develops SYLVER, a
4
+ software-driven ultrasound platform, that supports clinical assessment in
5
+ patients suspected of, or at risk for, cerebral perfusion abnormalities by
6
+ improving visualization of cerebral vasculature and providing complementary
7
+ information on cerebral perfusion.
8
+ SYLVER images with a 32×32 matrix array probe at 2 MHz
9
+ using diverging-wave transmits. CE and FDA clearances are expected in 2026.
10
+ This directory holds the data Resolve Stroke contributes to OpenH-RF: pre-beamformed
11
+ RF/IQ channel data from an imaging phantom, a flow phantom, and in-vivo transcranial
12
+ acquisitions, all de-identified and released under CC BY 4.0. The in-vivo data comes
13
+ from the CPP-approved SCULPT clinical study. Two transmit sequences are included: a
14
+ saddle sequence that images a 2D plane for real-time B-mode, and a 4 kHz
15
+ single-aperture volume sequence for CEUS and blood-flow measurement.
16
+
17
+ Each dataset directory is a self-contained data card: an HDF5 file, a
18
+ B-mode preview PNG, a `reconstruct.py` + `pipeline.yaml` beamforming recipe, a
19
+ `README.md`, and a `LICENCE` (CC BY 4.0).
20
+
21
+ ## Contents
22
+
23
+ | Path | What's inside |
24
+ |------|---------------|
25
+ | `clinical/` | 20 clinical transcranial CEUS acquisitions (SCULPT study, subjects `SP01`–`SP10`, Left/Right). Each subdirectory holds one acquisition's HDF5 (five 1 s bolus wash-in clips), reconstruction scripts, and B-mode / power-Doppler / reference montages. |
26
+ | `phantom_flow/` | Flow-phantom CEUS (CIRS 769 + ATS523A) with microbubble contrast: five 1 s clips capturing a flow-on/flow-off bolus wash-in. Single combined HDF5 + 3D power-Doppler reconstruction. |
27
+ | `phantom_mp/` | Multi-tissue imaging phantom (CIRS 040GSE), pre-beamformed channel data, 1000 volumetric frames of the same static scene (wire targets, cysts, tissue-mimicking background). |
28
+ | `saddle/` | Single-frame anatomical reference B-modes (21 files: the 20 clinical acquisitions + 1 imaging phantom) from the wide-angle "saddle" sequence. These are the structural companion to the clinical CEUS clips. |
29
+
30
+ ## Contributors
31
+
32
+ Aitana Waelbroeck\*, Carl Ferlay\*, Arthur Chavignon\*, Maxence Reberol\*, Vincent Hingot\*
33
+
34
+ _\*Resolve Stroke, 29 Rue du Faubourg Saint-Jacques, 75014 Paris_
35
+
36
+
resolvestroke/clinical/SP02-Left-2/README.md ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "OpenH-RF - Resolve Stroke Clinical Transcranial CEUS (SP02, Left)"
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - other
6
+ tags:
7
+ - ultrasound
8
+ - iq
9
+ - openh-rf
10
+ - 3d
11
+ - matrix-probe
12
+ - contrast-enhanced
13
+ - ceus
14
+ - transcranial
15
+ - clinical
16
+ language:
17
+ - en
18
+ size_categories:
19
+ - 10K<n<100K
20
+ ---
21
+
22
+ # OpenH-RF - Resolve Stroke Clinical Transcranial CEUS (SP02, Left)
23
+
24
+ ## Dataset Description
25
+
26
+ Contrast-enhanced ultrasound (CEUS) transcranial brain acquisition of a human
27
+ subject, acquired with SYLVER, Resolve Stroke's ultrasound device, using a 32×32
28
+ matrix probe with diverging-wave transmits at 4 kHz frame rate. The acquisition
29
+ captures a microbubble contrast-agent bolus wash-in: microbubbles are injected,
30
+ perfuse the brain vasculature through the acoustic window, and gradually wash out.
31
+
32
+ Five 1-second clips (4000 frames each, 20000 total) are extracted at intervals
33
+ relative to the end-of-baseline marker:
34
+
35
+ | Clip | Time offset | Description |
36
+ |------|-------------|-------------|
37
+ | `baseline_minus1s` | baseline − 1 s | Before microbubble arrival |
38
+ | `baseline_plus5s` | baseline + 5 s | Early wash-in |
39
+ | `baseline_plus10s` | baseline + 10 s | Mid wash-in |
40
+ | `baseline_plus15s` | baseline + 15 s | Late wash-in |
41
+ | `baseline_plus20s` | baseline + 20 s | Plateau / early wash-out |
42
+
43
+ ## Dataset Contributor(s)
44
+
45
+ Aitana Waelbroeck\*, Carl Ferlay\*, Arthur Chavignon\*, Maxence Reberol\*, Vincent Hingot\*
46
+
47
+ \* Resolve Stroke (29 Rue du Faubourg Saint-Jacques, 75014 Paris)
48
+
49
+ Contact email: maxence.reberol@resolvestroke.com
50
+
51
+ ## Dataset Creation Date
52
+
53
+ 07/09/2026
54
+
55
+ ## License / Terms of Use
56
+
57
+ CC BY 4.0 (see `LICENCE`). Data is released under Creative Commons Attribution
58
+ 4.0 International, which permits commercial use with attribution. (The Python
59
+ scripts in this directory carry their own `SPDX-License-Identifier: Apache-2.0`
60
+ header; the dataset itself is CC BY 4.0.)
61
+
62
+ ## Intended Usage
63
+
64
+ Contrast-enhanced ultrasound flow/perfusion quantification, microbubble detection
65
+ and tracking, power-Doppler and CEUS transcranial imaging, and matrix-probe
66
+ diverging-wave beamforming research (RFP task group 6.2, Blood Flow).
67
+
68
+ ## Dataset Characterization
69
+
70
+ - Data collection method: Human subject, transcranial CEUS with microbubble
71
+ contrast agent (bolus injection), acquired through the temporal acoustic window.
72
+ - Labeling method: Per-frame clip label (time offset relative to end-of-baseline),
73
+ stored in `metadata/annotations/label` (one of the five clip names above).
74
+ - Acquisition system: SYLVER (Resolve Stroke's ultrasound device). 32×32 matrix
75
+ probe, 0.50 mm pitch, 0.30 mm kerf; transmit center frequency ≈ 2.031 MHz, sound
76
+ speed 1540 m/s. Diverging-wave transmits; receive sub-apertures flattened into 256
77
+ virtual elements. Channel data is DDC (baseband) IQ, so `sampling_frequency`
78
+ (≈ 2.031 MHz) is the post-decimation IQ rate and equals `demodulation_frequency`.
79
+ This is not an RF Nyquist rate (`n_ch = 2`, complex I/Q).
80
+
81
+ ## Dataset Format
82
+
83
+ Single zea HDF5 file (`SP02-Left-2.hdf5`) containing all 5 clips concatenated.
84
+ Gaps between clips are encoded in `scan/time_to_next_transmit`. Per-frame clip
85
+ labels are stored in `metadata/annotations/label`.
86
+
87
+ Computed reference maps (derived from the SYLVER processed exam) are stored in the
88
+ zea `custom` group under `custom/computed_references/`: `mvi`,
89
+ `velocity_radial_avg` / `_min` / `_max`, and a shared `coordinates` array (per-voxel
90
+ `[x, y, z]` in metres), all on one 0.6 mm Cartesian grid `(192, 171, 171)`. Read
91
+ them via `zea.File(...).custom`.
92
+
93
+ Written with `zea.File.create` (zea v0.1.1). `data/raw_data` is DDC IQ (last axis
94
+ [I, Q]). The hardware time-gain compensation is baked into `raw_data`;
95
+ `scan/tgc_gain_curve` is the applied (non-linear) gain per axial sample; divide by
96
+ it to recover true channel amplitudes. The reconstruction scripts divide `raw_data`
97
+ by this curve before beamforming (the `zea.Pipeline` itself stays standard; the
98
+ reversal is a plain array step).
99
+
100
+ ## Dataset Quantification
101
+
102
+ - Frames: 20000 (5 clips × 4000 frames)
103
+ - Frame rate: 4000 Hz (within each clip)
104
+ - Clip duration: 1 s each
105
+ - Total size on disk: ~6.4 GB (`SP02-Left-2.hdf5`)
106
+
107
+ | Field | Shape | dtype | Units | Description |
108
+ |---|---|---|---|---|
109
+ | `data/raw_data` | `(20000, 1, 320, 256, 2)` | int16 | n/a | IQ channel data: frames × tx × axial × elements × {I, Q} |
110
+ | `probe/probe_geometry` | `(256, 3)` | float32 | m | Virtual element positions |
111
+ | `scan/t0_delays` | `(1, 256)` | float32 | s | Per-element transmit delays |
112
+ | `scan/tx_apodizations` | `(1, 256)` | float32 | n/a | Per-element transmit weights |
113
+ | `scan/focus_distances` | `(1,)` | float32 | m | Virtual-source distance (diverging wave, negative) |
114
+ | `scan/polar_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
115
+ | `scan/azimuth_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
116
+ | `scan/transmit_origins` | `(1, 3)` | float32 | m | Transmit origin |
117
+ | `scan/initial_times` | `(1,)` | float32 | s | ADC start time |
118
+ | `scan/time_to_next_transmit` | `(20000, 1)` | float32 | s | Inter-frame timing (encodes clip gaps: 5, 4, 4, 4 s) |
119
+ | `scan/tgc_gain_curve` | `(320,)` | float32 | n/a | Hardware TGC applied to `raw_data`; divide by it to undo (`reconstruct*.py` does this before beamforming) |
120
+ | `scan/sampling_frequency` | scalar | float32 | Hz | 2031250 (post-DDC IQ rate) |
121
+ | `scan/center_frequency` | scalar | float32 | Hz | 2031250 |
122
+ | `scan/demodulation_frequency` | scalar | float32 | Hz | 2031250 |
123
+ | `scan/sound_speed` | scalar | float32 | m/s | 1540 |
124
+
125
+ ## Subject Metadata
126
+
127
+ - Type: Human subject (`metadata/subject/type` = `human`)
128
+ - Subject ID: `SP02` (anonymized)
129
+ - Anatomy: Brain (transcranial), left temporal acoustic window
130
+ - Contrast agent: Microbubbles (bolus injection)
131
+
132
+ ## Data Validation
133
+
134
+ `reconstruct.py` first divides `raw_data` by `scan/tgc_gain_curve` (reverse TGC),
135
+ then runs a standard `zea.Pipeline` (cast → DAS beamform → envelope → normalize →
136
+ log-compress) defined in `pipeline.yaml` to reconstruct a B-mode from the IQ channel
137
+ data. Because the probe is a 2D matrix array insonified by a single diverging-wave
138
+ transmit, `reconstruct.py` beamforms on polar (sector) grids and renders two
139
+ perpendicular sector B-modes, the x-z plane (y = 0) and the y-z plane (x = 0), side
140
+ by side:
141
+
142
+ ![Reference B-mode (two perpendicular sectors)](SP02-Left-2_bmode.png)
143
+
144
+ A display-only linear TGC (1.5 dB/cm) adds a depth-dependent dB gain to the rendered
145
+ image, compensating the attenuation that `reverse_tgc` leaves uncompensated so deeper
146
+ structure stays visible. It does not modify the stored data.
147
+
148
+ Run: `uv run --project /path/to/OpenH-RF python reconstruct.py`
149
+
150
+ ### Power-Doppler reconstruction (derived product)
151
+
152
+ `reconstruct_PD_3d.py` (config `pipeline_PD_3d.yaml`) demonstrates a flow/contrast
153
+ view. For each clip it beamforms the frame stack onto a real 3D polar sector volume
154
+ (radius × azimuth × elevation), applies a slow-time high-pass (wall) filter to
155
+ suppress stationary tissue, and integrates power Doppler, then displays x-z and y-z
156
+ maximum-intensity projections (MIPs) for all five clips. The wall filter and
157
+ power-Doppler integration are custom `zea` pipeline ops registered in the script
158
+ (`tissue_highpass`, `power_doppler`). The same display-only linear TGC (1.5 dB/cm) is
159
+ applied to the power-Doppler volume before the MIP so deep flow stays visible.
160
+
161
+ ![Power-Doppler 3D MIP montage](SP02-Left-2_PD_montage.png)
162
+
163
+ Run: `uv run --project /path/to/OpenH-RF python reconstruct_PD_3d.py`
164
+
165
+ ## Computed References
166
+
167
+ Reference maps derived from the SYLVER processed exam of this acquisition, stored
168
+ in `custom/computed_references/` (read via `zea.File(...).custom`). All share one
169
+ 0.6 mm Cartesian grid `(192, 171, 171)`; the `coordinates` array gives each voxel's
170
+ `[x, y, z]` in metres.
171
+
172
+ | Field | dtype | Unit | Description |
173
+ |---|---|---|---|
174
+ | `mvi` | float32 | a.u. | Microvascular image (enhanced, time-integrated over the bolus). NaN outside the sonified cone. |
175
+ | `velocity_radial_avg` | float32 | m/s | Mean radial (along-beam) flow velocity; NaN where no flow. |
176
+ | `velocity_radial_min` | float32 | m/s | Minimum radial flow velocity; NaN where no flow. |
177
+ | `velocity_radial_max` | float32 | m/s | Maximum radial flow velocity; NaN where no flow. |
178
+ | `coordinates` | float32 | m | Per-voxel `[x, y, z]` for all maps. |
179
+
180
+ Notes:
181
+
182
+ - Velocities are radial (Doppler, along-beam) components. True flow speed depends on
183
+ the (subject- and vessel-dependent) insonation angle, which is not known a priori
184
+ for in-vivo cerebral vasculature.
185
+ - `mvi` and the velocity maps are NaN outside the sonified cone.
186
+
187
+ `display_references.py` renders all reference maps to a montage. It reads
188
+ `custom/computed_references/` (via `h5py`; no beamforming) and, for each map, shows
189
+ two orthogonal maximum-intensity projections (x-z on top, y-z below) on the true
190
+ Cartesian geometry: `mvi` in magma and the velocities in a symmetric
191
+ blue-white-red map (±0.76 m/s):
192
+
193
+ ![Computed reference maps montage](SP02-Left-2_references_montage.png)
194
+
195
+ Run: `uv run --project /path/to/OpenH-RF python display_references.py`
196
+
197
+ ## Ethical Considerations
198
+
199
+ Human-subject data. Channel data was acquired during the SCULPT clinical study
200
+ (National registration number (ID RCB): 2025-A00023-46; NCT07324421), a prospective
201
+ monocentric trial conducted at CHU Gui de Chauliac (Montpellier, France) under approval
202
+ from the French ethics committee (Comité de Protection des Personnes, CPP), comparing
203
+ cerebral perfusion from Resolve Stroke's SYLVER ultrasound system with routine perfusion
204
+ CT in ICU/CCU patients, using SonoVue® as the contrast agent.
205
+
206
+ The dataset contains no direct personal identifiers: the subject is referenced only by
207
+ an anonymized study code, and no name, date of birth, or device/operator identifiers
208
+ are stored in the released file.
209
+
210
+ ## Known Issues
211
+
212
+ - `raw_data` has the hardware TGC baked in; `scan/tgc_gain_curve` is that (non-linear)
213
+ applied curve. The reconstruction scripts divide by the curve before beamforming;
214
+ a downstream user reconstructing directly must divide by the curve too.
215
+ - `sampling_frequency ≈ center_frequency` because the data is DDC baseband IQ (see
216
+ Dataset Characterization), not an RF acquisition.
217
+ - Radial velocity maps are along-beam only; absolute speed requires the unknown
218
+ local vessel directions.
resolvestroke/clinical/SP02-Left-2/pipeline.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parameters:
2
+ grid_type: polar
3
+ polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11]
5
+ grid_size_z: 420
6
+ grid_size_x: 220
7
+ grid_size_y: 1
8
+ dynamic_range: [-60, 0]
9
+
10
+ pipeline:
11
+ operations:
12
+ - name: keras.ops.cast
13
+ params:
14
+ dtype: float32
15
+ - name: beamform
16
+ params:
17
+ beamformer: delay_and_sum
18
+ num_patches: 100
19
+ - name: envelope_detect
20
+ - name: normalize
21
+ - name: log_compress
resolvestroke/clinical/SP02-Left-2/pipeline_PD_3d.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D sector-volume grid (radius x azimuth x elevation). zea's built-in
2
+ # grid_type: polar is 2D only, so the full 3D volume is specified here and built by
3
+ # reconstruct_PD_3d.py, which injects it into the beamformer via the grid/flatgrid
4
+ # overrides. The central planes match the two perpendicular sectors of reconstruct.py.
5
+ grid:
6
+ azimuth_limits: [-0.45, 0.45] # x-z fan half-angle [rad] (≈ ±26°)
7
+ elevation_limits: [-0.45, 0.45] # y-z fan half-angle [rad]
8
+ zlims: [0.01, 0.11] # on-axis depth range [m]
9
+ n_radial: 160 # samples along each ray (~depth)
10
+ n_azimuth: 64 # rays in the x-z plane
11
+ n_elevation: 64 # rays in the y-z plane
12
+
13
+ parameters:
14
+ grid_type: polar
15
+ grid_size_y: 1
16
+
17
+ pipeline:
18
+ operations:
19
+ - name: keras.ops.cast
20
+ params:
21
+ dtype: float32
22
+ - name: beamform
23
+ params:
24
+ beamformer: delay_and_sum
25
+ - name: envelope_detect
26
+ - name: tissue_highpass # custom op: slow-time high-pass (wall) filter
27
+ params:
28
+ cutoff_hz: 50.0
29
+ frame_rate_hz: 4000.0
30
+ transition_hz: 10.0
31
+ - name: power_doppler # custom op: sum of squared envelope over slow time
resolvestroke/phantom_flow/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "OpenH-RF - Resolve Stroke Flow Phantom (CIRS 769 + ATS523A) On/Off"
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - other
6
+ tags:
7
+ - ultrasound
8
+ - iq
9
+ - openh-rf
10
+ - 3d
11
+ - matrix-probe
12
+ - contrast-enhanced
13
+ - flow-phantom
14
+ - ceus
15
+ language:
16
+ - en
17
+ size_categories:
18
+ - 10K<n<100K
19
+ ---
20
+
21
+ # OpenH-RF - Resolve Stroke Flow Phantom (CIRS 769 + ATS523A) On/Off
22
+
23
+ ## Dataset Description
24
+
25
+ Contrast-enhanced ultrasound (CEUS) acquisition of a flow phantom (CIRS 769 + ATS523A)
26
+ with microbubble contrast agent. Acquired with SYLVER, Resolve Stroke's ultrasound
27
+ device, using a 32×32 matrix probe with diverging-wave transmits at 4 kHz frame
28
+ rate. The acquisition captures a flow-on/flow-off bolus wash-in scenario: microbubbles
29
+ are injected, flow through the phantom pipe, and gradually wash out.
30
+
31
+ Five 1-second clips (4000 frames each, 20000 total) are extracted at intervals
32
+ relative to the end-of-baseline marker:
33
+
34
+ | Clip | Time offset | Description |
35
+ |------|-------------|-------------|
36
+ | `baseline_minus1s` | baseline − 1 s | Before microbubble arrival |
37
+ | `baseline_plus5s` | baseline + 5 s | Early wash-in |
38
+ | `baseline_plus10s` | baseline + 10 s | Mid wash-in |
39
+ | `baseline_plus15s` | baseline + 15 s | Late wash-in |
40
+ | `baseline_plus20s` | baseline + 20 s | Plateau / early wash-out |
41
+
42
+ ## Dataset Contributor(s)
43
+
44
+ Aitana Waelbroeck\*, Carl Ferlay\*, Arthur Chavignon\*, Maxence Reberol\*, Vincent Hingot\*
45
+
46
+ \* Resolve Stroke (29 Rue du Faubourg Saint-Jacques, 75014 Paris)
47
+
48
+ Contact email: maxence.reberol@resolvestroke.com
49
+
50
+ ## Dataset Creation Date
51
+
52
+ 06/15/2026
53
+
54
+ ## License / Terms of Use
55
+
56
+ CC BY 4.0 (see `LICENCE`). Data is released under Creative Commons Attribution
57
+ 4.0 International, which permits commercial use with attribution. (The Python
58
+ scripts in this directory carry their own `SPDX-License-Identifier: Apache-2.0`
59
+ header; the dataset itself is CC BY 4.0.)
60
+
61
+ ## Intended Usage
62
+
63
+ Contrast-enhanced ultrasound flow quantification, microbubble detection and
64
+ tracking, power-Doppler and CEUS flow imaging, and matrix-probe diverging-wave
65
+ beamforming research (RFP task group 6.2, Blood Flow).
66
+
67
+ ## Dataset Characterization
68
+
69
+ - Data collection method: Phantom (CIRS 769 + ATS523A flow phantom with microbubble contrast agent)
70
+ - Labeling method: Per-frame clip label (time offset relative to end-of-baseline),
71
+ stored in `metadata/annotations/label` (one of the five clip names above).
72
+ - Acquisition system: SYLVER (Resolve Stroke's ultrasound device). 32×32 matrix
73
+ probe, 0.50 mm pitch, 0.30 mm kerf; transmit center frequency ≈ 2.031 MHz, sound
74
+ speed 1540 m/s. Diverging-wave transmits; receive sub-apertures flattened into 256
75
+ virtual elements. Channel data is DDC (baseband) IQ, so `sampling_frequency`
76
+ (≈ 2.031 MHz) is the post-decimation IQ rate and equals `demodulation_frequency`.
77
+ This is not an RF Nyquist rate (`n_ch = 2`, complex I/Q).
78
+
79
+ ## Dataset Format
80
+
81
+ Single zea HDF5 file (`phantom_flow.hdf5`) containing all 5 clips concatenated.
82
+ Gaps between clips are encoded in `scan/time_to_next_transmit`. Per-frame clip
83
+ labels are stored in `metadata/annotations/label`.
84
+
85
+ Computed reference maps (derived from the SYLVER processed exam) are stored in the
86
+ zea `custom` group under `custom/computed_references/`: `mvi`,
87
+ `velocity_radial_avg` / `_min` / `_max`, `tube_mask`, and a shared `coordinates`
88
+ array (per-voxel `[x, y, z]` in metres), all on one 0.6 mm Cartesian grid
89
+ `(192, 171, 171)`. Read them via `zea.File(...).custom`. They live in `custom`
90
+ rather than a second track because zea uses a single global `n_frames`: a
91
+ single-frame reference map cannot share that dimension with the per-frame
92
+ `metadata/annotations/label` (20000), so a reference track fails spec validation.
93
+
94
+ Written with `zea.File.create` (zea v0.1.1), validated `compliant: true` against
95
+ `validate_zea_spec.py`. `data/raw_data` is DDC IQ (last axis [I, Q]). The hardware
96
+ time-gain compensation is baked into `raw_data`; `scan/tgc_gain_curve` is the applied
97
+ (non-linear) gain per axial sample; divide by it to recover true channel amplitudes.
98
+ The reconstruction scripts divide `raw_data` by this curve before beamforming (the
99
+ `zea.Pipeline` itself stays standard; the reversal is a plain array step).
100
+
101
+ ## Dataset Quantification
102
+
103
+ - Frames: 20000 (5 clips × 4000 frames)
104
+ - Frame rate: 4000 Hz (within each clip)
105
+ - Clip duration: 1 s each
106
+ - Total size on disk: ~6.4 GB (`phantom_flow.hdf5`)
107
+
108
+ | Field | Shape | dtype | Units | Description |
109
+ |---|---|---|---|---|
110
+ | `data/raw_data` | `(20000, 1, 320, 256, 2)` | int16 | n/a | IQ channel data: frames × tx × axial × elements × {I, Q} |
111
+ | `probe/probe_geometry` | `(256, 3)` | float32 | m | Virtual element positions |
112
+ | `scan/t0_delays` | `(1, 256)` | float32 | s | Per-element transmit delays |
113
+ | `scan/tx_apodizations` | `(1, 256)` | float32 | n/a | Per-element transmit weights |
114
+ | `scan/focus_distances` | `(1,)` | float32 | m | Virtual-source distance (diverging wave, negative) |
115
+ | `scan/polar_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
116
+ | `scan/azimuth_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
117
+ | `scan/transmit_origins` | `(1, 3)` | float32 | m | Transmit origin |
118
+ | `scan/initial_times` | `(1,)` | float32 | s | ADC start time |
119
+ | `scan/time_to_next_transmit` | `(20000, 1)` | float32 | s | Inter-frame timing (encodes clip gaps) |
120
+ | `scan/tgc_gain_curve` | `(320,)` | float32 | n/a | Hardware TGC applied to `raw_data`; divide by it to undo (`reconstruct*.py` does this before beamforming) |
121
+ | `scan/sampling_frequency` | scalar | float32 | Hz | 2031250 (post-DDC IQ rate) |
122
+ | `scan/center_frequency` | scalar | float32 | Hz | 2031250 |
123
+ | `scan/demodulation_frequency` | scalar | float32 | Hz | 2031250 |
124
+ | `scan/sound_speed` | scalar | float32 | m/s | 1540 |
125
+
126
+ ## Subject Metadata
127
+
128
+ - Type: Phantom (CIRS 769 + ATS523A flow phantom)
129
+ - Contrast agent: Microbubbles (bolus injection)
130
+ - Flow: On/off during acquisition
131
+
132
+ ## Data Validation
133
+
134
+ `reconstruct.py` first divides `raw_data` by `scan/tgc_gain_curve` (reverse TGC),
135
+ then runs a standard `zea.Pipeline` (cast → DAS beamform → envelope → normalize →
136
+ log-compress) defined in `pipeline.yaml` to reconstruct a B-mode from the IQ channel
137
+ data. Because the probe is a 2D matrix array insonified by a single diverging-wave
138
+ transmit, `reconstruct.py` beamforms on polar (sector) grids and renders two
139
+ perpendicular sector B-modes, the x-z plane (y = 0) and the y-z plane (x = 0), side
140
+ by side:
141
+
142
+ ![Reference B-mode (two perpendicular sectors)](phantom_flow_bmode.png)
143
+
144
+ Run: `uv run --project /path/to/OpenH-RF python reconstruct.py`
145
+
146
+ ### Power-Doppler reconstruction (derived product)
147
+
148
+ `reconstruct_PD_3d.py` (config `pipeline_PD_3d.yaml`) demonstrates a flow/contrast
149
+ view. For each clip it beamforms the frame stack onto a real 3D polar sector volume
150
+ (radius × azimuth × elevation), applies a slow-time high-pass (wall) filter to
151
+ suppress stationary tissue, and integrates power Doppler, then displays x-z and y-z
152
+ maximum-intensity projections (MIPs) for all five clips. The wall filter and
153
+ power-Doppler integration are custom `zea` pipeline ops registered in the script
154
+ (`tissue_highpass`, `power_doppler`).
155
+
156
+ ![Power-Doppler 3D MIP montage](phantom_flow_PD_montage.png)
157
+
158
+ Run: `uv run --project /path/to/OpenH-RF python reconstruct_PD_3d.py`
159
+
160
+ ## Computed References
161
+
162
+ Reference maps derived from the SYLVER processed exam of this acquisition, stored
163
+ in `custom/computed_references/` (read via `zea.File(...).custom`). All share one
164
+ 0.6 mm Cartesian grid `(192, 171, 171)`; the `coordinates` array gives each voxel's
165
+ `[x, y, z]` in metres.
166
+
167
+ | Field | dtype | Unit | Description |
168
+ |---|---|---|---|
169
+ | `mvi` | float32 | a.u. | Microvascular image. NaN outside the sonified cone. |
170
+ | `velocity_radial_avg` | float32 | m/s | Mean radial (along-beam) flow velocity; NaN where no flow. |
171
+ | `velocity_radial_min` | float32 | m/s | Minimum radial flow velocity; NaN where no flow. |
172
+ | `velocity_radial_max` | float32 | m/s | Maximum radial flow velocity; NaN where no flow. |
173
+ | `tube_mask` | uint8 | n/a | Tube ground truth: 1 = tube (⌀4 mm), 2 = tube (⌀2 mm), 0 = background. |
174
+ | `coordinates` | float32 | m | Per-voxel `[x, y, z]` for all maps. |
175
+
176
+ Notes:
177
+ - Velocities are radial (Doppler, along-beam). The probe sits at ~72° to the flow,
178
+ so true speed ≈ radial ÷ cos(72°).
179
+ - Tube ground truth: two straight parallel tubes fitted to the flow, ⌀4 mm and
180
+ ⌀2 mm, ~35 mm apart, direction ≈ (−0.95, +0.04, +0.31), spanning the imaging cone.
181
+
182
+ `display_references.py` renders all reference maps to a montage. It reads
183
+ `custom/computed_references/` (via `h5py`; no beamforming) and, for each map, shows
184
+ two orthogonal maximum-intensity projections (x-z on top, y-z below) on the true
185
+ Cartesian geometry: `mvi` in magma, the velocities in a symmetric blue-white-red
186
+ map (±0.76 m/s), and `tube_mask` as discrete labels (⌀4 mm, ⌀2 mm):
187
+
188
+ ![Computed reference maps montage](phantom_flow_references_montage.png)
189
+
190
+ Run: `uv run --project /path/to/OpenH-RF python display_references.py`
191
+
192
+ ## Known Issues
193
+
194
+ - `raw_data` has the hardware TGC baked in; `scan/tgc_gain_curve` is that (non-linear)
195
+ applied curve. The reconstruction scripts divide by the curve before beamforming;
196
+ a downstream user reconstructing directly must divide by the curve too.
197
+ - `sampling_frequency ≈ center_frequency` because the data is DDC baseband IQ (see
198
+ Dataset Characterization), not an RF acquisition.
199
+
200
+ ## Ethical Considerations
201
+
202
+ Phantom data: no human subjects, no ethical concerns.
resolvestroke/phantom_flow/pipeline.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parameters:
2
+ grid_type: polar
3
+ polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11]
5
+ grid_size_z: 420
6
+ grid_size_x: 220
7
+ grid_size_y: 1
8
+ dynamic_range: [-40, 0]
9
+
10
+ pipeline:
11
+ operations:
12
+ - name: keras.ops.cast
13
+ params:
14
+ dtype: float32
15
+ - name: beamform
16
+ params:
17
+ beamformer: delay_and_sum
18
+ num_patches: 100
19
+ - name: envelope_detect
20
+ - name: normalize
21
+ - name: log_compress
resolvestroke/phantom_flow/pipeline_PD_3d.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 3D sector-volume grid (radius x azimuth x elevation). zea's built-in
2
+ # grid_type: polar is 2D only, so the full 3D volume is specified here and built by
3
+ # reconstruct_PD_3d.py, which injects it into the beamformer via the grid/flatgrid
4
+ # overrides. The central planes match the two perpendicular sectors of reconstruct.py.
5
+ grid:
6
+ azimuth_limits: [-0.45, 0.45] # x-z fan half-angle [rad] (≈ ±26°)
7
+ elevation_limits: [-0.45, 0.45] # y-z fan half-angle [rad]
8
+ zlims: [0.01, 0.11] # on-axis depth range [m]
9
+ n_radial: 160 # samples along each ray (~depth)
10
+ n_azimuth: 64 # rays in the x-z plane
11
+ n_elevation: 64 # rays in the y-z plane
12
+
13
+ parameters:
14
+ grid_type: polar
15
+ grid_size_y: 1
16
+
17
+ pipeline:
18
+ operations:
19
+ - name: keras.ops.cast
20
+ params:
21
+ dtype: float32
22
+ - name: beamform
23
+ params:
24
+ beamformer: delay_and_sum
25
+ - name: envelope_detect
26
+ - name: tissue_highpass # custom op: slow-time high-pass (wall) filter
27
+ params:
28
+ cutoff_hz: 50.0
29
+ frame_rate_hz: 4000.0
30
+ transition_hz: 10.0
31
+ - name: power_doppler # custom op: sum of squared envelope over slow time
resolvestroke/phantom_mp/README.md ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "OpenH-RF - Resolve Stroke Multi-tissue Phantom (CIRS 040GSE)"
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - other
6
+ tags:
7
+ - ultrasound
8
+ - iq
9
+ - openh-rf
10
+ - 3d
11
+ - matrix-probe
12
+ - phantom
13
+ language:
14
+ - en
15
+ size_categories:
16
+ - 1K<n<10K
17
+ ---
18
+
19
+ # OpenH-RF - Resolve Stroke Multi-tissue Phantom (CIRS 040GSE)
20
+
21
+ ## Dataset Description
22
+
23
+ Pre-beamformed channel-data acquisition of a multi-purpose, multi-tissue imaging
24
+ phantom (CIRS 040GSE). Acquired with SYLVER, Resolve Stroke's ultrasound device,
25
+ using a 32×32 matrix probe with diverging-wave transmits at 4 kHz frame rate. A
26
+ single transmit insonifies a 3D volume, so each frame is a full volumetric capture
27
+ of the static phantom (wire targets, cysts, and tissue-mimicking background). The
28
+ file holds 1000 consecutive frames of the same scene.
29
+
30
+ ## Dataset Contributor(s)
31
+
32
+ Aitana Waelbroeck\*, Carl Ferlay\*, Arthur Chavignon\*, Maxence Reberol\*, Vincent Hingot\*
33
+
34
+ \* Resolve Stroke (29 Rue du Faubourg Saint-Jacques, 75014 Paris)
35
+
36
+ Contact email: maxence.reberol@resolvestroke.com
37
+
38
+ ## Dataset Creation Date
39
+
40
+ 01/23/2026
41
+
42
+ ## License / Terms of Use
43
+
44
+ CC BY 4.0 (see `LICENCE`). Data is released under Creative Commons Attribution
45
+ 4.0 International, which permits commercial use with attribution. (The Python
46
+ scripts in this directory carry their own `SPDX-License-Identifier: Apache-2.0`
47
+ header; the dataset itself is CC BY 4.0.)
48
+
49
+ ## Intended Usage
50
+
51
+ Beamforming and reconstruction research (RFP task group 6.1, Generalized
52
+ Reconstruction): resolution and contrast assessment, compressed sensing,
53
+ super-resolution, and matrix-probe diverging-wave 3D beamforming on a phantom with
54
+ known target structures.
55
+
56
+ ## Dataset Characterization
57
+
58
+ - Data collection method: Phantom (CIRS 040GSE multi-purpose, multi-tissue imaging phantom)
59
+ - Labeling method: None (single static acquisition; no per-frame labels)
60
+ - Acquisition system: SYLVER (Resolve Stroke's ultrasound device). 32×32 matrix
61
+ probe, 0.50 mm pitch, 0.30 mm kerf; transmit center frequency ≈ 2.031 MHz, sound
62
+ speed 1540 m/s. Diverging-wave transmits; receive sub-apertures flattened into 256
63
+ virtual elements. Channel data is DDC (baseband) IQ, so `sampling_frequency`
64
+ (≈ 2.031 MHz) is the post-decimation IQ rate and equals `demodulation_frequency`.
65
+ This is not an RF Nyquist rate (`n_ch = 2`, complex I/Q).
66
+
67
+ ## Dataset Format
68
+
69
+ Single zea HDF5 file (`phantom_mp.hdf5`), one track holding the raw channel data
70
+ and scan parameters. Written with `zea.File.create` (zea v0.1.1), validated
71
+ `compliant: true` against `validate_zea_spec.py`. `data/raw_data` is DDC IQ (last
72
+ axis [I, Q]). The hardware time-gain compensation is baked into `raw_data`;
73
+ `scan/tgc_gain_curve` is the applied (non-linear) gain per axial sample; divide by
74
+ it to recover true channel amplitudes. `reconstruct.py` divides `raw_data` by this
75
+ curve before beamforming (the `zea.Pipeline` itself stays standard; the reversal is
76
+ a plain array step).
77
+
78
+ ## Dataset Quantification
79
+
80
+ - Frames: 1000 (single acquisition)
81
+ - Train / val / test split: N/A
82
+ - Total size on disk: ~44 MB (`phantom_mp.hdf5`)
83
+
84
+ | Field | Shape | dtype | Units | Description |
85
+ |---|---|---|---|---|
86
+ | `data/raw_data` | `(1000, 1, 320, 256, 2)` | int16 | n/a | IQ channel data: frames × tx × axial × elements × {I, Q} |
87
+ | `probe/probe_geometry` | `(256, 3)` | float32 | m | Virtual element positions |
88
+ | `scan/t0_delays` | `(1, 256)` | float32 | s | Per-element transmit delays |
89
+ | `scan/tx_apodizations` | `(1, 256)` | float32 | n/a | Per-element transmit weights |
90
+ | `scan/focus_distances` | `(1,)` | float32 | m | Virtual-source distance (diverging wave, negative) |
91
+ | `scan/polar_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
92
+ | `scan/azimuth_angles` | `(1,)` | float32 | rad | Transmit steering (0) |
93
+ | `scan/transmit_origins` | `(1, 3)` | float32 | m | Transmit origin |
94
+ | `scan/initial_times` | `(1,)` | float32 | s | ADC start time |
95
+ | `scan/tgc_gain_curve` | `(320,)` | float32 | n/a | Hardware TGC applied to `raw_data`; divide by it to undo (`reconstruct.py` does this before beamforming) |
96
+ | `scan/sampling_frequency` | scalar | float32 | Hz | 2031250 (post-DDC IQ rate) |
97
+ | `scan/center_frequency` | scalar | float32 | Hz | 2031250 |
98
+ | `scan/demodulation_frequency` | scalar | float32 | Hz | 2031250 |
99
+ | `scan/sound_speed` | scalar | float32 | m/s | 1540 |
100
+
101
+ ## Subject Metadata
102
+
103
+ - Type: Phantom (CIRS 040GSE multi-purpose, multi-tissue imaging phantom)
104
+ - Contrast agent: None
105
+ - Motion: None (static scene)
106
+
107
+ ## Data Validation
108
+
109
+ `reconstruct.py` first divides `raw_data` by `scan/tgc_gain_curve` (reverse TGC),
110
+ then runs a standard `zea.Pipeline` (cast → DAS beamform → envelope → normalize →
111
+ log-compress) defined in `pipeline.yaml` to reconstruct a B-mode from the IQ channel
112
+ data. Because the probe is a 2D matrix array insonified by a single diverging-wave
113
+ transmit, `reconstruct.py` beamforms on polar (sector) grids and renders two
114
+ perpendicular sector B-modes, the x-z plane (y = 0) and the y-z plane (x = 0), side
115
+ by side:
116
+
117
+ ![Reference B-mode (two perpendicular sectors)](phantom_mp_bmode.png)
118
+
119
+ Run: `uv run --project /path/to/OpenH-RF python reconstruct.py`
120
+
121
+ ## Known Issues
122
+
123
+ - `raw_data` has the hardware TGC baked in; `scan/tgc_gain_curve` is that (non-linear)
124
+ applied curve. The reconstruction script divides by the curve before beamforming;
125
+ a downstream user reconstructing directly must divide by the curve too.
126
+ - `sampling_frequency ≈ center_frequency` because the data is DDC baseband IQ (see
127
+ Dataset Characterization), not an RF acquisition.
128
+ - The proposed 3D phantom-geometry reference (known target positions for the CIRS
129
+ 040GSE) is not yet included.
130
+
131
+ ## Ethical Considerations
132
+
133
+ Phantom data: no human subjects, no ethical concerns.
resolvestroke/phantom_mp/pipeline.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parameters:
2
+ grid_type: polar
3
+ polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11]
5
+ grid_size_z: 420
6
+ grid_size_x: 220
7
+ grid_size_y: 1
8
+ dynamic_range: [-40, 0]
9
+
10
+ pipeline:
11
+ operations:
12
+ - name: keras.ops.cast
13
+ params:
14
+ dtype: float32
15
+ - name: beamform
16
+ params:
17
+ beamformer: delay_and_sum
18
+ num_patches: 100
19
+ - name: envelope_detect
20
+ - name: normalize
21
+ - name: log_compress
resolvestroke/saddle/README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "OpenH-RF - Resolve Stroke Saddle-Array Reference B-modes (Transcranial CEUS + Phantom)"
3
+ license: cc-by-4.0
4
+ task_categories:
5
+ - other
6
+ tags:
7
+ - ultrasound
8
+ - iq
9
+ - openh-rf
10
+ - matrix-probe
11
+ - diverging-wave
12
+ - b-mode
13
+ - transcranial
14
+ - clinical
15
+ - phantom
16
+ language:
17
+ - en
18
+ size_categories:
19
+ - n<1K
20
+ ---
21
+
22
+ # OpenH-RF - Resolve Stroke Saddle-Array Reference B-modes
23
+
24
+ ## Dataset Description
25
+
26
+ Single-frame anatomical B-mode acquisitions from the "saddle" imaging sequence of
27
+ Resolve Stroke's SYLVER ultrasound device, using a 32×32 matrix probe. Each raw
28
+ acquisition contains, alongside the multi-thousand-frame contrast-enhanced
29
+ ultrasound (CEUS) sequence, one
30
+ wide-angle diverging-wave frame (the *saddle* sequence: `x_ang` −24°…+24° in nine
31
+ steps, no elevation steering, cylindrical elevation focus) received on the full
32
+ 1024-element aperture. Beamformed, this single frame gives a sector B-mode of the
33
+ imaging plane: the structural reference view acquired at the same probe placement
34
+ as the contrast (CEUS) recording.
35
+
36
+ This directory contains one such reference B-mode per dataset: 20 clinical
37
+ transcranial acquisitions (SCULPT study) and 1 static matrix-probe imaging phantom
38
+ (21 files total). It is the structural companion to the OpenH-RF Resolve Stroke
39
+ clinical CEUS clip submission, and the two use the same anonymized subject codes.
40
+
41
+ ## Dataset Contributor(s)
42
+
43
+ Aitana Waelbroeck\*, Carl Ferlay\*, Arthur Chavignon\*, Maxence Reberol\*, Vincent Hingot\*
44
+
45
+ \* Resolve Stroke (29 Rue du Faubourg Saint-Jacques, 75014 Paris)
46
+
47
+ Contact email: maxence.reberol@resolvestroke.com
48
+
49
+ ## Dataset Creation Date
50
+
51
+ 07/09/2026
52
+
53
+ ## License / Terms of Use
54
+
55
+ CC BY 4.0 (see `LICENCE`). Data is released under Creative Commons Attribution
56
+ 4.0 International, which permits commercial use with attribution. (The Python
57
+ scripts in this directory carry their own `SPDX-License-Identifier: Apache-2.0`
58
+ header; the dataset itself is CC BY 4.0.)
59
+
60
+ ## Intended Usage
61
+
62
+ Matrix-probe diverging-wave beamforming research, anatomical B-mode
63
+ reconstruction, and structural reference for the companion transcranial CEUS
64
+ flow/perfusion datasets (OpenH-RF request-for-proposals task group 6.2, Blood Flow).
65
+
66
+ ## Dataset Characterization
67
+
68
+ - Data collection method: 10 human subjects, 20 acquisitions (2 per subject:
69
+ different side and/or session), transcranial through the temporal acoustic
70
+ window, plus 1 static imaging phantom (wire/point targets).
71
+ - Labeling method: none (a single unlabeled anatomical frame per file).
72
+ - Acquisition system: SYLVER (Resolve Stroke's ultrasound device). SN2672 32×32
73
+ matrix probe, 0.50 mm pitch, 0.30 mm kerf; transmit center frequency ≈ 2.031 MHz,
74
+ sound speed 1540 m/s. The *saddle* sequence transmits 9 diverging waves steered
75
+ `x_ang` −24°…+24° (6° steps), `y_ang = 0`, virtual source at −50 mm, with an
76
+ elevation (saddle) focus at 120 mm. Receive is the full probe, packed as 4
77
+ sub-apertures of 256 elements each and flattened into 1024 virtual elements
78
+ (element index = `aperture·256 + element`, matching PyCompute's `apElemPos`
79
+ ordering). Channel data is digital down-converted (DDC) baseband IQ, so `sampling_frequency`
80
+ (≈ 2.031 MHz) is the post-decimation IQ rate and equals `demodulation_frequency`;
81
+ it is not an RF Nyquist rate (`n_ch = 2`, complex I/Q).
82
+
83
+ ## Dataset Format
84
+
85
+ One zea HDF5 file per dataset under `data/`, each holding a single frame of DDC IQ
86
+ channel data (`data/raw_data`, last axis `[I, Q]`). Written with `zea.File.create`
87
+ (zea v0.1.1), validated `compliant: true` against `validate_zea_spec.py`.
88
+
89
+ Files are named `<sp_id>[-<side>][-<n>].hdf5` (anonymized subject code, imaging
90
+ side, and a sequential index when a subject/side has more than one acquisition);
91
+ the phantom is `PMP01.hdf5`.
92
+
93
+ The hardware time-gain compensation is baked into `raw_data`; `scan/tgc_gain_curve`
94
+ is the applied (non-linear) gain per axial sample. `reconstruct.py` beamforms the
95
+ stored IQ directly (it does **not** undo the TGC, so deeper structure stays bright);
96
+ divide `raw_data` by `scan/tgc_gain_curve` first to recover true channel amplitudes.
97
+
98
+ ## Dataset Quantification
99
+
100
+ - Files: 21 (20 clinical + 1 phantom)
101
+ - Frames per file: 1
102
+ - Transmits per frame: 9 (diverging waves)
103
+ - Total size on disk: ~280 MB (≈13 MB per file)
104
+
105
+ | Field | Shape | dtype | Units | Description |
106
+ |---|---|---|---|---|
107
+ | `data/raw_data` | `(1, 9, 384, 1024, 2)` | int16 | n/a | IQ channel data: frames × tx × axial × elements × {I, Q} |
108
+ | `probe/probe_geometry` | `(1024, 3)` | float32 | m | Virtual element positions (full 1024-element probe) |
109
+ | `scan/t0_delays` | `(9, 1024)` | float32 | s | Per-transmit, per-element transmit delays |
110
+ | `scan/tx_apodizations` | `(9, 1024)` | float32 | n/a | Per-element transmit weights (all 1) |
111
+ | `scan/focus_distances` | `(9,)` | float32 | m | Virtual-source distance (diverging wave, −0.05) |
112
+ | `scan/polar_angles` | `(9,)` | float32 | rad | Transmit steering (−24°…+24° x) |
113
+ | `scan/azimuth_angles` | `(9,)` | float32 | rad | Transmit steering (0) |
114
+ | `scan/transmit_origins` | `(9, 3)` | float32 | m | Transmit origin |
115
+ | `scan/initial_times` | `(9,)` | float32 | s | ADC start time |
116
+ | `scan/tgc_gain_curve` | `(384,)` | float32 | n/a | Hardware TGC applied to `raw_data`; divide by it to undo |
117
+ | `scan/sampling_frequency` | scalar | float32 | Hz | 2031250 (post-DDC IQ rate) |
118
+ | `scan/center_frequency` | scalar | float32 | Hz | 2031250 |
119
+ | `scan/demodulation_frequency` | scalar | float32 | Hz | 2031250 |
120
+ | `scan/sound_speed` | scalar | float32 | m/s | 1540 |
121
+
122
+ ## Subject Metadata
123
+
124
+ - Type: 10 human subjects (20 acquisitions) + 1 phantom
125
+ - Subject IDs: `SP01`–`SP10` (anonymized), `PMP01` (phantom). Each subject
126
+ contributes 2 files (different side and/or session).
127
+ - Anatomy: Brain (transcranial), via the temporal acoustic window.
128
+
129
+ ## Data Validation
130
+
131
+ `reconstruct.py` runs a standard `zea.Pipeline` (cast → DAS beamform → envelope →
132
+ normalize → log-compress), configured in `pipeline.yaml`, to reconstruct a B-mode
133
+ from the IQ channel data. The probe is a 2D matrix array insonified by
134
+ diverging-wave transmits, so it beamforms on a polar (sector) grid (a fan spanning
135
+ the divergence angle in the x-z plane at y = 0, apex at the virtual source) and
136
+ scan-converts the result.
137
+
138
+ The montage below shows the reconstruction of all 21 files, one panel per dataset.
139
+ The phantom (PMP01) shows a regular column of point targets, which checks the depth
140
+ scaling and geometry.
141
+
142
+ ![Saddle-array B-modes for all 21 datasets](saddle_bmode_montage.png)
143
+
144
+ Set up the OpenH-RF environment once (clone <https://github.com/open-h/OpenH-RF>
145
+ and run `uv sync` in it), then reconstruct any file:
146
+
147
+ ```
148
+ uv run --project /path/to/OpenH-RF python reconstruct.py --input data/<file>.hdf5
149
+ ```
150
+
151
+ The B-mode PNG is written to `outputs/<file>_bmode.png` (override with `--output`).
152
+ With no `--input`, the first file under `data/` is used.
153
+
154
+ ## Ethical Considerations
155
+
156
+ Human-subject data. Channel data was acquired during the SCULPT clinical study
157
+ (National registration number (ID RCB): 2025-A00023-46; NCT07324421), a prospective
158
+ monocentric trial conducted at CHU Gui de Chauliac (Montpellier, France) under approval
159
+ from the French ethics committee (Comité de Protection des Personnes, CPP), comparing
160
+ cerebral perfusion from Resolve Stroke's SYLVER ultrasound system with routine perfusion
161
+ CT in ICU/CCU patients, using SonoVue® as the contrast agent.
162
+
163
+ The dataset contains no direct personal identifiers: subjects are referenced only by
164
+ an anonymized study code, and no name, date of birth, or operator identifiers are
165
+ stored in the released files. The only hardware field is the probe model (`SN2672`),
166
+ which is identical across all files and identifies the study device, not any subject.
167
+
168
+ ## Known Issues
169
+
170
+ - `raw_data` has the hardware TGC baked in; `scan/tgc_gain_curve` is that (non-linear)
171
+ applied curve. `reconstruct.py` beamforms the stored IQ as-is (leaving the TGC in,
172
+ which keeps deep structure bright); a user wanting true channel amplitudes must
173
+ divide `raw_data` by the curve.
174
+ - `sampling_frequency ≈ center_frequency` because the data is DDC baseband IQ (see
175
+ Dataset Characterization), not an RF acquisition.
resolvestroke/saddle/pipeline.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ parameters:
2
+ grid_type: polar
3
+ polar_limits: [-0.45, 0.45] # sector half-angle in rad (≈ ±26°)
4
+ zlims: [0.01, 0.12] # on-axis depth range in m (reconstruct.py offsets the apex)
5
+ grid_size_z: 420 # radial samples
6
+ grid_size_x: 220 # angular samples
7
+ grid_size_y: 1 # 1 => 2D sector (unlocks polar grid)
8
+ dynamic_range: [-40, 0] # display dB range (40 dB)
9
+
10
+ pipeline:
11
+ operations:
12
+ - name: keras.ops.cast
13
+ params:
14
+ dtype: float32
15
+ - name: beamform
16
+ params:
17
+ beamformer: delay_and_sum
18
+ num_patches: 100
19
+ - name: envelope_detect
20
+ - name: normalize
21
+ - name: log_compress