shift#

pynlo.utility.shift(f_t, dt, t_shift)[source]#

Fourier shift.

The output array is at f(t - t_shift).

Parameters:
f_tarray_like

The input array.

dtfloat

The grid step size.

shift_tfloat

The amount to shift.

Returns:
ndarray

The shifted array.