leading minor not positive definite
Hi Aaren, I am trying to use sparse_dmd to get frequency/modes data from grey-scale video (10 frames). I am parsing the frames to a numpy array. The resolution is 200x200, so I end up with 3d numpy array of 200x200x10 (because 10 frames). I try to plug that into DMD (as a "u" variable from your example), but sadly I am getting LinAlgError -
File "mytest.py", line 30, in <module> dmd.compute() File "build/bdist.linux-x86_64/egg/sparse_dmd/dmd.py", line 48, in compute File "build/bdist.linux-x86_64/egg/sparse_dmd/dmd.py", line 174, in init File "/usr/lib/python2.7/dist-packages/scipy/linalg/decomp_cholesky.py", line 132, in cho_factor check_finite=check_finite) File "/usr/lib/python2.7/dist-packages/scipy/linalg/decomp_cholesky.py", line 30, in _cholesky raise LinAlgError("%d-th leading minor not positive definite" % info) numpy.linalg.linalg.LinAlgError: 14-th leading minor not positive definite
Any idea what I am doing wrong?
Thanks, Crispy