Allow time-dependent rates #237
Labels
discussion
An idea that needs discussion before becoming a proposal
enhancement
New feature requests or suggestions for enhancement of existing features
extension
This feature should be implemented as a mizer extension
Milestone
I propose a function
projectWithTimeDependence()
which is likeproject()
but with additional arguments that, similar toeffort
, are arrays with a time dimension. I think the arguments should be:Their values should be arrays that are like the arrays stored in the MizerParams object but with an extra first dimension for the time.
The function would simply need to update the rate arrays in the params object during
project()
, using the newsave_callback
discussed in #236.The function should also save the time-dependent arrays in the resulting MizerSim object.
I think this function should be supplied by an extension package, which could also provide convenience functions for setting up the time-dependent arrays, provide examples like global warming, and provide appropriate analysis functions and plots.
The text was updated successfully, but these errors were encountered: