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

OKID errors for non-square systems #5

Open
baggepinnen opened this issue Sep 7, 2020 · 0 comments
Open

OKID errors for non-square systems #5

baggepinnen opened this issue Sep 7, 2020 · 0 comments

Comments

@baggepinnen
Copy link

In the notebook here
https://github.com/dylewsky/Data_Driven_Science_Python_Demos/blob/master/CH09/CH09_SEC03_ERA_OKID.ipynb
OKID errors if the system is not square, i.e., if q != p
The error happens in the indexing here

for i in range(LL):
        Ybar1[:,:,i] = Ybar[:,QQ+(QQ+PP)*i : QQ+(QQ+PP)*i+QQ]
        Ybar2[:,:,i] = Ybar[:,QQ+(QQ+PP)*i+QQ : QQ+(QQ+PP)*(i+1)]
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