Skip to content

Relativistic Effects

General relativistic corrections to satellite acceleration.

Note

For conceptual explanations and examples, see Relativistic Effects in the Learn section.

Relativistic Acceleration

accel_relativity builtin

accel_relativity(x_object: ndarray) -> ndarray

Calculate acceleration due to special and general relativity.

Parameters:

Name Type Description Default
x_object ndarray

State vector of the object in ECI frame. Units: [m; m/s]

required

Returns:

Type Description
ndarray

np.ndarray: Acceleration due to relativistic effects. Units: (m/s²)

Example
1
2
3
4
5
import brahe as bh
import numpy as np

x_object = np.array([bh.R_EARTH + 500e3, 0.0, 0.0, 0.0, 7500.0, 0.0])
a_rel = bh.accel_relativity(x_object)

See Also