Skip to content

Commit

Permalink
Merge pull request #376 from sblunt/option-to-exclude-hipIAD-from-abs…
Browse files Browse the repository at this point in the history
…astromlike

option-to-exclude... branch was a subset of orbitize_for_morgan...
  • Loading branch information
sblunt authored Sep 13, 2024
2 parents 6e63d8e + 4432d91 commit 640d542
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 @@ -291,8 +291,6 @@ 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]
Expand All @@ -301,6 +299,8 @@ def __init__(
self.R += 0.140 # [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 640d542

Please sign in to comment.