deepcopy#
- ECPMasterPattern.deepcopy() ECPMasterPattern [source]#
Return a deep copy using
copy.deepcopy()
.- Returns:
s_new
Identical signal without shared memory.
Examples
>>> import numpy as np >>> import kikuchipy as kp >>> mp = kp.data.nickel_ebsd_master_pattern_small() >>> mp2 = mp.deepcopy() >>> np.may_share_memory(mp.data, mp2.data) False