AnisotropicBSDF#
- class ansys.speos.core.bsdf.AnisotropicBSDF(speos, file_path=None)#
Bases:
BaseBSDFBSDF - 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[pathlib.Path,str] File path to bsdf file
- speos
- Parameters:
speos (ansys.speos.core.speos.Speos)
file_path (Union[pathlib.Path, str])
Overview#
Anisotropic angles available in bsdf data. |
|
Incident angle (theta) of spectrum measurement. |
|
Incident angle (phi) of spectrum measurement. |
|
Reflection Spectrum of the bsdf. |
|
Transmission Spectrum of the bsdf. |
Create string representation of a BSDF. |
Import detail#
from ansys.speos.core.bsdf import AnisotropicBSDF
Property detail#
- property AnisotropicBSDF.anisotropic_angles: List[List[float]]#
Anisotropic angles available in bsdf data.
- Returns:
List[List[float]]List of anisotropic angles.
- property AnisotropicBSDF.spectrum_incidence: List[float] | float#
Incident angle (theta) of spectrum measurement.
- property AnisotropicBSDF.spectrum_anisotropy: List[float] | float#
Incident angle (phi) of spectrum measurement.
- property AnisotropicBSDF.reflection_spectrum#
Reflection Spectrum of the bsdf.
Method detail#
- AnisotropicBSDF.get(key='')#
Retrieve any information from the BSDF object.
- AnisotropicBSDF.__str__()#
Create string representation of a BSDF.
- AnisotropicBSDF.reset()#
Reset BSDF data to what was stored in file.
- AnisotropicBSDF.commit()#
Sent Data to gRPC interface.
- AnisotropicBSDF.save(file_path, commit=True)#
Save a Speos anistropic bsdf.
- Parameters:
- file_path
Union[pathlib.Path,str] Filepath to save bsdf
- commitbool
commit data before saving
- file_path
- Returns:
pathlib.PathFile location