Laser

public class Laser

A source of light for illuminating the sample.

Methods

getPower

public double getPower()

Returns the current power.

Returns:current laser power

setPower

public void setPower(double newPower)

Sets the light source’s power. If the value is not within the limits, set it to the the closest allowed value.

Parameters:
  • newPower – The power of the light source.