aboutsummaryrefslogtreecommitdiffstats
path: root/Commons/Structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'Commons/Structs.py')
-rw-r--r--Commons/Structs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Commons/Structs.py b/Commons/Structs.py
index 5bb93a9..2b33c56 100644
--- a/Commons/Structs.py
+++ b/Commons/Structs.py
@@ -11,8 +11,13 @@ class Particle():
Orbital Phase (Mean Anomaly) - M0 - [rad]
XYZ-Position - x, y, z - [AU]
XYZ-Velocity - vx, vy, vz - [AU/yr]
+ - [AU/day/0.01720209895]
Particle Mass - m - [Msun]
Particle ID - id - []
+
+ To convert velocities to km/s, do *au2km/24.0/3600.0*0.0172020989.
+
+ NB: For G=M=1, 1 Year = 2 Pi (From Kepler's Third Law).
"""
def __init__(self):
# General