calculate_2d_accelerations

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

Calculate the accelerations for (x, y) coordinates.

Parameters:
coordinatesnumpy.ndarray (float)

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

dtfloat

The sampling interval.

Returns:
accelerationnumpy.ndarray (float)

The output acceleration of shape (2, N) containing the (x, y) accelerations.