pysdic.core.property_container.PropertyContainer.get#

PropertyContainer.get(key)[source]#

Get the values of a property.

Parameters:

key (str) – The name of the property.

Returns:

A read-only view of shape \((N, \dots)\) on the property values.

Return type:

numpy.ndarray

Raises:
  • TypeError – If the key is not a string.

  • KeyError – If the property does not exist.