TLEJacobianMapper provides inconsistent Jacobian
The getStateJacobian
method of the TLEJacobiansMapper class provides the Jacobian with respect to Keplerian elements while the same method of the JacobiansMapper class provides the Jacobian with respect to Cartesian elements.
- it is not clear and should be documented in both cases,
- the inconsistency comes from the fact that the elements are not ordered in the same way as those of the Jacobian provided by the
computeJacobianMeanWrtCartesian
of the KeplerianOrbit class, i.e. the first ones are ordered as a, e, i, Ω, ω, M while the second ones are ordered as a, e, i, ω, Ω, M. Applying directly the chain rule to get the state Jacobian wrt Cartesian elements for example will will produce an incorrect result.