You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imported from https://bitbucket.org/gsttmri/hazen/issues/72/spres-mavis_deriv-function-problems 1. The calculated gradient (L22) is double the actual gradient. This can be shown with mavis_deriv(_,range(10)) which returns an array of 2.0s, rather than 1.0s. As the MTF is normalised this bug does not effect the final return value.2. The docstring does not accurately reflect the function’s behaviour.3. The function takes five input arguments but only uses one of them (a). Consider removing unused variables.4. Consider adding a reference to any published literature etc. which recommends this method of differentiation over e.g. standard Newton difference quotient https://en.wikipedia.org/wiki/Numerical_differentiation
The text was updated successfully, but these errors were encountered:
Transferred by @laurencejackson on Aug 9, 2020, 18:23
:::Issue recreated from Jira issue HZN-71:::
Imported from https://bitbucket.org/gsttmri/hazen/issues/72/spres-mavis_deriv-function-problems 1. The calculated gradient (L22) is double the actual gradient. This can be shown with
mavis_deriv(_,range(10))
which returns an array of 2.0s, rather than 1.0s. As the MTF is normalised this bug does not effect the final return value.2. The docstring does not accurately reflect the function’s behaviour.3. The function takes five input arguments but only uses one of them (a
). Consider removing unused variables.4. Consider adding a reference to any published literature etc. which recommends this method of differentiation over e.g. standard Newton difference quotient https://en.wikipedia.org/wiki/Numerical_differentiationThe text was updated successfully, but these errors were encountered: