SensorRadiance#
- class ansys.speos.core.sensor.SensorRadiance(project, name, description='', metadata=None, sensor_instance=None, default_parameters=None)#
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_parameters
ansys.speos.core.generic.parameters.RadianceSensorParameters,optional If defined the values in the sensor instance will be overwritten by the values of the data class
- project
- Parameters:
project (SensorRadiance.__init__.project)
name (str)
description (str)
sensor_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SensorInstance])
default_parameters (Union[None, ansys.speos.core.generic.parameters.RadianceSensorParameters])
Overview#
Set the dimensions of the sensor. |
|
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 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. |
|
Focal value of the Radiance Sensor. |
|
Integration angle. |
|
Position of the sensor. |
|
The position of the observer point. |
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
- property SensorRadiance.observer_point: SensorRadiance#
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.
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_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