d4b9c45cccfe8d605c00cc69b0ad521976b34080,hyperspy/tests/signal/test_eds_tem.py,Test_metadata,test_offset_after_rebin,#Test_metadata#,88
Before Change
s.axes_manager[0].offset = 1
s.axes_manager[1].offset = 2
s.axes_manager[2].offset = 3
s2 = s.rebin(scale(2, 2, 1))
assert s2.axes_manager[0].offset == 1.5
assert s2.axes_manager[1].offset == 2.5
assert s2.axes_manager[2].offset == s.axes_manager[2].offset
After Change
s.axes_manager[0].offset = 1
s.axes_manager[1].offset = 2
s.axes_manager[2].offset = 3
s2 = s.rebin(scale = (2, 2, 1))
assert s2.axes_manager[0].offset == 1.5
assert s2.axes_manager[1].offset == 2.5
assert s2.axes_manager[2].offset == s.axes_manager[2].offset
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: hyperspy/hyperspy
Commit Name: d4b9c45cccfe8d605c00cc69b0ad521976b34080
Time: 2018-07-26
Author: k8macarthur@gmail.com
File Name: hyperspy/tests/signal/test_eds_tem.py
Class Name: Test_metadata
Method Name: test_offset_after_rebin
Project Name: hyperspy/hyperspy
Commit Name: d4b9c45cccfe8d605c00cc69b0ad521976b34080
Time: 2018-07-26
Author: k8macarthur@gmail.com
File Name: hyperspy/tests/signal/test_eels.py
Class Name: TestRebin
Method Name: test_offset_after_rebin
Project Name: hyperspy/hyperspy
Commit Name: d4b9c45cccfe8d605c00cc69b0ad521976b34080
Time: 2018-07-26
Author: k8macarthur@gmail.com
File Name: hyperspy/tests/signal/test_eels.py
Class Name: TestRebin
Method Name: test_rebin_dwell_time