frappy_psi.picontrol: software control loop
example usage: use a temperature controller without changing the calibration setting: reading the raw sensor, calibrate by software and use 'manual' heater output Change-Id: I3dbcf37e7726b48a0516d7aa30758be52b80fe58 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/33910 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@@ -28,6 +28,8 @@ from scipy.interpolate import splev, splrep # pylint: disable=import-error
|
||||
|
||||
from frappy.core import Attached, BoolType, Parameter, Readable, StringType, \
|
||||
FloatRange, nopoll
|
||||
from frappy_psi.convergence import HasConvergence
|
||||
from frappy_psi.picontrol import PImixin
|
||||
|
||||
|
||||
def linear(x):
|
||||
@@ -232,3 +234,7 @@ class Sensor(Readable):
|
||||
@nopoll
|
||||
def read_status(self):
|
||||
return self._get_status(self.rawsensor.read_status())
|
||||
|
||||
|
||||
class SoftPiLoop(HasConvergence, PImixin, Sensor):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user