SpectralBRDF
#
- class ansys.speos.core.bsdf.SpectralBRDF(speos, file_path=None)#
Bases:
BaseBSDF
BSDF - Bidirectional scattering distribution function.
This class contains the methods and functions to load and edit existing Speos bsdf datasets.
- Parameters:
- speos
ansys.speos.core.speos.Speos
Speos Object to connect to speos rpc server
- file_path
Union
[Path
,str
] File path to bsdf file
- speos
- Parameters:
speos (ansys.speos.core.speos.Speos)
file_path (Union[pathlib.Path, str])
Overview#
Retrieve any information from the BSDF object. |
|
Reset BSDF data to what was stored in file. |
|
Verify BSDF data is correctly defined. |
|
Sent Data to gRPC interface. |
|
Save a Speos anistropic bsdf. |
List of all Wavelength in BRDF. |
Create string representation of a BSDF. |
Import detail#
from ansys.speos.core.bsdf import SpectralBRDF
Property detail#
- property SpectralBRDF.wavelength#
List of all Wavelength in BRDF.
Method detail#
- SpectralBRDF.get(key='')#
Retrieve any information from the BSDF object.
- SpectralBRDF.__str__()#
Create string representation of a BSDF.
- SpectralBRDF.reset()#
Reset BSDF data to what was stored in file.
- SpectralBRDF.sanity_check(silent=True)#
Verify BSDF data is correctly defined.
- SpectralBRDF.commit()#
Sent Data to gRPC interface.