.. java:import:: ch.epfl.leb.alica.interfaces Controller .. java:import:: ch.epfl.leb.alica.interfaces.controllers ControllerStatusPanel .. java:import:: ij IJ InvertController ================ .. java:package:: ch.epfl.leb.alica.acpack.controllers.inverter :noindex: .. java:type:: public class InvertController implements Controller Controller which inverts and scales the input using 1/x function. (high input -> low output, low input -> high output) :author: Marcel Stefko Fields ------ maximum ^^^^^^^ .. java:field:: protected double maximum :outertype: InvertController Maximal possible output value. Constructors ------------ InvertController ^^^^^^^^^^^^^^^^ .. java:constructor:: public InvertController(double maximum, double value_at_1_mw) :outertype: InvertController Initializes the InvertController :param maximum: max output value :param value_at_1_mw: what is the value of input that you want to cause an output value of 1.0 (scaling constant) Methods ------- getCurrentOutput ^^^^^^^^^^^^^^^^ .. java:method:: @Override public double getCurrentOutput() :outertype: InvertController getName ^^^^^^^ .. java:method:: @Override public String getName() :outertype: InvertController getSetpoint ^^^^^^^^^^^ .. java:method:: public double getSetpoint() :outertype: InvertController getStatusPanel ^^^^^^^^^^^^^^ .. java:method:: @Override public ControllerStatusPanel getStatusPanel() :outertype: InvertController nextValue ^^^^^^^^^ .. java:method:: @Override public double nextValue(double value) :outertype: InvertController setSetpoint ^^^^^^^^^^^ .. java:method:: @Override public void setSetpoint(double value) :outertype: InvertController Sets the scaling constant, since it basically fulfills the role of setpoint for this controller. :param value: new scaling constant