belson17 / modred

Modred main repository
BSD 2-Clause "Simplified" License
78 stars 38 forks source link

Example in documentation #47

Closed Potemkinkuliss closed 3 years ago

Potemkinkuliss commented 3 years ago

In https://modred.readthedocs.io/en/stable/tutorial_modaldecomp.html an example for pod decomposition is given. To my understanding the last line codes, eig_vals = mr.compute_POD_matrices_snaps_method( vecs, list(range(num_modes)))

should rather read

modes, eig_vals = mr.compute_POD_arrays_snaps_method( vecs, list(range(num_modes)))

jhtu commented 3 years ago

Sorry for the much delayed response. I believe this is likely due to a mismatch in versions. The stable version of the docs is older than the latest github repo version. I am working on a release right now that should fix this. If you build the documentation locally, it should match the latest interface.