Constraining INclinations of Exoplanets and their MAsses by Stability
CINEMAS is a Bayesian framework for constraining the inclinations, and hence the true masses, of exoplanets in compact multi-planet systems detected with the radial velocity (RV) method.
The true mass
Assuming isotropy, the prior probability distribution on spock package. CINEMAS uses MCMC to calculate posterior distributions for the inclination, and thus the true masses of these exoplanets in inclined multi-planet systems. The result? Absolute cinema(s).
Install CINEMAS directly from PyPI:
pip install cinemasOr, for development, clone the repository and install in editable mode:
git clone https://github.com/xbyrne/cinemas
cd cinemas
pip install -e ".[dev]"Observational data is loaded from the NASA Exoplanet Archive, using their TAP service. It is then loaded into a SystemObservations object, which includes all the observational data needed for a prior on the configuration parameters.
import cinemas
# Load observational constraints for a system
catalogue = cinemas.download_multiplanet_systems()
system_obs = cinemas.load_system_observations(
star_name="Barnard's star",
exoplanet_catalogue=catalogue
)import cinemas
# Run MCMC to constrain the inclination and true masses
samples, tau, acceptance_fraction = cinemas.run_mcmc_sampling(
system_obs,
nsteps=5000,
nwalkers=None # By default, 2*number of params
)
print(f"Autocorrelation time: {tau}")
print(f"Acceptance fraction: {acceptance_fraction}")