Can skyfield compute the .at() function for a list of timestamps/datetimes? #865
Unanswered
pablotejada
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Thank you for the kind words, and I'm glad that you have been enjoying Skyfield! Have you tried out Skyfield time vectors, which place n times in the same https://rhodesmill.org/skyfield/time.html#date-arrays The underlying |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am simulating a MEO constellation for the course of N years. Now I only have one earth location to compute the Lines of Sight (LoS) but it takes too long to compute, even with multiprocessing in place. Probably, is because I run the following code for every timestamp. Is there a way to compute the
.at()
in bulk for a list of timestamps, something that leverages NumPy?This is the basic structure of the current code:
Ideally, it would be something like
difference.at([t1,t2,...,tm])
that allowed to compute the difference at all these times in bulk without having to iterate every timestamp, which is very slow. If this was possible, N-satellite to M-gateways system simulations would be faster to run, which will be great for the New-Space era!Thank you in advance!
P.S: Skyfield has been a great finding and I love it! @brandon-rhodes
Beta Was this translation helpful? Give feedback.
All reactions