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 0a95e1c commit 2d60639Copy full SHA for 2d60639
1 file changed
tests/data/norm_for_each.py
@@ -12,7 +12,9 @@ def test_3D():
12
data.norm_for_each("d2", 0, new_channel={"name": "ai0_d2_norm"})
13
assert np.all(data.channels[-1][:].max(axis=(0, 1)) == 1)
14
15
- data.norm_for_each("d1", 0, new_channel={"name": "ai0_d1_norm"})
+ data.norm_for_each("d1", 0, new_channel=True)
16
+
17
+ data.norm_for_each("d1", 0, new_channel={"name": "ai0_d1_norm1"})
18
data.channels[0].normalize()
19
assert np.all(np.isclose(data.ai0_d1_norm[:], data.channels[0][:]))
20
0 commit comments