create_lookup_table_1d#

Model.create_lookup_table_1d(*, name='LookUpTable1D', origin=(0.0, 0.0, 0.0), direction=(0.0, 0.0, 0.0))#

Instantiate a 1D Look-Up Table.

The one-dimensional look-up table is defined along an axis. The locations of the data points along the axis are defined by the Location column, which:

  • contains scalar data. When the column contains N data points (rows), it has shape (N, ).

  • is automatically created when the look-up table is instantiated

  • cannot be deleted or renamed

When the length of the Location column is changed, the data of the other columns is automatically either truncated, or extended with NaN values to fit.

Parameters:
  • origin (tuple[float, float, float]) – Origin of the axis w.r.t. which the look-up table locations are defined.

  • direction (tuple[float, float, float]) – Direction of the axis w.r.t. which the look-up table locations are defined.

Return type:

LookUpTable1D

Added in ACP server version 24.2.

Examples using Model.create_lookup_table_1d#

Advanced selection rules example

Advanced selection rules example