From 1cd8760a13bdfa835a015b6fd17e150f8fa4beee Mon Sep 17 00:00:00 2001 From: gac-x06da Date: Tue, 21 Jan 2025 15:42:37 +0100 Subject: [PATCH] BEC demo examples from Klaus --- pxiii_bec/scans/__init__.py | 1 + pxiii_bec/scans/my_test_scan.py | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 pxiii_bec/scans/my_test_scan.py diff --git a/pxiii_bec/scans/__init__.py b/pxiii_bec/scans/__init__.py index e69de29..38dfc1b 100644 --- a/pxiii_bec/scans/__init__.py +++ b/pxiii_bec/scans/__init__.py @@ -0,0 +1 @@ +from .my_test_scan import MyScan \ No newline at end of file diff --git a/pxiii_bec/scans/my_test_scan.py b/pxiii_bec/scans/my_test_scan.py new file mode 100644 index 0000000..8246a2a --- /dev/null +++ b/pxiii_bec/scans/my_test_scan.py @@ -0,0 +1,10 @@ +from bec_server.scan_server.scans import LineScan + + +class MyScan(LineScan): + scan_name = "test_scan" + + + + def _calculate_positions(self): + return super()._calculate_positions() \ No newline at end of file