Skip to content

Commit

Permalink
fix error message that was printing incorrectly but not affecting code
Browse files Browse the repository at this point in the history
  • Loading branch information
sblunt committed Sep 3, 2024
1 parent 31ea104 commit 4432d91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orbitize/hipparcos.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,14 @@ def __init__(
else:
iad = np.transpose(np.loadtxt(path_to_iad_file))

n_lines = len(iad)

times = iad[1] + 1991.25
self.cos_phi = iad[3] # scan direction
self.sin_phi = iad[4]
self.R = iad[5] # abscissa residual [mas]
self.eps = iad[6] # error on abscissa residual [mas]

n_lines = len(self.eps)

# reject negative errors (scans that were rejected by Hipparcos team)
good_scans = np.where(self.eps > 0)[0]

Expand Down

0 comments on commit 4432d91

Please sign in to comment.