poliastro.threebody.cr3bp_char_quant
¶
@author: Dhruv Jain, Multi-Body Dynamics Research Group, Purdue University.
Module Contents¶
Classes¶
Computes and stores the properties (mu, l*, t*) of a CR3BP system |
- class poliastro.threebody.cr3bp_char_quant.SystemChars(name, mu, lstar, tstar)¶
Computes and stores the properties (mu, l*, t*) of a CR3BP system ‘mu’: mass ratio of P1-P2 primary bodies ‘l*’: characterisitic lenght of P1-P2 system ‘t*’: characterisitic time of P1-P2 system If P2 is more massive than P1 then swap the Pi, so that P1 is the more massive body.
- property name¶
Name of P1-P2 system.
- property mu¶
Mass ratio of P1-P2 primary bodies in CR3BP.
- property lstar¶
Characterisitc length of P1-P2 system.
- property tstar¶
Characterisitc time of P1-P2 system.
- classmethod from_primaries(p1, p2)¶
Computes and sets the characteristic quanitites based on p1 and p2 bodies.
- classmethod bodies_char_compute(p1, p2)¶
Calculates mu, lstar, and tstar of the ‘p1’ and ‘p2’ system.
Also, if M2>M1, then swaps p1 and p2, so that M1>M2
- Parameters
- Returns
name (string) – System name, format: ‘Body1Body2’, e.g. ‘EarthMoon’, ‘SunEarth’
mu (float, dimensionless) – mass ratio of P1-P2 primary bodies
lstar (float, km) – Characterisitc length of P1-P2 system
tstar (float, sec) – Characterisitc time of P1-P2 system