hyperspy.tests.signal.test_complex_signal module

class hyperspy.tests.signal.test_complex_signal.TestComplexProperties

Bases: object

amplitude_ref = array([[ 9. , 10.04987562, 11.18033989], [12.36931688, 13.60147051, 14.86606875], [16.15549442, 17.4642492 , 18.78829423]])
comp_ref = array([[0. +9.j, 1.+10.j, 2.+11.j], [3.+12.j, 4.+13.j, 5.+14.j], [6.+15.j, 7.+16.j, 8.+17.j]])
imag_ref = array([[ 9, 10, 11], [12, 13, 14], [15, 16, 17]])
lazify(**kwargs)
phase_ref = array([[1.57079633, 1.47112767, 1.39094283], [1.32581766, 1.2722974 , 1.22777239], [1.19028995, 1.15838589, 1.13095374]])
real_ref = array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])
setup_method(method)
test_angle()
test_get_amplitude()
test_get_imag()
test_get_phase()
test_get_real()
test_lazy_angle()
test_lazy_get_amplitude()
test_lazy_get_imag()
test_lazy_get_phase()
test_lazy_get_real()
test_lazy_set_amplitude()
test_lazy_set_imag()
test_lazy_set_phase()
test_lazy_set_real()
test_set_amplitude()
test_set_imag()
test_set_phase()
test_set_real()
hyperspy.tests.signal.test_complex_signal.test_get_unwrapped_phase_1D(parallel, lazy)
hyperspy.tests.signal.test_complex_signal.test_get_unwrapped_phase_2D(parallel, lazy)
hyperspy.tests.signal.test_complex_signal.test_get_unwrapped_phase_3D(parallel, lazy)