calculate_2d_velocities

sofia_redux.scan.integration.integration_numba_functions.calculate_2d_velocities(coordinates, dt)[source]

Calculate the velocities for (x, y) coordinates.

Parameters:
coordinatesnumpy.ndarray (float)

The (x, y) coordinates of shape (2, N).

dtfloat

The sampling interval.

Returns:
velocitynumpy.ndarray (float)

The output velocity of shape (2, N) containing the (x, y) velocities.