aboutsummaryrefslogtreecommitdiffstats
path: root/Commons
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2013-11-03 09:52:51 +0100
committerVolker Hoffmann <volker@cheleb.net>2013-11-03 09:52:51 +0100
commit1f7d10c8730ddca201c2c171c03290c26a19ee04 (patch)
tree138006515e122d96029cc216eb63c961e86291ea /Commons
parentf96d8e9a06c79ffd45981ce870de4f7d220ef0fe (diff)
add header w/ units
Diffstat (limited to 'Commons')
-rw-r--r--Commons/Structs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Commons/Structs.py b/Commons/Structs.py
index b7372e3..84114e8 100644
--- a/Commons/Structs.py
+++ b/Commons/Structs.py
@@ -2,6 +2,17 @@ from kepler_helpers import cart2kep, kep2cart, compute_ellipse
import numpy as np
class Particle():
+ """
+ Semi-Major Axis - a - [AU]
+ Eccentricity - ecc - []
+ Inclination - inc - [rad]
+ Longitude of Ascending Node - Omega - [rad]
+ Argument of Perigee - omega - [rad]
+ Orbital Phase (Mean Anomaly) - M0 - [rad]
+ XYZ-Position - x, y, z - [AU]
+ XYZ-Velocity - vx, vy, vz - [AU/yr]
+ Particle Mass - m - [Msun]
+ """
def __init__(self):
# Cartesian
self.x, self.y, self.z = None, None, None