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

module request: 2nd order Langevin process #1

Open
glocke01 opened this issue Sep 24, 2020 · 2 comments
Open

module request: 2nd order Langevin process #1

glocke01 opened this issue Sep 24, 2020 · 2 comments

Comments

@glocke01
Copy link

Hi,

love your modules!!

I've been wanting something like Ornstein-Uhlenbeck or Langevin dynamics for some time. My request is to add inertia to your Ornstein Uhlenbeck. I'm thinking of a module where you use Ornsetein Uhlenbeck equation as function of velocity instead of position. The "mean reversion strength" would then be drag. To prevent it from running away you could either make it wrap from +10 to -10 or add a potential well.

@mhampton
Copy link
Owner

Thanks for the suggestion, I'm glad someone is interested.

What you suggest would be easy to do, although it would require at least one more output and maybe another input to control the well depth. The Ornstein-Uhlenbeck is already kind of cramped at 4hp so maybe I can make a wider one with more options. I'll try to do that at some point soon although I am pretty busy with other stuff for the next couple of weeks.

@mhampton
Copy link
Owner

OK, I have added a new module that may do some of what you want (see the new README.md for a description). I will request it be added to the official library (might take a while if there are bugs).

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

2 participants