Skip to content

Commit

Permalink
More forgiving bounds on semimajor axis prior
Browse files Browse the repository at this point in the history
The default upper and lower bounds on the Jeffrey's prior on semimajor axis were giving unphysical results for widely-separated planets. Fixed.
  • Loading branch information
sblunt committed Mar 24, 2019
1 parent e7a88ab commit f33b3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbitize/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(self, num_secondary_bodies, data_table, system_mass,

for body in np.arange(num_secondary_bodies):
# Add semimajor axis prior
self.sys_priors.append(priors.JeffreysPrior(0.1, 100.))
self.sys_priors.append(priors.JeffreysPrior(0.001, 1e7))
self.labels.append('sma{}'.format(body+1))

# Add eccentricity prior
Expand Down

0 comments on commit f33b3ab

Please sign in to comment.