-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
As a result of #563, the tolerances have been loosened for the hardcoded tests. These should ideally go away and be replaced with logical tests (for FB2D, FFB2D, FB3D, and FFB3D):
- Check that
expand–evaluateof a smooth function (e.g., shifted Gaussian) reaches a reasonable tolerance (e.g.,1e-2). - Check that
evaluate–expandyields machine precision. - Check that
evaluateandevaluate_tsatisfy the adjoint property (to machine precision):〈x, A y〉= 〈A* x, y〉, where A isevaluateand A* isevaluate_t. - Isotropic check: radially symmetric images and volumes should only have nonzero coefficients for
ell == 0(optional).
Note that 1–3 should hold for all basis objects, so it may make sense to structure these tests accordingly to reduce code duplication.
chris-langfield