Commit 5dcc79f8 authored by Valentin Valls's avatar Valentin Valls
Browse files

Normalize params with fulltomo

parent 84597165
Pipeline #74129 passed with stages
in 9 minutes and 29 seconds
......@@ -18,8 +18,8 @@ def tiling(
detector: Lima,
expo_time: float,
tomoconfig: TomoConfig,
nb_dark_scan: int = 3,
nb_flat_scan: int = 3,
n_dark: int = 3,
n_flat: int = 3,
sleep_time: typing.Optional[float] = None,
):
"""
......@@ -90,17 +90,16 @@ def tiling(
with sequence.sequence_context() as scan_seq:
dark_runner = tomoconfig.get_runner("dark")
scan = dark_runner(expo_time, nb_dark_scan, detector, run=False)
scan = dark_runner(expo_time, n_dark, detector, run=False)
scan_seq.add(scan)
scan.run()
flat_runner = tomoconfig.get_runner("flat")
scan = flat_runner(expo_time, nb_flat_scan, detector, run=False)
scan = flat_runner(expo_time, n_flat, detector, run=False)
scan_seq.add(scan)
scan.run()
tiling_runner = tomoconfig.get_runner("tiling")
scan = tiling_runner(
expo_time=expo_time,
tomo_detector=tomo_detector,
......@@ -116,10 +115,11 @@ def tiling(
scan.run()
flat_runner = tomoconfig.get_runner("flat")
scan = flat_runner(expo_time, nb_flat_scan, detector, run=False)
scan = flat_runner(expo_time, n_flat, detector, run=False)
scan_seq.add(scan)
scan.run()
tiling_runner = tomoconfig.get_runner("tiling")
scan = tiling_runner(
expo_time=expo_time,
tomo_detector=tomo_detector,
......
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