Density.copy#
- Density.copy()[source]#
Create a copy of the class instance.
- Returns:
Density
A copy of the class instance.
Examples
>>> from tme import Density >>> original_density = Density.from_file("/path/to/file.mrc") >>> copied_density = original_density.copy >>> np.all(copied_density.data == original_density.data) True