Merging original scan tutorials from Klaus
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .tutorial_fly_scan import AcquireDark, AcquireFlat, TutorialFlyScanContLine
|
||||
from .gigafrost_test import GigaFrostStepScan
|
||||
from .tomcat_scanbase import SnapAndStepScanBase, GigaStepScanBase, SequenceScanBase, SimpleFlyer
|
||||
# from .tutorial_fly_scan import AcquireDark, AcquireFlat, TutorialFlyScanContLine
|
||||
from .tutorial_fly_scan import AcquireDark
|
||||
from .tutorial_fly_scan import AcquireDark, AcquireFlat, TutorialFlyScanContLine
|
||||
|
||||
@@ -7,13 +7,8 @@ from bec_server.scan_server.scans import Acquire, AsyncFlyScanBase
|
||||
|
||||
class AcquireDark(Acquire):
|
||||
scan_name = "acquire_dark"
|
||||
required_kwargs = ["exp_time", "num"]
|
||||
gui_config = {
|
||||
"Acquisition parameters" : ["exp_time", "num"]
|
||||
}
|
||||
|
||||
|
||||
def __init__(self, num: int, exp_time: float, **kwargs):
|
||||
def __init__(self, num: int, **kwargs):
|
||||
"""
|
||||
Acquire a dark image. This scan is used to acquire a dark image. The dark image is an image taken with the shutter
|
||||
closed and no beam on the sample. The dark image is used to correct the data images for dark current.
|
||||
@@ -30,7 +25,7 @@ class AcquireDark(Acquire):
|
||||
"""
|
||||
super().__init__(**kwargs)
|
||||
self.burst_at_each_point = num
|
||||
self.shutter = "eyex" # change to the correct shutter device
|
||||
self.shutter = "hx" # change to the correct shutter device
|
||||
|
||||
def scan_core(self):
|
||||
# close the shutter
|
||||
|
||||
Reference in New Issue
Block a user