You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, set_timeseries() accepts as the timeseries:
an array of length self.times()
a timeseries object
Perhaps it would be nice to also be able to accept a single value, e.g. a float? It could treat it the same as if it were an array with all the same value.
The text was updated successfully, but these errors were encountered:
For optimization, set_timeseries only accepts a Timeseries. The constructor of Timeseries allows one to broadcast a float.
For simulation, set_timeseries only accepts a numpy array. Hypothetically we could allow a broadcast here. The simulation API is a mess though, so I would hold off until #1126 is fixed.
In GitLab by @jvande42b on Oct 14, 2018, 17:36
Right now, set_timeseries() accepts as the timeseries:
Perhaps it would be nice to also be able to accept a single value, e.g. a float? It could treat it the same as if it were an array with all the same value.
The text was updated successfully, but these errors were encountered: