brahe 1.5.2

Brahe is a modern satellite dynamics library for research and engineering applications designed to be easy-to-learn, high-performance, and quick-to-deploy. The north-star of the development is enabling users to solve meaningful problems and answer questions quickly, easily, and correctly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# /// script
# dependencies = ["brahe"]
# ///
import time
import brahe as bh

ts = time.time()

bh.initialize_eop()
client = bh.celestrak.CelestrakClient()
gp_records = client.get_gp(group="starlink")
starlink = [rec.to_sgp_propagator(step_size=60.0) for rec in gp_records]
bh.par_propagate_to(starlink, bh.Epoch.now() + 86400.0)

te = time.time()
print(f"Took {bh.format_time_string(te - ts)} to run test_parallel.py")