Obliquity function
The obliquity module of exoSpin:
ExoSpin - Obliquity Run Script
This run script is a way to get the exoplanet obliquity from several parameters of the exoplanet. The function obliquity() does the run script.
@authors : I. Abdoulwahab & P. Palma-Bifani & G. Chauvin & A. Simonnin
- obliquity.obliquity(exoplanet_name, io, radius, vsini, omega_o, P, M)[source]
From exoplanet data, the function computes the obliquity of the planet and returns an Exoplanet obkect.
- Parameters:
exoplanet_name (str) – Planet’s name.
io (str or list) – Path for the orbital inclination data file. It can be a path or a list where the first element is the mean value, the second the standard deviation, and the third the length of it. From it, a random distribution will be generated.
radius (str or list) – Path for the radius data file. It can be a path or a list where the first element is the mean value, the second the standard deviation, and the third the length of it. From it, a random distribution will be generated.
vsini (str or list) – Path for the rotational velocity data file. It can be a path or a list where the first element is the mean value, the second the standard deviation, and the third the length of it. From it, a random distribution will be generated.
omega_o (str or list) – Path for the sky projected inclination data file. It can be a path or a list where the first element is the mean value, the second the standard deviation, and the third the length of it. From it, a random distribution will be generated.
P (float) – Rotational period of the planet.
M (float) – Mass of the planet.
- Returns:
An Exoplanet object.
- Return type: