VolterraBasis.xframe¶
- VolterraBasis.xframe(x, time, v=None, a=None, fix_time=False, round_time=0.0001, dt=-1)[source]¶
Creates a xarray dataset ([‘t’, ‘x’]) from a trajectory.
- Parameters:
- xarray
The time series. The array can be in any type as long as xarray can handle it. This include numpy array, dask array,…
- timenumpy array
The respective time values.
- fix_timebool, default=False
Round first timestep to round_time precision and replace times.
- round_timefloat, default=1.e-4
When fix_time is set times are rounded to this value.
- dtfloat, default=-1
When positive, this value is used for fixing the time instead of the first timestep.
- vnumpy array, default=None
Velocity if computed externally
- anumpy array, default=None
Acceleration if computed externally
Examples using VolterraBasis.xframe¶
Generalized Fokker Planck equation in underdamped case
Generalized Fokker Planck equation in underdamped case