.. java:import:: ch.epfl.leb.alica Laser .. java:import:: org.micromanager Studio VirtualLaser ============ .. java:package:: ch.epfl.leb.alica.lasers :noindex: .. java:type:: public class VirtualLaser implements Laser A virtual laser which does not actually output the values to the laser, only to the GUI and the debug MM log. :author: Marcel Stefko Constructors ------------ VirtualLaser ^^^^^^^^^^^^ .. java:constructor:: public VirtualLaser(Studio studio, String device_name, String property_name, double min_power, double max_power) :outertype: VirtualLaser Initialize the virtual laser :param studio: MMStudio :param device_name: MM identifier of the device :param property_name: MM identifier of the property to be controlled :param min_power: minimal allowed property value :param max_power: maximal allowed property value Methods ------- getDeviceName ^^^^^^^^^^^^^ .. java:method:: @Override public String getDeviceName() :outertype: VirtualLaser getLaserPower ^^^^^^^^^^^^^ .. java:method:: @Override public double getLaserPower() throws Exception :outertype: VirtualLaser getLaserPowerCached ^^^^^^^^^^^^^^^^^^^ .. java:method:: public double getLaserPowerCached() :outertype: VirtualLaser getMaxPower ^^^^^^^^^^^ .. java:method:: @Override public double getMaxPower() :outertype: VirtualLaser getMinPower ^^^^^^^^^^^ .. java:method:: @Override public double getMinPower() :outertype: VirtualLaser getPropertyName ^^^^^^^^^^^^^^^ .. java:method:: @Override public String getPropertyName() :outertype: VirtualLaser setLaserPower ^^^^^^^^^^^^^ .. java:method:: @Override public double setLaserPower(double desired_power) throws Exception :outertype: VirtualLaser