This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import exoplanet as xo | |
import pymc3 as pm | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import theano.tensor as tt | |
with pm.Model() as model: | |
ecs = xo.UnitDisk("ecs", testval=np.array([1e-5, -1.e-5])) | |
ecc = pm.Deterministic("ecc", tt.sqrt(tt.sum(ecs ** 2))) | |
omega = pm.Deterministic("omega", tt.arctan2(ecs[1], ecs[0])) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
from numpy import random | |
from numpy.random import poisson, uniform, beta | |
from tqdm import tqdm | |
msun = 1.9891e30 | |
rsun = 695500000.0 | |
G = 6.67384e-11 | |
AU = 149597870700.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer