Bodies module¶
Important Bodies.
Contains some predefined bodies of the Solar System:
* Sun (☉)
* Earth (♁)
* Moon (☾)
* Mercury (☿)
* Venus (♀)
* Mars (♂)
* Jupiter (♃)
* Saturn (♄)
* Uranus (⛢)
* Neptune (♆)
* Pluto (♇)
and a way to define new bodies (Body class).
Data references can be found in constant
-
class
einsteinpy.bodies.Body(**func_kwargs)[source]¶ Bases:
objectClass to create a generic Body
- Parameters
name (string) – Name or ID of the body
mass (kg) – Mass of the body
q (C, optional) – Charge on the body
R (units) – Radius of the body
differential (*, optional) – Complete coordinates of the body
parent (Body, optional) – The parent object of the body Useful in case of multibody systems