-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Given the error, what is the shape of u_flat? |
Beta Was this translation helpful? Give feedback.
-
Also I recommend forget differentiation and use the WeakPDELibrary (see Example 12 jupyter notebook) |
Beta Was this translation helpful? Give feedback.
-
Hey @Lawrence5 & @akaptano , I tried this out of curiosity, and it almost worked for my environment. I think it'll work for you if you install pysindy from the current github repository, as in
The only change I needed to make to your code was
since the Note that the
|
Beta Was this translation helpful? Give feedback.
Hey @Lawrence5 & @akaptano ,
I tried this out of curiosity, and it almost worked for my environment. I think it'll work for you if you install pysindy from the current github repository, as in
The only change I needed to make to your code was
since the
differentiation_method
takes an object of typeBaseDifferentiation
rather than the actual derivative values. You can also usemethod.fit(u_flat,t=dt,x_dot=ps.SmoothedFiniteDifference(axis=1)._differentiate(u_fl…