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

Memory Kernel Estimation with the usual GLE

Memory Kernel Estimation with the usual GLE

Checking solution of volterra equation

Checking solution of volterra equation

Method comparaison

Method comparaison

Prony Series Estimation

Prony Series Estimation

Memory Kernel fit

Memory Kernel fit

Memory Kernel Estimation

Memory Kernel Estimation

Memory Kernel Estimation with the usual GLE

Memory Kernel Estimation with the usual GLE

Kernel Estimation for 2D observable

Kernel Estimation for 2D observable

Generalized Fokker Planck equation

Generalized Fokker Planck equation

Generalized Fokker Planck equation in underdamped case

Generalized Fokker Planck equation in underdamped case

GLE Integration

GLE Integration