Skip to content

Conversation

@effigies
Copy link

This is a small fix for cases where $\lVert(b, c, d)\rVert > 1$. Currently NIFTI-Reader-JS populates the affine matrix with NaNs in this case, which is undesirable.

There already exists a getQformMat method that follows the NIfTI reference implementation, but is unused, so I'm not really sure why this was reimplemented. I figure we can get this fix in and make a plan for improving consistency separately.

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.

1 participant