EphemerisGenerator propagate with vectorized input


I am wondering if it is feasible to vectorize the EphemeirGenerator propagate method.

My use case is that I have plenty of timesteps for which I want to get PV coordinates.

Currently I do a ‘for loop’ and call EphemerisGenerator.propagate(date) for each of the timestep

But it is very inefficient in terms of computation time for large time vectors.

I see that there is no alternative signature of propagate function (i.e. using e.g. FieldAbsoluteDate would allow to do propagation in a vectorized way so probably much faster)

Any hints ?


PS: I’m using Python wrapper.


Hi there,

The original, Java version of Orekit does not need such methods taking collections as inputs since it is a low level library and is written in compiled code so is relatively fast.
The thing is that the Python wrapper simply exposes every method/class from Java, with nothing extra (except a few classes to facilitate inheritance I believe but they are in Python too, @petrus.hyvonen can confirm), meaning that you need to perform FOR loops in an interpreted language I’m afraid.
If you’re looking for performance, you need to create a .jar that you will call