Skip to content

Commit

Permalink
modify check_filter_phase test
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime Regeard <regeard@apc.in2p3.fr>
  • Loading branch information
MRegeard committed Jun 28, 2023
1 parent efb2d80 commit 6db2866
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gammapy/data/tests/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ def test_filter_gti(observation):
"p_in": [],
"p_out": 1,
},
{
"p_in": [
{"type": "custom", "opts": dict(parameter="PHASE", band=(0.2, 0.4))},
{"type": "custom", "opts": dict(parameter="PHASE", band=(0.6, 0.8))},
],
"p_out": 0.4,
},
],
)
def test_check_filter_phase(pars):
Expand Down

0 comments on commit 6db2866

Please sign in to comment.