astrodynx.twobody.C_func

Contents

astrodynx.twobody.C_func#

astrodynx.twobody.C_func(chi, U2, U4, U5, deltat=3.14, mu=1)[source]#

The C function

Parameters:
  • chi (ArrayLike) – The generalized anomaly.

  • U2 (ArrayLike) – The universal function U2.

  • U4 (ArrayLike) – The universal function U4.

  • U5 (ArrayLike) – The universal function U5.

  • deltat (ArrayLike) – The time difference.

  • mu (ArrayLike) – The gravitational parameter.

Return type:

Array

Returns:

The value of the C function.

Notes

The C function is defined as:

\[ C = \frac{3 U_5 - \chi U_4 - \sqrt{\mu} \Delta t U_2}{\sqrt{\mu}} \]
where \(\chi\) is the generalized anomaly, \(\Delta t\) is the time difference, \(\mu\) is the gravitational parameter, and \(U_2\), \(U_4\), and \(U_5\) are the universal functions.

References

Battin, 1999, pp.466.