Photometric#
- class ansys.speos.core.sensor.SensorCamera.Photometric(mode_photometric, camera_props, default_parameters=None, stable_ctr=False)#
Mode of camera sensor : Photometric.
This allows to set every Camera Sensor parameters, including the photometric definition parameters. By default, a camera with mode color is chosen (vs monochromatic mode).
- Parameters:
- mode_photometric
ansys.api.speos.sensor.v1.camera_sensor_pb2.SensorCameraModePhotometric SensorCameraModePhotometric protobuf object to modify.
- default_parameters
ansys.speos.core.generic.parameters.PhotometricCameraParameters 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
- mode_photometric
- Parameters:
mode_photometric (ansys.api.speos.sensor.v1.camera_sensor_pb2.SensorCameraModePhotometric)
camera_props (ansys.speos.core.kernel.scene.ProtoScene.SensorInstance.CameraProperties)
default_parameters (Union[None, ansys.speos.core.generic.parameters.PhotometricCameraParameters])
stable_ctr (bool)
Notes
Do not instantiate this class yourself, use set_type_photometric method available in sensor classes.
Overview#
Choose 08-bits for png. |
|
Choose 10-bits for png. |
|
Choose 12-bits for png. |
|
Choose 16-bits for png. |
|
Set the range of wavelengths. |
|
Set the monochromatic mode. |
|
Set the color mode. |
|
Set no layer separation: includes the simulation’s results in one layer. |
|
Set layer separation by source: includes one layer per active source in the result. |
Value of the acquisition integration. |
|
Value of the acquisition lag time. |
|
Location of the transmittance file. |
|
Value used to apply the gamma correction. |
|
Location of the trajectory file. |
Import detail#
from ansys.speos.core.sensor.SensorCamera import Photometric
Property detail#
Method detail#
- Photometric.set_png_bits_08()#
Choose 08-bits for png.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_png_bits_10()#
Choose 10-bits for png.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_png_bits_12()#
Choose 12-bits for png.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_png_bits_16()#
Choose 16-bits for png.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_wavelengths_range()#
Set the range of wavelengths.
- Returns:
ansys.speos.core.sensor.BaseSensor.WavelengthsRangeWavelengths range.
- Photometric.set_mode_monochromatic(spectrum_file_uri)#
Set the monochromatic mode.
Results will be available in grey scale.
- Parameters:
- spectrum_file_uri
Union[str,Path] Spectrum file uri.
- spectrum_file_uri
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_mode_color()#
Set the color mode.
Results will be available in color.
- Returns:
- Photometric.set_layer_type_none()#
Set no layer separation: includes the simulation’s results in one layer.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
- Photometric.set_layer_type_source()#
Set layer separation by source: includes one layer per active source in the result.
- Returns:
ansys.speos.core.sensor.SensorCamera.PhotometricPhotometric mode.
Classes#
Mode of camera sensor : Color. |