pub fn header_from_reference(path: &Path) -> Result<Header>
Load TRX-compatible spatial metadata from a reference file.
Supported reference types:
.trx
.nii
.nii.gz