SensorXMPIntensity#
- class ansys.speos.core.sensor.SensorXMPIntensity(project, name, description='', metadata=None, sensor_instance=None, default_parameters=None)#
Bases:
BaseSensorClass for XMP intensity sensor.
- Parameters:
- project
ansys.speos.core.project.Project Project that will own the feature.
- name
str Name of the feature.
- description
str Description of the feature. By default,
"".- metadata
Optional[Mapping[str,str]] Metadata of the feature. By default,
{}.- sensor_instance
ansys.api.speos.scene.v2.scene_pb2.Scene.SensorInstance,optional Sensor instance to provide if the feature does not has to be created from scratch By default,
None, means that the feature is created from scratch by default.- default_parameters
ansys.speos.core.generic.parameters.IntensityXMPSensorParameters,optional If defined the values in the sensor instance will be overwritten by the values of the data class
- project
- Parameters:
project (SensorXMPIntensity.__init__.project)
name (str)
description (str)
sensor_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SensorInstance])
default_parameters (Optional[ansys.speos.core.generic.parameters.IntensityXMPSensorParameters])
Overview#
Set Orientation type: X As Meridian, Y as Parallel. |
|
Set Orientation type: X as Parallel, Y as Meridian. |
|
Set Orientation type to conoscopic. |
|
Set viewing direction from source looking at sensor. |
|
Set viewing direction from sensor looking at source. |
|
Set type photometric. |
|
Set type colorimetric. |
|
Set type radiometric. |
|
Set type spectral. |
|
Define layer separation type as None. |
|
Define layer separation as by source. |
|
Define layer separation as by face. |
|
Define layer separation as by sequence. |
Property containing intensity sensor visualization data. |
|
Return True if the sensor is positioned in nearfield, otherwise False. |
|
Distance of the Detector to origin in mm. |
|
Cell diameter in mm. |
|
Type of sensor. |
|
Property containing all options in regard to the Colorimetric sensor properties. |
|
Property containing all options in regard to the Spectral sensor properties. |
|
Property containing all options in regard to the layer separation properties. |
|
The minimum value on x-axis (deg). |
|
The maximum value on x-axis (deg). |
|
Pixel sampling along x-Axis. |
|
The maximum value on y-axis (deg). |
|
The minimum value on y-axis (deg). |
|
Sampling along y-axis. |
|
Maximum theta angle on conoscopic type (in deg). |
|
Sampling on conoscopic type. |
|
Position of the sensor. |
Import detail#
from ansys.speos.core.sensor import SensorXMPIntensity
Property detail#
- property SensorXMPIntensity.visual_data: ansys.speos.core.generic.visualization_methods._VisualData#
Property containing intensity sensor visualization data.
- Returns:
ansys.speos.core.generic.visualization_methods._VisualDataInstance of VisualData Class for pyvista.PolyData of feature faces, coordinate_systems.
- property SensorXMPIntensity.near_field: bool#
Return True if the sensor is positioned in nearfield, otherwise False.
- property SensorXMPIntensity.cell_distance: float | None#
Distance of the Detector to origin in mm.
By default,
10
- property SensorXMPIntensity.colorimetric: None | BaseSensor#
Property containing all options in regard to the Colorimetric sensor properties.
- Returns:
Union[None,ansys.speos.core.sensor.BaseSensor.Colorimetric]Instance of Colorimetric Class for this sensor feature
- property SensorXMPIntensity.spectral: None | BaseSensor#
Property containing all options in regard to the Spectral sensor properties.
- Returns:
Union[None,ansys.speos.core.sensor.BaseSensor.Spectral]Instance of Spectral Class for this sensor feature
- property SensorXMPIntensity.layer: ansys.speos.core.generic.parameters.LayerTypes | BaseSensor | BaseSensor#
Property containing all options in regard to the layer separation properties.
- Returns:
Union[ansys.speos.core.generic.parameters.LayerTypes,ansys.speos.core.sensor.BaseSensor.LayerTypeFace,ansys.speos.core.sensor.BaseSensor.LayerTypeSequence]Instance of Layertype Class for this sensor feature
- property SensorXMPIntensity.theta_max: None | float#
Maximum theta angle on conoscopic type (in deg).
Method detail#
- SensorXMPIntensity.set_orientation_x_as_meridian()#
Set Orientation type: X As Meridian, Y as Parallel.
- SensorXMPIntensity.set_orientation_x_as_parallel()#
Set Orientation type: X as Parallel, Y as Meridian.
- SensorXMPIntensity.set_orientation_conoscopic()#
Set Orientation type to conoscopic.
- SensorXMPIntensity.set_viewing_direction_from_source()#
Set viewing direction from source looking at sensor.
- SensorXMPIntensity.set_viewing_direction_from_sensor()#
Set viewing direction from sensor looking at source.
- SensorXMPIntensity.set_type_photometric()#
Set type photometric.
The sensor considers the visible spectrum and gets the results in lm/m2 or lx.
- Returns:
ansys.speos.core.sensor.SensorXMPIntensityIntensity sensor
- SensorXMPIntensity.set_type_colorimetric()#
Set type colorimetric.
The sensor will generate color results without any spectral data or layer separation in lx or W//m2.
- Returns:
ansys.speos.core.sensor.BaseSensor.ColorimetricColorimetric type.
- SensorXMPIntensity.set_type_radiometric()#
Set type radiometric.
The sensor considers the entire spectrum and gets the results in W/m2.
- Returns:
ansys.speos.core.sensor.SensorXMPIntensityIntensity sensor.
- SensorXMPIntensity.set_type_spectral()#
Set type spectral.
The sensor will generate color results and spectral data separated by wavelength in lx or W/m2.
- Returns:
ansys.speos.core.sensor.BaseSensor.SpectralSpectral type.
- SensorXMPIntensity.set_layer_type_none()#
Define layer separation type as None.
- Returns:
ansys.speos.core.sensor.SensorXMPIntensityIntensity sensor
- SensorXMPIntensity.set_layer_type_source()#
Define layer separation as by source.
- Returns:
ansys.speos.core.sensor.SensorXMPIntensityIntensity sensor
- SensorXMPIntensity.set_layer_type_face()#
Define layer separation as by face.
- Returns:
ansys.speos.core.sensor.BaseSensor.LayerTypeFaceLayerTypeFace property instance
- SensorXMPIntensity.set_layer_type_sequence()#
Define layer separation as by sequence.
- Returns:
ansys.speos.core.sensor.BaseSensor.LayerTypeSequenceLayerTypeSequence property instance