Hello @AlessandroV,
Cause
These methods were already not available in the Orbit
class as you can see when comparing these documentations:
https://www.orekit.org/site-orekit-11.3.3/apidocs/org/orekit/orbits/Orbit.html
https://www.orekit.org/site-orekit-12.1.2/apidocs/org/orekit/orbits/Orbit.html
However, this is indeed due to a change in the output type of the IOD method you are using. It initially returned a KeplerianOrbit
but in the 12.0 version, it returns an Orbit
.
Solution
You can simply convert your orbit to a Keplerian one using :
converted_orbit = KeplerianOrbit.cast_(OrbitType.KEPLERIAN.convertType(keplerianOrbit_iod))
Cheers,
Vincent