rajeshrinet / pyross

PyRoss: inference, forecasts, and optimised control of epidemiological models in Python. github.com/rajeshrinet/pyross
https://pyross.readthedocs.io
MIT License
169 stars 57 forks source link

Change the value of a *variable* during simulation #43

Open rodlaje opened 2 years ago

rodlaje commented 2 years ago

Hey there, First off, such a great job. We are using PyRoss to implement epidemiological forecasts when you have very scarce data (as in many places here in Latin America). My question, it would be amazing to be able to change the value of a variable (i.e. not a parameter) "by hand" at an arbitrary time during simulation, for instance to trigger a wave of a new variant (without resorting to changing parameter values as done with time_dep_params_mapping in /examples/stochastic/ex10-Spp-mutants.ipynb). Do you think it's possible? Are you guys by any chance considering implementing it? Thanks! Rodrigo