tristan-deep commited on
Commit
a69c5fe
·
verified ·
1 Parent(s): 999872b

vanderbilt: restructure the data card to the common layout

Browse files
Files changed (1) hide show
  1. vanderbilt/README.md +36 -34
vanderbilt/README.md CHANGED
@@ -1,5 +1,6 @@
1
  ---
2
- pretty_name: "OpenH-RF — Vanderbilt / Multi-Frame Focused Transmit Echocardiography Channel Dataset"
 
3
  license: cc-by-4.0
4
  task_categories:
5
  - image-reconstruction
@@ -17,33 +18,25 @@ size_categories:
17
  - n<1K
18
  ---
19
 
20
- # Multi-Frame Focused Transmit Echocardiography Channel Dataset
21
 
22
  ![Cineloop of the left atrial appendage](assets/118420_1_Focused_Uncoded_TX.gif)
23
 
24
- One cineloop of a fundamental focused-transmit acquisition,
25
- [`data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/vanderbilt/data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5).
26
-
27
- `zea` renders it straight from the Hub with the
28
- `pipeline.yaml` in this folder. Try it out with the following command:
29
-
30
- ```bash
31
- zea process \
32
- --dataset hf://nvidia/OpenH-RF/vanderbilt/data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5 \
33
- --config hf://nvidia/OpenH-RF/vanderbilt/pipeline.yaml \
34
- --n-frames 10
35
- ```
36
 
37
  ## Dataset Description
38
 
39
  This multi-frame focused transmit echocardiography channel dataset contains over 2000 frames of fundamental and harmonic data acquired with the P4-2v probe on a Verasonics Vantage 128. This dataset was originally acquired to visualize the left atrial appendage in patients following transesophageal echocardiography. Some patients have atrial fibrillation, which can cause blood clots to form in the appendage.
40
 
41
- Each dataset follows the naming convention of `subject_id`_`view_number`_`sequence_type`. `subject_id` is a six-digit random number. `view_number` distinguishes between multiple views acquired on the same subject. `sequence_type` is either Focused_Uncoded_TX or Harmonic_Focused_Uncoded_TX.
42
 
43
  ## Dataset Contributor(s)
44
 
45
- Brett Byram (PI), Christopher Khan, Ying-Chun (Preston) Pan, Zoe Marshall
46
- Vanderbilt University
 
 
 
47
 
48
  ## Dataset Creation Date
49
 
@@ -51,7 +44,7 @@ Vanderbilt University
51
 
52
  ## License / Terms of Use
53
 
54
- CC BY 4.0.
55
 
56
  ## Intended Usage
57
 
@@ -65,8 +58,27 @@ This dataset could be useful for training a domain-adaptive network, as it captu
65
  - **Frame rate:** Fundamental: 25 Hz (32 frames). Harmonic: 10 Hz (32 frames).
66
  - Note that the fundamental and harmonic sequences are not matched or interleaved: the harmonic sequence was executed immediately after the fundamental sequence within the same Verasonics setup file.
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  ## Dataset Format
69
 
 
 
70
  All acquisitions are submitted in the *zea* file format as raw RF channel data, with no preprocessing applied.
71
 
72
  | Group / field | Shape | Description |
@@ -75,27 +87,18 @@ All acquisitions are submitted in the *zea* file format as raw RF channel data,
75
 
76
  ### zea 0.1.6 Migration
77
 
78
- Files migrated with zea 0.1.6 store RF channel data at
79
- `tracks/track_0/data/raw_data`.
80
 
81
- Two legacy scalar text fields are relocated because they are not standard
82
- zea 0.1.6 metadata fields:
83
 
84
  | Original path | Migrated path |
85
  |---|---|
86
  | `metadata/imaging_view_name` | `custom/legacy_metadata/imaging_view_name` |
87
  | `metadata/notes` | `custom/legacy_metadata/notes` |
88
 
89
- The scalar text values, string dtypes, and original attributes are preserved.
90
- Each relocated field also has a `source_hdf5_path` attribute recording its
91
- original path. No text is reinterpreted or cleaned by this relocation.
92
- The RF data are re-saved, without intentional filtering, normalization, or
93
- other numerical preprocessing. This schema migration is not an additional
94
- de-identification pass.
95
 
96
- The current release uses the migrated schema; inspect each file's root
97
- `zea_version` attribute and field paths when loading it. The descriptions in
98
- Subject Metadata below apply to both the original and migrated text fields.
99
 
100
  ## Dataset Quantification
101
 
@@ -103,8 +106,7 @@ Subject Metadata below apply to both the original and migrated text fields.
103
 
104
  - **Samples:** 82 cineloops (32 frames each) from 30 patients — 2,624 fundamental frames
105
  - Plus a matching set of 2,624 harmonic frames (same cineloops, harmonic sequence)
106
- - Plus one CIRS phantom validation acquisition (`CIRS_validation/CIRS_fundamental.hdf5`,
107
- 32 frames), giving the 165 files and 5,280 frames of the current release
108
  - **Train / validation / test split:** N/A
109
 
110
  ## Subject Metadata
@@ -114,7 +116,7 @@ Subject Metadata below apply to both the original and migrated text fields.
114
 
115
  ## Data Validation
116
 
117
- A `zea.Pipeline` (cast → demodulate → DAS beamforming → envelope detection → normalization → log compression → scan conversion) reconstructs the B-mode image from the raw channel data and is defined in [pipeline.yaml](pipeline.yaml). Run [reconstruct.py](https://github.com/open-h/OpenH-RF/blob/main/datasets/vanderbilt/reconstruct.py) to reproduce it; set `INPUT` and `N_FRAMES` at the top of the script to pick a file and how many frames to beamform.
118
 
119
  ## Known Issues
120
 
 
1
  ---
2
+ name: vanderbilt
3
+ pretty_name: "Vanderbilt / Multi-Frame Focused Transmit Echocardiography Channel Dataset"
4
  license: cc-by-4.0
5
  task_categories:
6
  - image-reconstruction
 
18
  - n<1K
19
  ---
20
 
21
+ # Vanderbilt Multi-Frame Focused Transmit Echocardiography Channel Dataset
22
 
23
  ![Cineloop of the left atrial appendage](assets/118420_1_Focused_Uncoded_TX.gif)
24
 
25
+ *One cineloop of a fundamental focused-transmit acquisition, [`data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5`](https://huggingface.co/datasets/nvidia/OpenH-RF/blob/main/vanderbilt/data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5).*
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  ## Dataset Description
28
 
29
  This multi-frame focused transmit echocardiography channel dataset contains over 2000 frames of fundamental and harmonic data acquired with the P4-2v probe on a Verasonics Vantage 128. This dataset was originally acquired to visualize the left atrial appendage in patients following transesophageal echocardiography. Some patients have atrial fibrillation, which can cause blood clots to form in the appendage.
30
 
31
+ Each dataset follows the naming convention of `subject_id`_`view_number`_`sequence_type`. `subject_id` is a six-digit random number. `view_number` distinguishes between multiple views acquired on the same subject. `sequence_type` is either Focused_Uncoded_TX or Harmonic_Focused_Uncoded_TX.
32
 
33
  ## Dataset Contributor(s)
34
 
35
+ - Brett Byram (PI)
36
+ - Christopher Khan
37
+ - Ying-Chun (Preston) Pan
38
+ - Zoe Marshall
39
+ - Vanderbilt University
40
 
41
  ## Dataset Creation Date
42
 
 
44
 
45
  ## License / Terms of Use
46
 
47
+ [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/legalcode.en). Retain attribution and identify modifications when reusing the data.
48
 
49
  ## Intended Usage
50
 
 
58
  - **Frame rate:** Fundamental: 25 Hz (32 frames). Harmonic: 10 Hz (32 frames).
59
  - Note that the fundamental and harmonic sequences are not matched or interleaved: the harmonic sequence was executed immediately after the fundamental sequence within the same Verasonics setup file.
60
 
61
+ ## Processing the Dataset
62
+
63
+ The acquisitions can be processed with the `pipeline.yaml` definition in this folder and the [zea library](https://github.com/tue-bmd/zea).
64
+
65
+ `zea` streams the data from the Hugging Face Hub and processes it according to the pipeline. You can try it out with the following command:
66
+
67
+ ```bash
68
+ zea process \
69
+ --dataset hf://nvidia/OpenH-RF/vanderbilt/data/Fundamental/118420_1_Focused_Uncoded_TX.hdf5 \
70
+ --config hf://nvidia/OpenH-RF/vanderbilt/pipeline.yaml \
71
+ --n-frames 10
72
+ ```
73
+
74
+ Alternatively, you can use the `reconstruct.py` [script](https://github.com/open-h/OpenH-RF/blob/main/datasets/vanderbilt/reconstruct.py) as provided in the [OpenH-RF GitHub repository](https://github.com/open-h/OpenH-RF).
75
+
76
+ Set `ZEA_FILE` and `N_FRAMES` at the top of the script to pick a file and how many frames to beamform.
77
+
78
  ## Dataset Format
79
 
80
+ [zea v0.1.6](https://github.com/tue-bmd/zea)
81
+
82
  All acquisitions are submitted in the *zea* file format as raw RF channel data, with no preprocessing applied.
83
 
84
  | Group / field | Shape | Description |
 
87
 
88
  ### zea 0.1.6 Migration
89
 
90
+ Files migrated with zea 0.1.6 store RF channel data at `tracks/track_0/data/raw_data`.
 
91
 
92
+ Two legacy scalar text fields are relocated because they are not standard zea 0.1.6 metadata fields:
 
93
 
94
  | Original path | Migrated path |
95
  |---|---|
96
  | `metadata/imaging_view_name` | `custom/legacy_metadata/imaging_view_name` |
97
  | `metadata/notes` | `custom/legacy_metadata/notes` |
98
 
99
+ The scalar text values, string dtypes, and original attributes are preserved. Each relocated field also has a `source_hdf5_path` attribute recording its original path. No text is reinterpreted or cleaned by this relocation. The RF data are re-saved, without intentional filtering, normalization, or other numerical preprocessing. This schema migration is not an additional de-identification pass.
 
 
 
 
 
100
 
101
+ The current release uses the migrated schema; inspect each file's root `zea_version` attribute and field paths when loading it. The descriptions in Subject Metadata below apply to both the original and migrated text fields.
 
 
102
 
103
  ## Dataset Quantification
104
 
 
106
 
107
  - **Samples:** 82 cineloops (32 frames each) from 30 patients — 2,624 fundamental frames
108
  - Plus a matching set of 2,624 harmonic frames (same cineloops, harmonic sequence)
109
+ - Plus one CIRS phantom validation acquisition (`CIRS_validation/CIRS_fundamental.hdf5`, 32 frames), giving the 165 files and 5,280 frames of the current release
 
110
  - **Train / validation / test split:** N/A
111
 
112
  ## Subject Metadata
 
116
 
117
  ## Data Validation
118
 
119
+ A `zea.Pipeline` (cast → demodulate → DAS beamforming → envelope detection → normalization → log compression → scan conversion) reconstructs the B-mode image from the raw channel data and is defined in `pipeline.yaml`.
120
 
121
  ## Known Issues
122