sblunt / orbitize

Orbit-fitting for directly imaged objects
https://orbitize.info
Other
79 stars 44 forks source link

Bug in setting of track_planet_perturbations #248

Closed sblunt closed 3 years ago

sblunt commented 3 years ago

In this line:

        self.track_planet_perturbs = self.fit_secondary_mass and \
                                     ((len(self.radec[1]) + len(self.seppa[1]) + len(self.rv[1]) < len(data_table)) or \
                                      (self.num_secondary_bodies > 1))

I believe len(self.rv[1]) should be len(self.rv[0]). Don't think this is messing anyone up right now but we should fix this.

sblunt commented 3 years ago

addressed in PR #274 (and see the conversation in that issue)