pytmosph3r.planetary_system.orbit.base

Module Contents

class Orbit[source]

Bases: abc.ABC, pytmosph3r.log.Logger

Helper class that provides a standard way to create an ABC using inheritance.

property is_tidal_locked: bool
abstract r(true_anomaly: float = 0) float[source]

Returns the distance between the star and the planet in m.

Parameters:

() (true_anomaly) – True anomaly in radian.

abstract star_coordinates_projected(phase)[source]

Returns the coordinates in the reference frame of the transmittance (as seen from the observer). Only used in transmission, lightcurve.

Should return (rayon, angle) (polar coordinates)

abstract obs_long_to_phase(longitude)[source]
abstract phase_to_obs_long(phase)[source]
abstract phase_from_observer(obs_loc=(0, np.pi))[source]
abstract observer_from_phase(phase=0)[source]