Exemple #1
0
def propagate_to_asc_node(o: Orbit):
    """ Propagates the orbit to the ascending node."""
    an, _, _, __ = calculate_nodes_dist(o)

    o_f = o.propagate_to_anomaly(an)
    return o_f
Exemple #2
0
def propagate_to_desc_node(o: Orbit):
    """ Propagates the orbit to the descending node."""
    _, dn, _, _ = calculate_nodes_dist(o)

    o_f = o.propagate_to_anomaly(dn)
    return o_f
Exemple #3
0
def propagate_to_periapsis(o: Orbit):
    """ Propagate given orbit to its periapsis. """
    if o.nu != 0 * u.deg:
        o_f = o.propagate_to_anomaly(0 * u.deg)
        return o_f
    return o