neuromancer.dynamics.interpolation module

class neuromancer.dynamics.interpolation.Interpolation[source]

Bases: ABC

abstract interpolation(tq, t, u)[source]
class neuromancer.dynamics.interpolation.LinInterp_Offline(t, u)[source]

Bases: Interpolation

interpolation(tq, t=None, u=None)[source]
Parameters:

tq – torch.Tensor (# of timesteps, 1), The unit of tq is actual temporal unit, e.g. second, not index.

Returns:

torch.Tensor (# of timesteps, state dim)

class neuromancer.dynamics.interpolation.LinInterp_Online[source]

Bases: Interpolation

interpolation(tq, t, u)[source]