Patch Colorado Boulder SSA metadata
#28
by Anet-SP - opened
Patches the metadata structure for the Colorado Boulder tracked SSA HDF5 files.
Changed files: 62 total.
Folders changed:
- colorado-boulder/Sub-dataset-1/: 10 files
- colorado-boulder/Sub-dataset-2/: 10 files
- colorado-boulder/Sub-dataset-3/: 42 files
Fields changed:
- subject information is now stored under metadata/subject/id
- subject information is now stored under metadata/subject/type
- us_machine is now stored as a file-level attribute
Incorrect previous fields removed:
- metadata/subject_id
- metadata/subject_type
- metadata/us_machine
Reason:
The previous patch placed subject_id, subject_type, and us_machine directly under /metadata.
This patch moves the subject fields to the ZEA-compatible metadata/subject/ group and stores us_machine as a file-level attribute.
Subject values:
- Sub-dataset-1: metadata/subject/type = "2d_phantom"; metadata/subject/id follows the phantom2d file ID
- Sub-dataset-2: metadata/subject/type = "3d_phantom"; metadata/subject/id follows the phantom3d file ID
- Sub-dataset-3: metadata/subject/type = "invivo"; metadata/subject/id follows the invivo file ID
us_machine value:
"Verasonics Vantage research ultrasound scanner with a 64-element Verasonics P4-2 phased-array transducer"
Raw RF data and acquisition data are untouched.
Diff summary:
colorado-boulder/Sub-dataset-1/*.hdf5: differs
+ metadata/subject: group
+ metadata/subject/id
+ metadata/subject/type
+ root attribute us_machine
- metadata/subject_id
- metadata/subject_type
- metadata/us_machine
colorado-boulder/Sub-dataset-2/*.hdf5: differs
+ metadata/subject: group
+ metadata/subject/id
+ metadata/subject/type
+ root attribute us_machine
- metadata/subject_id
- metadata/subject_type
- metadata/us_machine
colorado-boulder/Sub-dataset-3/*.hdf5: differs
+ metadata/subject: group
+ metadata/subject/id
+ metadata/subject/type
+ root attribute us_machine
- metadata/subject_id
- metadata/subject_type
- metadata/us_machine
Anet-SP changed pull request status to open
wsimson changed pull request status to merged