7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14,hyperspy/tests/signal/test_tools.py,Test2D,test_unfold_image,#Test2D#,115

Before Change



    def test_unfold_image(self):
        s = self.signal
        s.axes_manager.set_signal_dimension(2)
        s.unfold()
        nt.assert_equal(s.data.shape, (50,))

    def test_unfold_image_returns_true(self):

After Change



    def test_unfold_image(self):
        s = self.signal
        s = s.transpose(signal_axes=2)
        s.unfold()
        nt.assert_equal(s.data.shape, (50,))

    def test_unfold_image_returns_true(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 25

Non-data size: 4

Instances


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test2D
Method Name: test_unfold_image


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_nav_dim0


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_wrong_data_shape_dim0


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_nav_dim2


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_wrong_data_shape_dim0


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_signal_operators.py
Class Name: TestBinaryOperators
Method Name: test_broadcast_missing_sig_and_nav


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_wrong_data_shape


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/_signals/eels.py
Class Name: EELSSpectrum
Method Name: estimate_elastic_scattering_intensity


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_nav_dim3


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_signal_operators.py
Class Name: TestBinaryOperators
Method Name: test_broadcast_in_place


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_kramers_kronig_transform.py
Class Name: Test2D
Method Name: setUp


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_signal_operators.py
Class Name: TestBinaryOperators
Method Name: test_broadcast_missing_sig


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_given_data


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test2D
Method Name: test_unfold_image_returns_true


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_nav_dim3


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_nav_dim2


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_given_data


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_folding.py
Class Name: TestSignalVarianceFolding
Method Name: setUp


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_signal_operators.py
Class Name: TestBinaryOperators
Method Name: test_broadcast_in_place_missing_sig_wrong


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_nav_dim1


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_wrong_data_shape


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_navigation_signal_nav_dim0


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_tools.py
Class Name: Test3D
Method Name: test_get_signal_signal_nav_dim1


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/_signals/eels.py
Class Name: EELSSpectrum
Method Name: estimate_elastic_scattering_threshold


Project Name: hyperspy/hyperspy
Commit Name: 7aed14c84a6c51c7b4e78e9a084a7b057bc2fc14
Time: 2016-08-01
Author: to266@cam.ac.uk
File Name: hyperspy/tests/signal/test_folding.py
Class Name: TestSignalFolding
Method Name: setUp