-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider increasing the number of significant digits in the ImagingFrequency tag #685
Comments
It is unfortunate that both DICOM and BIDS use decimal strings rather than IEEE binary floats for storing many values including imaging frequency 0018,0084. As Kernighan and Plauger note What value does the input DICOM image provide?
|
I note that with enhanced DICOM Transmitter Frequency (0018,9098) is provided as a double precision binary. If you test the developmental branch, you will find enhanced precision, but you may need enhanced DICOM to see optimal precision. |
Describe the bug
The
ImagingFrequency
tag of the BIDS Json sidecar has a limited number of significant digits.This introduces limitations since that tag only stores the approximate B0 frequency used during a scan. This is very limiting for a particular application I am doing where I need to know the exact frequency used during a scan.
Since the DICOM tag has the significant digits up to Hz, I was wondering why the
ImagingFrequency
tag is truncated and if there is a good reason for it. If not, I would suggest increasing the number of significant digits to match the source (DICOM) so that no information is loss during the conversion of that tag.To reproduce
Run dcm2niix on any MRI data. (I tried Siemens and Philips data)
Expected behavior
ImagingFrequency tag to have significant digits up to the same level as the original DICOM files.
Version
Please report the complete version string:
v1.0.20220720
The text was updated successfully, but these errors were encountered: