simIncludeGravBody¶
-
simIncludeGravBody.
loadGravFromFile
(fileName, spherHarm, maxDeg=2)[source]¶ Load the gravitational body spherical harmonics coefficients from a file.
- Parameters
fileName (string) – The full path to the specified data file.
spherHarm – The spherical harmonics container of the gravity body.
maxDeg (integer) – maximum degree of spherical harmonics to load
Notes
This function is a convenience utility for loading in the spherical harmonics coefficients from a data file. The default harmonic degree is 2 unless specified. Note that this function calls the gravityEffector function loadGravFromFile().