UniformRefractiveIndex

public class UniformRefractiveIndex implements RefractiveIndex

A sample with uniform and isotropic refractive index throughout all of space.

Author:Kyle M. Douglass

Constructors

UniformRefractiveIndex

public UniformRefractiveIndex(Complex refractiveIndex)

Constructs a new UniformRefractiveIndex instance. The index of refraction is the same and isotropic everywhere in space.

Parameters:
  • refractiveIndex – The complex index of refraction.

Methods

getN

public Complex getN(double x, double y, double z)

Returns the (complex) refractive index at the position (x, y, z). z = 0 corresponds to the plane of the coverslip.

Parameters:
  • x – The x-position within the sample.
  • y – The y-position within the sample.
  • z – The z-position within the sample.
Returns:

The complex refractive index at the position (x, y, z).