"Silly" default behaviour of spherical harmonics parameter sets
jo11he opened this issue · comments
Spherical harmonics parameter sets created by
estimation_setup.parameter.spherical_harmonics_c_coefficients
andestimation_setup.parameter.spherical_harmonics_s_coefficients
include an entry for the degree, order (0,0) coefficient, which one should not estimate nor consider in sensitivity analyses.
Maybe this term should be excluded by default? On top (or instead), it would be helpful for the naive user to adopt a little note into the docstrings (for the API reference), that for estimation / sensitivity of GM in combination with SH coefficients, one should go through the dedicated gravitational_parameter
parameter type, and add it to the parameter set alongside the spherical harmonics coefficients.
Fixed in this commit:
I also added some more checks (no negative degrees, no order 0 sine coefficients).
Thanks for pointing this out!