Skip to content

Commit

Permalink
Merge branch 'main' into 2315_medfilt_ng_cython
Browse files Browse the repository at this point in the history
  • Loading branch information
kif authored Nov 19, 2024
2 parents 7e313f5 + e810bd9 commit aac2491
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/pyFAI/engines/CSR_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,7 @@ def medfilt(self, data, dark=None, dummy=None, delta_dummy=None,
:param quant_max: stop percentile/100 to use. Use 0.5 for the median (default). 0<=quant_max<=1
:return: namedtuple with "position intensity error signal variance normalization count"
"""

indptr = self._csr.indptr
indices = self._csr.indices
csr_data = self._csr.data
Expand Down
1 change: 0 additions & 1 deletion src/pyFAI/test/test_medfilt_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def test_cython(self):
self.assertTrue(numpy.allclose(ref.sum_normalization, obt.normalization), "normalization matches")
self.assertTrue(numpy.allclose(ref.sum_normalization2, obt.norm_sq), "norm_sq matches")
# self.assertTrue(numpy.allclose(ref.count, obt.count), "count matches") # not valid with pixel splitting

self.assertTrue(numpy.allclose(ref.intensity, obt.intensity), "intensity matches")
self.assertTrue(numpy.allclose(ref.sigma, obt.sigma), "sigma matches")
self.assertTrue(numpy.allclose(ref.std, obt.std), "std matches")
Expand Down

0 comments on commit aac2491

Please sign in to comment.