Skip to content

Conversation

alexcraven
Copy link
Contributor

The current frequency referencing assumes the presence of Cr and Cho, or NAA singlets. This is fine for healthy brains and brain-like phantoms (eg, BRAINO solution), but problematic for non-brain-like phantoms.

This update adds a function, osp_PhantomReferencing, which checks for the presence of these major singlets in the expected constellation before trying to reference to them. It also checks for a 0 ppm reference (DSS/TSP) and uses that if the major peaks are not present. If neither option is available, no further referencing is attempted (which is preferable to incorrectly referencing to an unknown other singlet)

Range check/adjustment of frequency limits failed due to incorrect variable name
Adaptable referencing for phantoms which may not include the typical reference singlets, and may include a 0 ppm reference.
@HJZollner
Copy link
Collaborator

Thanks @alexcraven

@HJZollner HJZollner merged commit ca6a9fb into schorschinho:develop Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants