Skip to content

Commit

Permalink
Resurrect test_corona_simple_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaponte committed Feb 16, 2024
1 parent a6b1191 commit 6b94129
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions invisible_cities/reco/xy_algorithms_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,19 @@ def test_corona_msipm(toy_sipm_signal, datasipm):
, msipm=2)


@mark.skip
@parametrize(' Qlm, rmax, nclusters',
((4.9, 15, 2),
(4.9, 1000000, 1)))
def test_corona_simple_examples(toy_sipm_signal, datasipm, Qlm, rmax, nclusters):
pos, qs = toy_sipm_signal
clusters = corona(pos, qs, datasipm,
msipm = 1,
Qlm = Qlm * units.pes,
new_lm_radius = rmax * units.mm )
Qthr = 0,
Qlm = Qlm * units.pes,
lm_radius = 0,
new_lm_radius = rmax * units.mm,
msipm = 1,
consider_masked = False
)
assert len(clusters) == nclusters


Expand Down

0 comments on commit 6b94129

Please sign in to comment.