Dimensions#
- class ansys.speos.core.sensor.BaseSensor.Dimensions(sensor_dimensions, default_parameters=None, stable_ctr=False)#
Dimensions of the sensor.
By default, for both x and y axis: from -50mm to 50mm is chosen, with a sampling of 100.
- Parameters:
- sensor_dimensions
ansys.api.speos.sensor.v1.common_pb2.SensorDimensions SensorDimensions protobuf object to modify.
- default_parameters
ansys.speos.core.generic.parameters.DimensionsParameters,optional If defined the values in the sensor instance will be overwritten by the values of the data class
- stable_ctrbool
Variable to indicate if usage is inside class scope
- sensor_dimensions
- Parameters:
sensor_dimensions (ansys.api.speos.sensor.v1.common_pb2.SensorDimensions)
default_parameters (Union[None, ansys.speos.core.generic.parameters.DimensionsParameters])
stable_ctr (bool)
Notes
Do not instantiate this class yourself, use set_dimensions method available in sensor classes.
Overview#
Minimum value on x axis. |
|
Maximum value on x axis. |
|
Value of the sampling on x axis. |
|
Minimum value on y axis. |
|
Maximum value on y axis. |
|
Value of the sampling on y axis. |
Import detail#
from ansys.speos.core.sensor.BaseSensor import Dimensions