-
Notifications
You must be signed in to change notification settings - Fork 532
FIX: Allow max_sh
not to be set (auto mode)
#2940
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
Conversation
For further information and why it can be left unset see http://community.mrtrix.org/t/lmax-for-dwi2response-and-dwi2fod/1099/4 cc / @oesteban
Codecov Report
@@ Coverage Diff @@
## master #2940 +/- ##
=========================================
Coverage ? 67.59%
=========================================
Files ? 344
Lines ? 43747
Branches ? 5456
=========================================
Hits ? 29572
Misses ? 13466
Partials ? 709
Continue to review full report at Codecov.
|
The idea of setting the defaults is for provenance and to encode behavior so that the same interface invocation should get basically the same behavior, even if the underlying software changes its default in a future version. Is there some invocation that actually gets default behavior? |
I don't know the original default behavior* but at some point, the default has become some sort of "auto" mode, triggered when the flag is not present. Therefore, after this PR the interface will actually implement their default. * I think it would crash if none given, and I defined 8 as a typically used value. |
Yes. To put a finer point on my questions:
We have interfaces that go both ways on question 2, but I thought the preference was to use Not trying to hold this up. Feel free to merge, if the answer to either question is no. |
I think that is not possible, after interpreting this: https://mrtrix.readthedocs.io/en/latest/concepts/sh_basis_lmax.html
I haven't found better documentation elsewhere.
I don't think this is the case. |
For further information and why it can be left unset see http://community.mrtrix.org/t/lmax-for-dwi2response-and-dwi2fod/1099/4
cc / @oesteban
Summary
Fixes # .
List of changes proposed in this PR (pull-request)
Acknowledgment