Datasets:

ArXiv:
License:
tristan-deep commited on
Commit
c497b38
·
verified ·
1 Parent(s): 1e64d10

resolvestroke: pin distance_to_apex in the pipeline configs

Browse files

The diverging-wave apex (the virtual source behind the array) was derived in each reconstruct.py from |focus_distances|, with a fallback branch. It is a fixed acquisition parameter -- 0.022 m for the diverging sequence (clinical, phantom_flow, phantom_mp) and 0.05 m for saddle, constant across all 43 files -- so it belongs in the config next to zlims and polar_limits. The scripts now read it from there instead of rederiving it.

resolvestroke/clinical/pipeline.yaml CHANGED
@@ -1,7 +1,8 @@
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
 
1
  parameters:
2
  grid_type: polar
3
  polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11] # on-axis depth from the transducer face [m]
5
+ distance_to_apex: 0.022 # virtual source behind the array (|focus_distances|)
6
  grid_size_z: 420
7
  grid_size_x: 220
8
  grid_size_y: 1
resolvestroke/clinical/pipeline_PD_3d.yaml CHANGED
@@ -6,6 +6,7 @@ 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: 200 # samples along each ray (~depth, 0.5 mm)
10
  n_azimuth: 80 # rays in the x-z plane
11
  n_elevation: 80 # rays in the y-z plane
 
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
+ distance_to_apex: 0.022 # virtual source behind the array
10
  n_radial: 200 # samples along each ray (~depth, 0.5 mm)
11
  n_azimuth: 80 # rays in the x-z plane
12
  n_elevation: 80 # rays in the y-z plane
resolvestroke/phantom_flow/pipeline.yaml CHANGED
@@ -1,7 +1,8 @@
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
 
1
  parameters:
2
  grid_type: polar
3
  polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11] # on-axis depth from the transducer face [m]
5
+ distance_to_apex: 0.022 # virtual source behind the array (|focus_distances|)
6
  grid_size_z: 420
7
  grid_size_x: 220
8
  grid_size_y: 1
resolvestroke/phantom_flow/pipeline_PD_3d.yaml CHANGED
@@ -6,6 +6,7 @@ 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: 200 # samples along each ray (~depth, 0.5 mm)
10
  n_azimuth: 80 # rays in the x-z plane
11
  n_elevation: 80 # rays in the y-z plane
 
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
+ distance_to_apex: 0.022 # virtual source behind the array
10
  n_radial: 200 # samples along each ray (~depth, 0.5 mm)
11
  n_azimuth: 80 # rays in the x-z plane
12
  n_elevation: 80 # rays in the y-z plane
resolvestroke/phantom_mp/pipeline.yaml CHANGED
@@ -1,7 +1,8 @@
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
 
1
  parameters:
2
  grid_type: polar
3
  polar_limits: [-0.45, 0.45]
4
+ zlims: [0.01, 0.11] # on-axis depth from the transducer face [m]
5
+ distance_to_apex: 0.022 # virtual source behind the array (|focus_distances|)
6
  grid_size_z: 420
7
  grid_size_x: 220
8
  grid_size_y: 1
resolvestroke/saddle/pipeline.yaml CHANGED
@@ -2,6 +2,7 @@ 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 (zea adds distance_to_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)
 
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 (zea adds distance_to_apex)
5
+ distance_to_apex: 0.05 # virtual source behind the array (|focus_distances|)
6
  grid_size_z: 420 # radial samples
7
  grid_size_x: 220 # angular samples
8
  grid_size_y: 1 # 1 => 2D sector (unlocks polar grid)