SensorRadiance#
- class ansys.speos.core.sensor.SensorRadiance(project, name, description='', metadata=None, sensor_instance=None, default_values=True)#
Bases:
BaseSensorSensor feature: Radiance.
By default, regarding inherent characteristics, a radiance sensor of type photometric is chosen. By default, regarding properties, an axis system is selected to position the sensor and no layer separation is chosen.
- 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_valuesbool
Uses default values when True. By default,
True.
- project
- Parameters:
Overview#
Set the dimensions of the sensor. |
|
Set type photometric. |
|
Set type colorimetric. |
|
Set type radiometric. |
|
Set type spectral. |
|
Set the focal value. |
|
Set the integration angle. |
|
Set position of the sensor. |
|
Set the position of the observer point. |
|
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 radiance sensor visualization data. |
|
Property containing all options in regard to the Dimensions sensor properties. |
|
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 property. |
Import detail#
from ansys.speos.core.sensor import SensorRadiance
Property detail#
- property SensorRadiance.visual_data: ansys.speos.core.generic.visualization_methods._VisualData#
Property containing radiance sensor visualization data.
- Returns:
_VisualDataInstance of VisualData Class for pyvista.PolyData of feature faces, coordinate_systems.
- property SensorRadiance.dimensions: BaseSensor#
Property containing all options in regard to the Dimensions sensor properties.
- Returns:
ansys.speos.core.sensor.BaseSensor.DimensionsInstance of Dimensions Class for this sensor feature
- property SensorRadiance.colorimetric: None | BaseSensor#
Property containing all options in regard to the Colorimetric sensor properties.
- Returns:
ansys.speos.core.sensor.BaseSensor.ColorimetricInstance of Colorimetric Class for this sensor feature
- property SensorRadiance.spectral: None | BaseSensor#
Property containing all options in regard to the Spectral sensor properties.
- Returns:
ansys.speos.core.sensor.BaseSensor.SpectralInstance of Spectral Class for this sensor feature
- property SensorRadiance.layer: None | BaseSensor | BaseSensor#
Property containing all options in regard to the layer separation property.
- Returns:
Union[None,ansys.speos.core.sensor.BaseSensor.LayerTypeFace,ansys.speos.core.sensor.BaseSensor.LayerTypeSequence]Instance of Layer type Class for this sensor feature
Method detail#
- SensorRadiance.set_dimensions()#
Set the dimensions of the sensor.
- Returns:
ansys.speos.core.sensor.BaseSensor.DimensionsDimension class
- SensorRadiance.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.SensorRadianceRadiance sensor.
- SensorRadiance.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.
- SensorRadiance.set_type_radiometric()#
Set type radiometric.
The sensor considers the entire spectrum and gets the results in W/m2.
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor.
- SensorRadiance.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.
- SensorRadiance.set_focal(value=250)#
Set the focal value.
- Parameters:
- value
float Focal (mm). By default,
250.
- value
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor.
- SensorRadiance.set_integration_angle(value=5)#
Set the integration angle.
- Parameters:
- value
float integration angle (degree) By default,
5.
- value
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor.
- SensorRadiance.set_axis_system(axis_system=None)#
Set position of the sensor.
- Parameters:
- axis_system
Optional[List[float]] Position of the sensor [Ox Oy Oz Xx Xy Xz Yx Yy Yz Zx Zy Zz]. By default,
[0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1].
- axis_system
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor.
- SensorRadiance.set_observer_point(value=None)#
Set the position of the observer point.
This is optional, because the focal length is used by default. Choosing to set an observer point will make the focal length ignored.
- Parameters:
- value
List[float],optional Position of the observer point [Ox Oy Oz]. By default,
None. None means that the focal length is used.
- value
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor.
- SensorRadiance.set_layer_type_none()#
Define layer separation type as None.
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor
- SensorRadiance.set_layer_type_source()#
Define layer separation as by source.
- Returns:
ansys.speos.core.sensor.SensorRadianceRadiance sensor
- SensorRadiance.set_layer_type_face()#
Define layer separation as by face.
- Returns:
ansys.speos.core.sensor.BaseSensor.LayerTypeFaceLayerTypeFace property instance
- SensorRadiance.set_layer_type_sequence()#
Define layer separation as by sequence.
- Returns:
ansys.speos.core.sensor.BaseSensor.LayerTypeSequenceLayerTypeSequence property instance