SquareUniformIllumination

public class SquareUniformIllumination extends AbstractObservable implements Illumination

Implements a linearly polarized uniform illumination profile of square shape.

Author:Kyle M. Douglass

Methods

getElectricField

public ElectricField getElectricField()

Retrieves the complex electric field.

Returns:The complex electric field.

getIrradiance

public double getIrradiance(double x, double y, double z)

Returns the irradiance in the sample at the point (x, y, z).

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

getPower

public double getPower()

Returns the power carried by the illumination profile. This quantity is the irradiance integrated over the illuminated area and is controlled by the laser power.

Returns:The power carried by the illumination profile.

See also: .setPower(double)

setPower

public void setPower(double power)

Sets the power carried by the illumination.

Parameters:
  • power – The power carried by the illumination.

update

public void update(Object data)

This method is called by an illumination source when its state has changed.

Parameters:
  • data – The message that is passed from the illumination source.