-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
Description
One of the first tasks for reconciling our coefs/basis is ensuring we have rotation available across all the steerable 2d basis classes. Testing in a notebook I found the rotations are incorrect when using FLEBasis2D in the match_fb mode.
I took tests/test_FLEbasis2D.py and altered all instances of match_fb=False to match_fb=True. This showed that we are actually failing tests for at least what is below.
It may be possible to move forward without addressing this by using the original (match_fb=False) mode, but it is definitely something that needs to be fixed up. I'm taking a look now to see if it is another small bug, but hasn't popped out yet.
=================================== short test summary info ====================================
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[32-0.0001] - assert 1.335244139991674 < 0.0001
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[32-1e-07] - assert 1.3352472702407219 < 1e-07
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[32-1e-10] - assert 1.3352472712879315 < 1e-10
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[32-1e-14] - assert 1.3352472712873953 < 1e-14
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[33-0.0001] - assert 1.3298222477525323 < 0.0001
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[33-1e-07] - assert 1.3298229767551073 < 1e-07
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[33-1e-10] - assert 1.3298229752582897 < 1e-10
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[33-1e-14] - assert 1.3298229752613686 < 1e-14
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testFastVDense[8-0.0001] - assert 1.2013107587239196 < 0.0001
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[32-0.0001] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[32-1e-07] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[32-1e-10] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[32-1e-14] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[33-0.0001] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[33-1e-07] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[33-1e-10] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[33-1e-14] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::TestFLEBasis2D::testEvaluateExpand[8-0.0001] - RuntimeError: Unable to converge!
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[32-0.0001] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[32-1e-07] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[32-1e-10] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[32-1e-14] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[33-0.0001] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[33-1e-07] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[33-1e-10] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testMatchFBEvaluate[33-1e-14] - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testLowPass - assert 9693 == 10014
FAILED tests/test_FLEbasis2D_match_fb.py::testRotate - assert False
FAILED tests/test_FLEbasis2D_match_fb.py::testRadialConvolution - assert False
