We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ec18e commit 762c57eCopy full SHA for 762c57e
tests/powder/correction_test.py
@@ -350,9 +350,9 @@ def test_normalize_by_monitor_histogram_expected_results():
350
# Simple way to get all false array same shape as detector data.
351
# Is there a better way?
352
all_false = sc.isinf(detector.bins.data)
353
- expected = NormalizedDspacing[SampleRun](
354
- detector / monitor.data
355
- ).bins.assign_masks({'monitor_intensity_is_zero': all_false})
+ expected = NormalizedDspacing[SampleRun](detector / monitor.data).bins.assign_masks(
+ {'monitor_intensity_is_zero': all_false}
+ )
356
sc.testing.assert_identical(normalized, expected)
357
358
0 commit comments