1
0

phi derivation

This commit is contained in:
Alex_Hubert
2022-01-11 16:17:02 +01:00
parent 2976e8f9e3
commit ae6898c605

View File

@@ -213,7 +213,7 @@ class System(Body):
@property
def phi(self,body1,body2): #return angle in degree between plans formed by body1 and body2 (perurbator) trajectories
if len(self.bodylist) == 2 :
if len(self.bodylist) == 3 :
body1 = self.bodylist[0]
body2 = self.bodylist[2]
n1 = np.cross(body1.q, body1.v)