A reverse slice would correspond to negative step size
dg_time_rev = time[::-1]
dg_a_rev = a[::-1]
Reverse time course would be
plot(dg_time_rev, dg_a_rev)
In my opinion post processing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don't think this is a good idea.
There should be much more math allowed on calculating the data generators in SEDML among other things slices in the spirit of
https://docs.python.org/2.3/whatsnew/section-slices.html
Get datapoint 10 to 19
dg = a[10:20]
A reverse slice would correspond to negative step size
dg_time_rev = time[::-1]
dg_a_rev = a[::-1]
Reverse time course would be
plot(dg_time_rev, dg_a_rev)
In my opinion post processing.