compute_orbital_property
Compute orbital properties such as period, mean motion, or semi-major axis from orbital elements or ECI state vector. Supports customizable gravitational parameter and angle units.
Instructions
Compute an orbital property using brahe astrodynamics functions.
Use list_orbital_computations() to see all available computations and their parameters.
Args: computation: Name of the computation (case-insensitive), e.g. "orbital_period". a: Semi-major axis in meters. e: Eccentricity (dimensionless). n: Mean motion (deg/s or rad/s depending on angle_format). period: Orbital period in seconds. state_eci: ECI state vector as comma-separated string "x,y,z,vx,vy,vz" (m, m/s). gm: Gravitational parameter (m^3/s^2). Defaults to Earth if omitted. r_body: Body radius (m). Defaults to Earth equatorial radius if omitted. angle_format: Angle unit - "degrees" (default) or "radians".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| e | No | ||
| n | No | ||
| gm | No | ||
| period | No | ||
| r_body | No | ||
| state_eci | No | ||
| computation | Yes | ||
| angle_format | No | degrees |