Skip to content

Commit

Permalink
STY: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing committed Dec 23, 2021
1 parent 6b62c1b commit 7af5d65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pysatMissions/tests/test_instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,8 @@ def test_sgp4_data_continuity(self, kwargs):
gradient_between_days = day2.iloc[0] - day1.iloc[-1]

# Check that the jump between days is within 3 sigma of average gradient
for key in average_gradient.keys():
del_g = np.abs(average_gradient[key] - gradient_between_days[key])
assert del_g < 3. * std_gradient[key]
del_g = np.abs(average_gradient - gradient_between_days)
assert np.all(del_g < (3. * std_gradient))

return

Expand Down

0 comments on commit 7af5d65

Please sign in to comment.