Sensor3DEnergyDensity#
- class ansys.speos.core.sensor.Sensor3DEnergyDensity(project, name, description='', metadata=None, sensor_instance=None, default_parameters=None)#
Bases:
BaseSensorSensor feature: volumetric 3D energy density.
- Parameters:
- project
ansys.speos.core.project.Project Project that owns the feature.
- name
str Name of the feature.
- description
str,optional Description of the feature.
- metadata
Mapping[str,str],optional User metadata.
- sensor_instance
ProtoScene.SensorInstance,optional Existing instance to load instead of creating a new sensor.
- default_parameters
EnergyDensity3DSensorParameters,optional Parameters to apply. When loading,
Nonepreserves existing values.
- project
- Parameters:
project (Sensor3DEnergyDensity.__init__.project)
name (str)
description (str)
sensor_instance (Optional[ansys.speos.core.kernel.scene.ProtoScene.SensorInstance])
default_parameters (Optional[ansys.speos.core.generic.parameters.EnergyDensity3DSensorParameters])
Notes
Requires Speos 2027 R1 SP0 and sensor template v2. The default photometric volume is a 50 mm cube centered on its axis-system origin, sampled with 100 voxels along each edge, with no layer separation. Result-file readers and VTP export are not provided for this sensor. Light Expert (LXP) is not supported.
Overview#
Configure volume dimensions. |
|
Select photometric mode. |
|
Select radiometric mode. |
|
Disable layer separation. |
|
Separate results by source. |
|
Separate results by face. |
Volume dimensions. |
|
Light Expert setting, unsupported for energy density sensors. |
|
Sensor mode. |
|
Position and orientation as twelve axis-system values. |
|
Layer separation configuration. |
|
Oriented volume preview, independent of voxel sampling. |
Import detail#
from ansys.speos.core.sensor import Sensor3DEnergyDensity
Property detail#
- property Sensor3DEnergyDensity.dimensions: Sensor3DEnergyDensity#
Volume dimensions.
- Returns:
Sensor3DEnergyDensity.Dimensions3DSizes and voxel counts.
- property Sensor3DEnergyDensity.lxp_path_number: None#
Light Expert setting, unsupported for energy density sensors.
- Returns:
NoneLight Expert is disabled.
- property Sensor3DEnergyDensity.axis_system: list[float]#
Position and orientation as twelve axis-system values.
Notes
Provide an orthonormal, right-handed coordinate frame.
- property Sensor3DEnergyDensity.layer: ansys.speos.core.generic.parameters.LayerTypes | BaseSensor | None#
Layer separation configuration.
- Returns:
LayerTypesorBaseSensor.LayerTypeFaceorNoneActive layer configuration, or
Noneif absent in a loaded instance.
- property Sensor3DEnergyDensity.visual_data: ansys.speos.core.generic.visualization_methods._VisualData#
Oriented volume preview, independent of voxel sampling.
- Returns:
ansys.speos.core.generic.visualization_methods._VisualDataBox surface and coordinate axes.
Notes
Uses local dimensions and positioning so uncommitted edits are visible.
Method detail#
- Sensor3DEnergyDensity.set_dimensions()#
Configure volume dimensions.
- Returns:
Sensor3DEnergyDensity.Dimensions3DSizes and voxel counts.
- Sensor3DEnergyDensity.set_type_photometric()#
Select photometric mode.
- Returns:
Sensor3DEnergyDensityThis sensor.
- Sensor3DEnergyDensity.set_type_radiometric()#
Select radiometric mode.
- Returns:
Sensor3DEnergyDensityThis sensor.
- Sensor3DEnergyDensity.set_layer_type_none()#
Disable layer separation.
- Returns:
Sensor3DEnergyDensityThis sensor.
- Sensor3DEnergyDensity.set_layer_type_source()#
Separate results by source.
- Returns:
Sensor3DEnergyDensityThis sensor.
- Sensor3DEnergyDensity.set_layer_type_face()#
Separate results by face.
- Returns:
BaseSensor.LayerTypeFaceFace groups and filtering configuration.
Classes#
Dimensions and voxel counts of an energy density volume. |