PyDMD / PyDMD

Python Dynamic Mode Decomposition

Home Page:https://pydmd.github.io/PyDMD/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use ParametricDMD with BOPDMD?

zonexo opened this issue · comments

Hi,

I have managed to get ParametricDMD working with the vanilla DMD.

However, when I tried to use it with BOPDMD, I got an error:

pdmd_monolithic.fit(training_snapshots, training_params)

TypeError: fit() missing 1 required positional argument: 't'

I understand that BOPDMD requires an additional argument:

optdmd = BOPDMD(svd_rank=svd_rank_bop, num_trials=0)
        optdmd.fit(snapshots, snapshots_time)

So how should I add snapshots_time to pdmd_monolithic.fit to get it working?

Thanks!

Closing as duplicated of #461