VolumeScatteringDoubleHenyeyGreenstein#
- class ansys.speos.core.input_files.material.VolumeScatteringDoubleHenyeyGreenstein(wavelengths=(), anisotropies_1=_DEFAULT_ANISOTROPIES, anisotropies_2=_DEFAULT_ANISOTROPIES, ratios=_DEFAULT_RATIOS)#
Bases:
ansys.speos.core.input_files._base._ValueComparableDouble Henyey-Greenstein scattering phase function.
- Parameters:
- wavelengths
Sequence[float],optional Wavelengths the factors are given at, in nm. A single wavelength means that the phase function does not depend on the wavelength. By default,
[].- anisotropies_1
Sequence[float],optional First anisotropy factor at each wavelength, between -1 and 1. By default,
[0.9].- anisotropies_2
Sequence[float],optional Second anisotropy factor at each wavelength, between -1 and 1. By default,
[0.9].- ratios
Sequence[float],optional Weight between the first and the second anisotropy factor, at each wavelength. Values must be between 0 and 1. By default,
[0.5].
- wavelengths
- Parameters:
Overview#
Check the phase function. |
Spectral wavelengths in nm, returned as a copy. |
|
First anisotropy column, returned as a copy. |
|
Second anisotropy column, returned as a copy. |
|
Mixture weights, returned as a copy. |
Identifier of the model in a |
|
Header of the scattering block holding the model. |
Import detail#
from ansys.speos.core.input_files.material import VolumeScatteringDoubleHenyeyGreenstein
Property detail#
- property VolumeScatteringDoubleHenyeyGreenstein.wavelengths: List[float]#
Spectral wavelengths in nm, returned as a copy.
- property VolumeScatteringDoubleHenyeyGreenstein.anisotropies_1: List[float]#
First anisotropy column, returned as a copy.
- property VolumeScatteringDoubleHenyeyGreenstein.anisotropies_2: List[float]#
Second anisotropy column, returned as a copy.
Attribute detail#
Method detail#
- VolumeScatteringDoubleHenyeyGreenstein.validate()#
Check the phase function.
- Raises:
ValueErrorIf no factor is given, the lists do not match, an anisotropy is outside -1 to 1, or a mixture weight is outside 0 to 1.