Skip to content
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

leading minor not positive definite #3

Open
Pavel-Konarik opened this issue Feb 6, 2017 · 0 comments
Open

leading minor not positive definite #3

Pavel-Konarik opened this issue Feb 6, 2017 · 0 comments

Comments

@Pavel-Konarik
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant