Skip to content

Commit

Permalink
testing bug fix on plotting where per was not extracted for duos
Browse files Browse the repository at this point in the history
  • Loading branch information
hposborn committed Aug 22, 2024
1 parent 2eea614 commit eb87aea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions MonoTools/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -4270,13 +4270,11 @@ def plot(self, interactive=False, n_samp=None, overwrite=False, interp=True, new
setattr(self.lc,'phase',{})
for n,pl in enumerate(self.planets):
if hasattr(self,'trace'):
vars=['t0_'+pl]
vars=['t0_'+pl,'per_'+pl]
if pl in self.trios:
vars+=['t0_3_'+pl]
if pl in self.trios+self.duos:
vars+=['t0_2_'+pl]
elif pl in self.multis or pl in self.rvplanets:
vars+=['per_'+pl]
if 'tdur_'+pl in self.init_soln:
vars+=['tdur_'+pl]
elif 'tdur_'+pl+'[0]' in self.init_soln:
Expand Down

0 comments on commit eb87aea

Please sign in to comment.