TLE data as input using ApsideDetector's implementation method

I want to use TLE data as the input of the ApsideDetector method to output the perigee time and apogey time of the satellite as well as the corresponding height. However, I find that the ApsideDetector method is full of Orbit input. I would like to ask how to implement it with Orekit if I want to use TLE.

Hello @gengjianben

You don’t need to pass an orbit to ApsideDetector, you create it by providing the Keplerian period, which you can compute from the mean motion from the TLE

Thank you for your reply. I can try it.