Skip to content

Commit

Permalink
Update standard definitions. Prepare for release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wtclarke committed Dec 6, 2023
1 parent 7cd56ae commit d5bf6e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
This document contains the nifti_mrs_tools release history in reverse chronological order.

1.0.3 (Wednesday 6th December 2023)
1.1.0 (Wednesday 6th December 2023)
-----------------------------------
- Update definitions to NIfTI-MRS V0.8
- Fixes issue with displaying spectra with a singleton dimension
- Code spelling changes.

Expand Down
8 changes: 7 additions & 1 deletion src/nifti_mrs/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Define nifti-mrs version number here.
# First element is major version, second is minor
nifti_mrs_version = [0, 7]
nifti_mrs_version = [0, 8]

# Possible dimension tags and descriptions
dimension_tags = {"DIM_COIL": "For storage of data from each individual receiver coil element.",
Expand All @@ -34,6 +34,7 @@

# Defined metadata fields
# # 5.1 MRS specific Tags
# 'SpectralWidth'
# 'EchoTime'
# 'RepetitionTime'
# 'InversionTime'
Expand Down Expand Up @@ -80,6 +81,11 @@
# Format is a dict of tuples containing (type, unit string, doc string, anonymisation state)
standard_defined = {
# 5.1 MRS specific Tags
'SpectralWidth':
(float,
'Hz',
'The spectral bandwidth of the MR signal that is sampled. Inverse of the dwell time. NIfTI-MRS standard compliant software will always preferentially infer the spectral width from the dwell time stored in the NIfTI pixdim field. Units: hertz',
False),
'EchoTime':
(float,
's',
Expand Down

0 comments on commit d5bf6e0

Please sign in to comment.