BaseBSDF#
- class ansys.speos.core.bsdf.BaseBSDF(speos, stub, namespace)#
Super class for all BSDF datamodels.
- Parameters:
- speos
ansys.speos.core.speos.Speos - stub
grpc stub to connect to BSDF service
- namespace
grpc namespace for the bsdf
- speos
- Parameters:
speos (ansys.speos.core.speos.Speos)
Notes
This is a Super class, Do not instantiate this class yourself
Overview#
Apply automatic interpolation enhancement. |
Contains the BSDF Transmission data. |
|
Contains the BSDF Reflection data. |
|
List of BRDFDatapoints. |
|
List of BTDFDatapoints. |
|
Number of incidence angle for reflection and transmission. |
|
List of incident angles for reflection and transmission. |
|
Interpolation enhancement settings of the bsdf file. |
Import detail#
from ansys.speos.core.bsdf import BaseBSDF
Property detail#
- property BaseBSDF.brdf: collections.abc.Collection[BxdfDatapoint]#
List of BRDFDatapoints.
- Parameters:
- value
List[ansys.speos.core.bsdf.BxdfDatapoint] BxdfDatapoint data to be written.
- value
- Returns:
Collection[ansys.speos.core.bsdf.BxdfDatapoint]BxdfDatapoint data to be filled or modified.
- property BaseBSDF.btdf: collections.abc.Collection[BxdfDatapoint]#
List of BTDFDatapoints.
- Parameters:
- value
List[ansys.speos.core.bsdf.BxdfDatapoint] BxdfDatapoint data to be written.
- value
- Returns:
Collection[ansys.speos.core.bsdf.BxdfDatapoint]BxdfDatapoint data to be filled or modified.
- property BaseBSDF.nb_incidents: List[int]#
Number of incidence angle for reflection and transmission.
- Returns:
List[int]first value of the list is nb of reflective data, second value is nb of transmittive data
- property BaseBSDF.incident_angles: List[List[float] | None, List[float] | None]#
List of incident angles for reflection and transmission.
- property BaseBSDF.interpolation_settings: None | InterpolationEnhancement#
Interpolation enhancement settings of the bsdf file.
If bsdf file does not have interpolation enhancement settings, return None. if bsdf file has interpolation enhancement settings, return InterpolationEnhancement.
- Returns:
Union[None,ansys.speos.core.bsdf.InterpolationEnhancement]Interpolation enhancement settings to be filled.
Attribute detail#
- BaseBSDF.client#
- BaseBSDF.anisotropy_vector = [1, 0, 0]#
- BaseBSDF.description = ''#
Method detail#
- BaseBSDF.create_interpolation_enhancement(index_1=1.0, index_2=1.0)#
Apply automatic interpolation enhancement.
Return interpolation settings to user if settings need change.
- Parameters:
- Returns:
ansys.speos.core.bsdf.InterpolationEnhancementautomatic interpolation settings with index_1 = 1 and index_2 = 1 by default.