49 Commits

Author SHA1 Message Date
b92a79b0c0 refactor!(connector): unify connector/redis_connector in one class 2024-02-26 14:49:43 +01:00
63a8dd814c refactor: renamed enforce_sync to monitor_sync 2024-02-23 18:24:57 +01:00
8bbfd10ca7 refactor(messages)!: messages refactoring, new serialization module
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
5f48362667 feat: removed acquisition group and status from device config 2023-12-11 13:28:33 +00:00
06f2d781ae refactor: rename module BECMessage -> messages
This should help to avoid confusion between BECMessage module and
BECMessage class located in the same module
2023-11-10 10:28:53 +01:00
524ef24da0 refactor: flatten bec_lib structure 2023-11-10 10:24:33 +01:00
146898ec3f refactor: run isort on all files
$ isort . --profile=black --line-width=100 --multi-line=3 --trailing-comma
2023-11-10 10:22:47 +01:00
1a8cc7c448 feat: changed arg_bundle_size from int to dict; closes #111 2023-11-06 13:56:40 +00:00
6b2190899d fix: added missing type hints to scan signatures 2023-11-02 13:06:09 +00:00
c7d8b1afd5 feat: changed arg_input from list to dict to provide a full signature 2023-11-02 13:06:09 +00:00
f60889a87e fix: setup files cleanup 2023-06-28 14:39:18 +02:00
a944e43e1a feat: renamed bec_client_lib to bec_lib 2023-06-28 11:04:24 +02:00
f43d4ebac6 refactor: moved utils into bec_client_lib 2023-06-01 18:01:42 +02:00
c2578f648c test: fixed tests for min positions 2023-05-10 19:46:36 +02:00
f7499005a9 refactor: fixed formatter 2023-05-10 18:25:03 +02:00
e20631
20b1e4b85b updates from e20631 2023-05-09 09:11:25 +02:00
03027f3ae0 feat: added support for intermediate scan_report_instructions 2023-03-22 10:33:29 +01:00
6cc3e51d57 docs: improved doc string for lamNI move to scan center 2022-11-25 17:23:56 +01:00
e20588
d76b670d37 cleanup; added path optim as default 2022-11-15 16:50:58 +01:00
49604846f3 fixed test for new lamni scan default 2022-11-11 20:21:38 +01:00
e20588
9e2d2e6fe1 added traj optim; doc 2022-11-11 11:21:48 +01:00
50b52c7df2 added lsamx/lsamy center from config 2022-10-31 13:27:13 +01:00
1116ba92a5 added lamni_move_to_center scan 2022-10-15 12:19:20 +02:00
e20216
3d96d77689 added enabled_set option 2022-10-14 18:05:49 +02:00
a193c25b93 disabled lsamx / lsamy 2022-10-13 19:29:17 +02:00
c0bc367267 bug fixes; enforced kwargs 2022-09-05 16:56:15 +02:00
9646d6860d refactoring for scan / scan stubs 2022-09-05 16:27:11 +02:00
0546c4db0b cleanup 2022-08-22 16:55:38 +02:00
da95e136f0 reverted changes 2022-08-02 10:15:54 +02:00
e20216
688b6bc0ac online changes for first fly scan with lamni 2022-07-26 13:58:54 +02:00
4f151a0f4e renamed scantype to scan_type 2022-07-25 19:07:21 +02:00
e20216
fb10b7f583 online changes for LamNIFermatScan 2022-07-25 13:46:23 +02:00
e20216
70f9b196df online changes 2022-07-21 14:23:11 +02:00
e20216
5f93de367e figures saved to disk 2022-07-21 10:03:54 +02:00
e20216
f56d4331e8 fixed formatting 2022-07-20 16:51:05 +02:00
e20216
806c4ff2d6 online_changes 2022-07-20 16:47:54 +02:00
e20216
60804bd0e6 Merge branch 'master' into online_changes 2022-07-20 11:06:07 +02:00
e20216
a03978097a online changes 2022-07-20 10:01:25 +02:00
b3220772e7 added scan_type to open_scan message 2022-07-20 09:00:28 +02:00
290f24edb3 moved rpc to scans; exposed device_rpc user function 2022-07-18 17:53:02 +02:00
a98f358947 Merge branch 'master' into online_changes 2022-07-18 13:59:21 +02:00
422d22b8c7 Merge branch 'online_changes' of gitlab.psi.ch:bec/bec into online_changes 2022-07-18 13:48:56 +02:00
e20216
9c173e3a4a lamni fermat scan 2022-07-18 11:01:42 +02:00
e20216
b1aaf418e4 lamni fermat scan 2022-07-18 10:58:53 +02:00
7dbc3b1bca removed simulate mode; closes #36 2022-07-08 18:45:08 +02:00
6c18edfb91 added comments 2022-07-07 20:05:58 +02:00
e20216
7b97d1b9b6 online changes for lamni 2022-07-07 18:05:40 +02:00
8aad25b3b7 minor update to lamni scan 2022-07-04 13:32:39 +02:00
5ad056fd95 renamed to LamNIFermatScan 2022-07-04 12:12:49 +02:00