Jamesflynn1 / pyRBM

A Python framework to build and simulate stochastic rules-based models.
GNU General Public License v3.0
3 stars 0 forks source link

[FEATURE] Add ability to parse and use time series #9

Open Jamesflynn1 opened 3 months ago

Jamesflynn1 commented 3 months ago

Is your feature request related to a problem? Please describe. I want to be able to use values from a time series inside the rule propensities - this should take the form of model constants and should . In my own work, this is monthly meteorological data over 2-3 years and should be able to be location specific.

Describe the solution you'd like A class to specify and parse a csv as a time series - each time series value should be allowed as a class. Should be able to parse monthly data for now. The model state code should evolve the value of time series at the correct time point. This system should replace the hardcoded indicator variable system for months.

Note: currently this will be the first time after the change-point (an approximation). Use of an adapted Gillespie solver to account could be used, and eventually added.

Jamesflynn1 commented 1 month ago

Relies on work - Event Queue system