Commit f802c780 authored by Emmanuel Papillon's avatar Emmanuel Papillon
Browse files

add fsweep

parent 6ad7857f
......@@ -5,6 +5,7 @@ from fscan.ftimescan import FTimeScanCustomRunner
from fscan.fscan import FScanCustomRunner
from fscan.fscan2d import FScan2DCustomRunner
from fscan.finterlaced import FInterlacedMode, FInterlacedCustomRunner
from fscan.fsweep import FSweepCustomRunner
def check_frelon_shutter_time(devs, shuttime):
......@@ -57,6 +58,20 @@ class ID11FScan2D(FScan2DCustomRunner):
super().validate()
class ID11FSweep(FSweepCustomRunner):
def __init__(self, scanname, scanmaster, fshutter):
self._fsh = fshutter
super().__init__(scanname, scanmaster)
def validate(self):
pars = self.pars
limadevs = self._master.get_controllers_found("lima")
check_frelon_shutter_time(limadevs, self._fsh.shutter_time)
super().validate()
class ID11FInterlaced(FInterlacedCustomRunner):
def __init__(self, scanname, scanmaster, fshutter):
self._fsh = fshutter
......@@ -86,3 +101,4 @@ class ID11FInterlaced(FInterlacedCustomRunner):
super().validate()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment