| name | brahe |
| description | Python astrodynamics and satellite dynamics with Brahe. Use for orbital propagation,
coordinate transformations, access computation, attitude representations, trajectories,
space weather, datasets, and visualization. Triggered by brahe, orbital mechanics,
satellite propagation, astrodynamics, TLE, SGP4, Keplerian orbits, ground track,
or access windows.
|
Brahe Skill
Curated documentation and runnable examples for the Brahe Python library.
Quick Start
To do something fun like calculating the orbital-period of a satellite in low Earth orbit:
import brahe as bh
a = bh.constants.R_EARTH + 400e3
T = bh.orbital_period(a)
print(f"Orbital Period: {T / 60:.2f} minutes")
or find when the ISS will next pass overhead:
import brahe as bh
bh.initialize_eop()
client = bh.celestrak.CelestrakClient()
iss = client.get_sgp_propagator(catnr=25544, step_size=60.0)
epoch_start = iss.epoch
epoch_end = epoch_start + 24 * 3600.0
iss.propagate_to(epoch_end)
passes = bh.location_accesses(
bh.PointLocation(-122.4194, 37.7749, 0.0),
iss,
epoch_start,
epoch_end,
bh.ElevationConstraint(min_elevation_deg=10.0),
)
print(f"Number of passes in next 24 hours: {len(passes)}")
Module Map
See more examples and documents on how to use brahe:
Common Patterns
See docs/learn/index.md for the full user guide overview.
Linked example guides stay under docs/examples/, API docs under docs/library_api/, and runnable helpers under examples/ and plots/learn/.
Official Documentation