-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add a callback function to project()
#236
Comments
gustavdelius
added a commit
that referenced
this issue
Oct 6, 2021
Experimentally I decided to introduce two callback functions.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This callback function will be called every time a simulation timestep is saved, i.e., at intervals of
t_save
. The callback function should be able to update the params object used in the simulation, so that one can implement a time-dependence in the rates, for example. This would be useful for experiments with time-dependent temperature for example. Currently this requires the user to write custom functions for all time-dependent rates. In future they could use the callback function to rescale the rate arrays in the params object and then let the standard mizer rate functions do their job.The text was updated successfully, but these errors were encountered: