Density.data#

property Density.data#

Returns the value of Density.data.

Returns:
NDArray

Value of the instance’s Density.data attribute.

Examples

The following outlines the usage of Density.data:

>>> import numpy as np
>>> from tme import Density
>>> dens = Density(np.array([0, 1, 1, 1, 0]))
>>> dens.data
array([0, 1, 1, 1, 0])