Likely Bugs in the "Using the O’Neil (2019) Observation-based Priors" Tutorial
Opened this issue · 0 comments
gabeweible commented
Describe the bug
- The
ObsPrior
class in the source code ofpriors.py
appears to want the required arguments ordered as:epochs, ra_err, dec_err, mtot
, but the tutorial provides these arguments in the order:ra_err, dec_err, epochs, mtot
(in the tutorial, the last of these is thesystem_mass
variable). - The
astropy.table.column.Column
variable for the error in relative declination,dec_err
, should be assigned the value:mySystem.data_table["quant2_err"]
, but the tutorial assigns:mySystem.data_table["quant1_err"]
(i.e., the sameastropy.table.column.Column
for relative right ascension as assigned tora_err
in the tutorial).
To Reproduce
Go to: Using the O’Neil (2019) Observation-based Priors, Priors to compare argument ordering and see the dec_err
assignment in the tutorial.
Desktop (please complete the following information):
- orbitize! Version 3.1.0