AngularRange#

class ansys.speos.core.sensor.BaseSensor.AngularRange(angular_range, default_parameters=None, stable_ctr=False)#

Angular range for Observer sensor locations on a sphere.

By default, horizontal angles range from -45.0 to 45.0 with a sampling of 5, and vertical angles range from -30.0 to 30.0 with a sampling of 3.

Parameters:
angular_rangeansys.api.speos.sensor.v1.common_pb2.AngularRange

AngularRange protobuf object to modify.

default_parametersansys.speos.core.generic.parameters.AngularRangeParameters, optional

If defined, the values in the sensor instance are overwritten by the values of the dataclass.

stable_ctrbool

Variable to indicate if usage is inside class scope.

Parameters:

Notes

Do not instantiate this class yourself, use set_angular_range method available in sensor classes.

Overview#

x_start

Minimum value on x axis in degrees.

x_end

Maximum value on x axis in degrees.

x_sampling

Sampling value on x axis.

y_start

Minimum value on y axis in degrees.

y_end

Maximum value on y axis in degrees.

y_sampling

Sampling value on y axis.

Import detail#

from ansys.speos.core.sensor.BaseSensor import AngularRange

Property detail#

property AngularRange.x_start: float#

Minimum value on x axis in degrees.

property AngularRange.x_end: float#

Maximum value on x axis in degrees.

property AngularRange.x_sampling: int#

Sampling value on x axis.

property AngularRange.y_start: float#

Minimum value on y axis in degrees.

property AngularRange.y_end: float#

Maximum value on y axis in degrees.

property AngularRange.y_sampling: int#

Sampling value on y axis.