Implement transition
cyrilou242 opened this issue · comments
The goal is to easily be able to implement sudden change in the timeseries.
See
https://rts-gen.readthedocs.io/en/latest/generators.html#transition
Implementing a transition smoothing is optional for the first implem
Eg:
def Transition(ts1=TImeseris, ts2, change_datetime)
- ensure Transition(Transition() works correctly
or
def Transition(start=Timeseries, **transitions: Tuple[datetime, Timeseries]) ?
Make sure that it's better than:
instantiate TimeSeries generator
generate on a timeframe
update
generate on a new timeframe
And better than
instantiate TimeSeries generator
generate on the full timeframe
apply a mask
naming proposals:
switch ? event ? OnOff
done