Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Typo in validatiion test
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Oct 20, 2020
1 parent e852669 commit 0a31782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_awesim.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_extract_order1_ideal(self):
for n, group in enumerate(order1_counts):

# Convert counts to flux
order1_flux = order1_counts[n] / tso256.order1_response / (tso256.frame_time * (n + 1))
order1_flux = order1_counts[n] / self.tso256.order1_response / (self.tso256.frame_time * (n + 1))

# Mean residual (away from edges)
mean_residual = np.mean(((order1_flux.value - input_spec) / input_spec)[20:-20])
Expand Down Expand Up @@ -118,7 +118,7 @@ def test_extract_order2_ideal(self):
for n, group in enumerate(order2_counts):

# Convert counts to flux
order2_flux = order2_counts[n] / tso256.order2_response / (tso256.frame_time * (n + 1))
order2_flux = order2_counts[n] / self.tso256.order2_response / (self.tso256.frame_time * (n + 1))

# Mean residual (away from edges)
mean_residual = np.mean(((order2_flux.value - input_spec) / input_spec)[20:-20])
Expand Down

0 comments on commit 0a31782

Please sign in to comment.