Skip to content

Commit

Permalink
turn off testing for outlier masking within set_forest_region
Browse files Browse the repository at this point in the history
p-slash committed Jul 9, 2024
1 parent ead537a commit 7b2f3ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_spectrum.py
Original file line number Diff line number Diff line change
@@ -57,9 +57,10 @@ def test_set_forest_region(self, setup_data):
assert ('R' not in spec.forestflux.keys())
assert (not spec.forestreso)

spec.flux['B'][10:15] = 1e2
spec.set_forest_region(3600., 6000., 1050., 1180.)
npt.assert_equal(spec.forestflux['B'][10:15], 0)
# Test outlier masking (turned off)
# spec.flux['B'][10:15] = 1e2
# spec.set_forest_region(3600., 6000., 1050., 1180.)
# npt.assert_equal(spec.forestflux['B'][10:15], 0)

def test_drop_short_arms(self, setup_data):
cat_by_survey, _, data = setup_data(1)

0 comments on commit 7b2f3ff

Please sign in to comment.