Navigation: Scripting Reference Manual > Functions & Subroutines > GetMieScatterCoefficients

 

GetMieScatterCoefficients

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns data arrays of the real and imaginary parts of the S1 and S2 polarization coefficients for a calculation of the Mie intensity and phase. This calculation is independent of the scatter BSDF calculation.

 

Syntax

GetMieScatterCoefficients wavel, diam, sinang, nreal, nimag, nimmerse, count, realS1, ImagS1, realS2, imagS2

 

Parameters

wavel As Double

Incident wavelength given in micrometers.

 

diam As Double

Particle diameter given in micrometers. Any particle density function is ignored.

 

sinang As Double

Sine of the incident angle.

 

nreal As Double

Real part of the particle refractive index.

 

nimag As Double

Imaginary part of the particle refractive index.

 

nimmerse As Double

Real part of refractive index for material in which the particle is immersed.

 

count As Long

Number of sample points between 0 and 90 degrees.

 

realS1() As Double

Real part of the S1 polarization coefficients.

 

imagS1() As Double

Imaginary part of the S1 polarization coefficients.

 

realS2() As Double

Real part of the S2 polarization coefficients.

 

imagS2() As Double

Imaginary part of the S2 polarization coefficients.

 

Remarks

Returns data arrays of the real and imaginary parts of the S1 and S2 polarization coefficients for a calculation of the Mie intensity and phase. This calculation is independent of the scatter BSDF calculation.

 

User inputs are wavelength, sine of the incident angle, particle size, refractive indices, and number of sample points from 0 to 90 degrees.

 

Wavelength and particle size have the same units, usually microns.

 

The returned arrays each contain 2N-1 elements, where N is the number of sample points (count), and cover the angle range from 0 to 180 degrees.

 

GetMieScatterCoefficients does not accept a particle density function.

 

See Also

AddMieScatter

AddMieScatterSample

GetMieScatter

GetMieScatSurfCoefficients

GetMieScatterSampleCount

GetMieScatterIthSample

GetMieScatterPhaseFunction

InitMieScatter

MieScatterIntensity

SetMieScatter

SetMieScatSurfCoefficients

SetMieScatterIthSample

T_MIESCATTER

 

 

 

 

 

Copyright © Photon Engineering, LLC