BxdfDatapoint#

class ansys.speos.core.bsdf.BxdfDatapoint(is_brdf, incident_angle, theta_values, phi_values, bxdf, tis=1, anisotropy=0, wavelength=555)#

Class to store a BxDF data point.

Parameters:
is_brdfbool

true for transmittive date, False for reflective

incident_anglefloat

incident angle in radian

theta_valuesCollection[float]

list of theta values for the bxdf data matrix, in radian

phi_valuesCollection[float]

list of phi values for the bxdf data matrix, in radian

bxdfCollection[float]

nested list of bxdf values in 1/sr

anisotropyfloat

Anisotropy angle in radian

wavelengthfloat

Wavelength in nm

Parameters:

Overview#

get

Retrieve any information from the BxdfDatapoint object.

set_incident_angle

Allow to set an incident value in degree.

is_brdf

Type of bxdf data point eitehr reflective or transmittive.

incident_angle

Incident angle of the Datapoint in radian.

anisotropy

Anisotropy angels of Datapoint.

theta_values

List of theta values for which values are stored in bxdf data.

phi_values

List of phi values for which values are stored in bxdf data.

bxdf

BxDF data as np matrix in 1/sr.

__str__

Create string representation of a RayPath.

Import detail#

from ansys.speos.core.bsdf import BxdfDatapoint

Property detail#

property BxdfDatapoint.is_brdf#

Type of bxdf data point eitehr reflective or transmittive.

Returns:
bool:

true if reflective false if transmittive

property BxdfDatapoint.incident_angle#

Incident angle of the Datapoint in radian.

Returns:
float:

Incidence angle in radian

property BxdfDatapoint.anisotropy#

Anisotropy angels of Datapoint.

property BxdfDatapoint.theta_values#

List of theta values for which values are stored in bxdf data.

property BxdfDatapoint.phi_values#

List of phi values for which values are stored in bxdf data.

property BxdfDatapoint.bxdf: numpy.array#

BxDF data as np matrix in 1/sr.

Returns:
np.array:

bxdf data in shape theta_values, phi_values

Attribute detail#

BxdfDatapoint.tis = 1#
BxdfDatapoint.wavelength = 555#

Method detail#

BxdfDatapoint.get(key='')#

Retrieve any information from the BxdfDatapoint object.

Parameters:
keystr

Name of the property.

Returns:
property

Values/content of the associated property.

BxdfDatapoint.__str__()#

Create string representation of a RayPath.

BxdfDatapoint.set_incident_angle(value, is_deg=True)#

Allow to set an incident value in degree.

Parameters:
valuefloat

value to be set

is_degbool

Allows to define if value is radian or degree