Commit Graph
2899 Commits
Author SHA1 Message Date
augustin_s c6089e36c8 slightly more consistent variable names 2020-08-20 10:41:16 +02:00
augustin_s 4f92621123 more consistent variable names in limit methods 2020-08-20 09:07:26 +02:00
augustin_s 6eb13fabe4 try name and Id if docstring not set 2020-08-20 08:56:07 +02:00
augustin_s fb5ce78ae4 renamed set_current_value -> reset_current_value_to for consistency 2020-08-20 08:55:20 +02:00
augustin_s 70eb1cee9c refactored (almost) everything 2020-08-20 08:54:36 +02:00
augustin_s 93624c715d removed duplicate 2020-08-19 16:19:27 +02:00
augustin_s 3204f99291 merged short and long version of SmarActRecord 2020-08-19 16:18:53 +02:00
augustin_s 7dd943aa77 removed duplicate 2020-08-19 16:06:31 +02:00
augustin_s 51c1adb065 merged both longer variants of SmarActRecord: use get_current_value everywhere instead of wm; cleaned up unused/empty methods and useless docstrings; removed SmarAct(pypeics.Device) as it was only really one used PV anyway; removed SmarActDevice as it did nothing at all 2020-08-19 16:05:25 +02:00
augustin_s fc4aa5978b removed unused stuff, fixed some obvious bugs, slight clean up 2020-08-18 17:12:13 +02:00
augustin_s 64a9b24eda missed an empty line 2020-08-18 16:39:43 +02:00
augustin_s bb9ee0ac42 removed all commented code 2020-08-18 16:38:53 +02:00
augustin_s 000edbaf86 added a version of the Alvra smaract code with the commented code back in to compare to the bernina equivalent 2020-08-18 16:38:46 +02:00
augustin_s eea73e9372 removed deprecated file 2020-08-18 15:50:33 +02:00
augustin_s 67ac687437 made laser timing classes generic 2020-08-17 19:38:26 +02:00
augustin_s 56bc29de31 adjusted import 2020-08-17 19:11:57 +02:00
augustin_s 5f4e343670 made laser timing classes (mostly) generic 2020-08-17 19:11:31 +02:00
augustin_s 79767a3ef3 typo 2020-08-14 16:37:34 +02:00
augustin_s 397eda4ba0 moved offset storage logic into mixin (OffsetStorageMixin) for less duplication in PhaseShifter and PockelsTrigger 2020-08-14 16:31:56 +02:00
augustin_s 6bebf9f727 refactor laser timing classes cont'd 2020-08-14 15:49:51 +02:00
augustin_s fde2ffe1ae made check_pos_type a bit more flexible 2020-08-13 13:19:17 +02:00
augustin_s ce5854ee45 refactored ETiming class 2020-08-12 15:53:20 +02:00
augustin_s c5b9a7ab70 reordered classes 2020-08-12 14:38:25 +02:00
augustin_s e4afabf1a3 cleaned __str__/__repr__ 2020-08-12 13:10:34 +02:00
augustin_s 06dc411249 clean up: moved constants to top, removed some unused pieces 2020-08-12 12:33:42 +02:00
augustin_s a6463b525c renamed laser timing classes for pep8 2020-08-12 11:36:46 +02:00
augustin_s 1d4228dcf4 adjusted imports to merged laser timing file 2020-08-11 23:58:12 +02:00
augustin_s 71772e91f9 removed last duplicated timing file 2020-08-11 23:55:31 +02:00
augustin_s f39ca1fbcd merging all laser timing files 2020-08-11 23:55:12 +02:00
augustin_s a6af4af52c removed OTHER duplicated timing file 2020-08-11 23:48:08 +02:00
augustin_s d6ee7cc34e started merging the OTHER timing classes 2020-08-11 23:47:40 +02:00
augustin_s 82de280c49 removed duplicated timing file 2020-08-11 20:03:00 +02:00
augustin_s 9c49bd7a16 started merging the timing classes 2020-08-11 20:02:25 +02:00
augustin_s a5dc91efec removed TODO 2020-08-11 18:38:55 +02:00
augustin_s fc1d1c1412 method grouping 2020-08-11 15:30:57 +02:00
augustin_s 33c5215e6c moved umv/umvr into separate mix-in class; added new mix-in to Motor (which can show progress) 2020-08-11 12:35:11 +02:00
augustin_s 4f1cea5a9a simpler logic for mvr 2020-08-11 12:27:08 +02:00
augustin_s 7d3bd64a6d mvr refactor cont'd 2020-08-11 12:14:50 +02:00
augustin_s 48c017dc72 started looking into mvr 2020-08-11 12:14:03 +02:00
augustin_s 4f6ed19ba5 moved __call__ from SpecConvience to Adjustable proper 2020-08-10 19:10:25 +02:00
augustin_s 2e69a0bfa9 fixed "if not X is None" -> "if X is not None" 2020-08-10 19:07:44 +02:00
augustin_s 257efebe18 added _as_task method to Adjustable, removed Task creation and setting current_task from subclasses; added stop and moved wait to Adjustable (adjusted Motor accordingly) 2020-08-10 19:06:13 +02:00
augustin_s f826cb0a1c restructured Motor such that units are read from the underlying PVs during construction; print_limits now uses RangeBar; added print_dial to show dial/direction/offset info, in turn removed custom repr to be more consistent 2020-08-07 19:08:54 +02:00
augustin_s 7f64c194d1 Delay now accepts units and forwards them to the Adjustable constructor, allows to remove custom repr; Delay can also be named explicitly (if not, the Motor name will be used); current_task can also be set now (it is forwarded to the unterlying Motor object as in the getter case) 2020-08-07 19:03:51 +02:00
augustin_s 0f63a451fc restructured PVAdjustable and PVEnumAdjustable sucht that units are read from the unterlying PV 2020-08-07 18:58:06 +02:00
augustin_s 3d46541922 GenericAdjustable now accepts units 2020-08-07 18:56:34 +02:00
augustin_s 46230763b8 DummyAdjustable now accepts units 2020-08-07 18:56:15 +02:00
augustin_s 6f695549da Adjustable now accepts units and repr takes it into account 2020-08-07 18:55:46 +02:00
augustin_s 8210a4f279 refactored Delay class using Adjustable as baseclass 2020-08-06 18:24:02 +02:00
augustin_s e60d8d1afe repr of Adjustable now contains typename AND name (if available) instead of OR 2020-08-06 18:22:31 +02:00