fresnel - Pure python Fresnel reflectivity calculator

Fresnel

Function for computing the Fresnel reflectivity for a single interface.

test

Pure python Fresnel reflectivity calculator.

class refl1d.fresnel.Fresnel(rho=0, irho=0, sigma=0, Vrho=0, Virho=0)[source]

Bases: object

Function for computing the Fresnel reflectivity for a single interface.

Parameters:
rho, irho = 0float | 1e6 * inv Angstrom^2

real and imaginary scattering length density of backing medium

Vrho, Virho = 0float | 1e6 * inv Angstrom^2

real and imaginary scattering length density of incident medium

sigma = 0float | Angstrom

interfacial roughness

Returns:
fresnelFresnel

callable object for computing Fresnel reflectivity at Q

Note that we do not correct for attenuation of the beam through the incident medium since we do not know the path length.

reflectivity(Q)[source]

Compute the Fresnel reflectivity at the given Q/wavelength.

refl1d.fresnel.test()[source]