pysdic.Image.copy#

Image.copy()[source]#

Create a copy of the pysdic.Image object.

Since an image is immutable, the copy shares the data and the interpolation function with the original (no data is copied): a constructed image gives a constructed copy. Constructing or deconstructing the interpolation function of one of them does not affect the other.

Returns:

A new pysdic.Image object with the same data and settings.

Return type:

pysdic.Image