MCPcopy Create free account
hub / github.com/pydata/xarray / imag

Method imag

xarray/core/dataset.py:8696–8704  ·  view source on GitHub ↗

The imaginary part of each data variable. See Also -------- numpy.ndarray.imag

(self)

Source from the content-addressed store, hash-verified

8694
8695 @property
8696 def imag(self) -> Self:
8697 """
8698 The imaginary part of each data variable.
8699
8700 See Also
8701 --------
8702 numpy.ndarray.imag
8703 """
8704 return self.map(lambda x: x.imag, keep_attrs=True)
8705
8706 plot = utils.UncachedAccessor(DatasetPlotAccessor)
8707

Callers

nothing calls this directly

Calls 1

mapMethod · 0.95

Tested by

no test coverage detected