Gravityfield2SphericalHarmonicsVector

This program evaluates a time variable gravityfield at a given time and saves a vector with the coefficients of a spherical harmonics expansion in the sequence given by numbering. If set the expansion is limited in the range between minDegree and maxDegree inclusively. The coefficients are related to the reference radius R and the Earth gravitational constant GM.

This coefficients vector can be used as a approximate solution, see NormalsMultiplyAdd, or as pseudo oberservations for regularization, see normalEquation:regularization.

For back transformation use Gravityfield2PotentialCoefficients with gravityfield:fromParametrization.

NameTypeAnnotation
outputfileVector
filename
gravityfield
gravityfield
startIndex
uintstart index to put the coefficients in the solution vector
minDegree
uint
maxDegree
uint
GM
doubleGeocentric gravitational constant
R
doublereference radius
numbering
sphericalHarmonicsNumberingnumbering scheme for solution vector
time
timeat this time the gravity field will be evaluated
useSigma
booleanuse formal errors instead of coefficients