Skip to content

Commit

Permalink
sigma-clipping: make database have only unique values
Browse files Browse the repository at this point in the history
Since we use set difference, we were losing a value and it threw me off...
  • Loading branch information
dhalperi committed Jun 12, 2014
1 parent 11513b3 commit d25be7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/sigma_clipping_points.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
26.2
25.3
24.7
25.0
25.01
26.1
22.8
2.2
Expand Down
2 changes: 1 addition & 1 deletion raco/myrial/sigma_clipping_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class SigmaClippingTest(myrial_test.MyrialTestCase):
points = [25.0, 27.2, 23.4, 25.1, 26.3, 24.9, 23.5, 22.7, 108.2,
26.2, 25.3, 24.7, 25.0, 26.1, 22.8, 2.2, 24.8, 25.05, 25.15]
26.2, 25.3, 24.7, 25.01, 26.1, 22.8, 2.2, 24.8, 25.05, 25.15]
points_tuples = [(i, x) for i, x in enumerate(points)]
points_table = collections.Counter(points_tuples)

Expand Down

0 comments on commit d25be7e

Please sign in to comment.