pysdic.core.property_container.PropertyContainer.force_2d#
- property PropertyContainer.force_2d: bool#
[Get/Set] Whether all the properties are stored as 2D arrays of shape \((N, P)\).
Enabling
force_2dreshapes the existing 1D properties to \((N, 1)\). If an existing property has more than two dimensions, aValueErroris raised and the container is left unchanged: useflatten()on that property first.