Commit Graph
549 Commits
Author SHA1 Message Date
augustin_s c3f0761bbb persistence contains widget name and uses json 2021-05-14 19:32:16 +02:00
augustin_s 5ded5f20d7 added "marker" class for persistability instead of list of widgets 2021-05-14 18:05:27 +02:00
augustin_s b550cabd50 Labeled* widgets use label as name for TextCtrl 2021-05-14 17:29:50 +02:00
augustin_s 04af6afefc refactor of NotebookPanel into MainPanel and NotebookDX 2021-05-14 11:31:55 +02:00
augustin_s 51a79154ee added relative scans to special 2021-05-11 16:12:02 +02:00
augustin_s c0fe63b24e quick try on a special scan panel where the values can be specified 2021-05-11 15:51:24 +02:00
augustin_s b8dd131fb5 made a quick copy of Scan panel 2021-05-11 10:47:32 +02:00
augustin_s 629b4a9446 named some delay stages; changed M444 from 'autocorr delay' to 'variable OD filter' 2021-05-10 19:13:31 +02:00
augustin_s a76a3a2206 named the sample manipulators 2021-05-10 19:12:01 +02:00
augustin_s 9391608201 fixed task creation in set_target_value; some string formatting 2021-05-10 19:09:51 +02:00
augustin_s 3b8eb94371 Delay is in femtoseconds instead of seconds; DelayStage can be named 2021-05-10 19:08:27 +02:00
augustin_s f482fac174 made attenuator provisional adjustable 2021-05-10 16:21:43 +02:00
augustin_s 84aff64c89 start merging two variants of attenuator class 2021-05-10 16:15:49 +02:00
augustin_s be7c8a52e3 added quick protoype for persitence 2021-05-10 14:58:53 +02:00
augustin_s d79f87611d update comments 2021-05-10 12:27:18 +02:00
augustin_s ec47a3c791 split on_change_adj into on_update_adj/_abs, trigger both for dropdown event but only on_update_adj for timer event 2021-05-10 12:22:01 +02:00
augustin_s c58f7459f3 added optional jitter to dummy adj 2021-05-10 12:20:32 +02:00
augustin_s e0691dd71c handle step size == 0 2021-05-10 11:57:13 +02:00
augustin_s 5ea9affc3b update filename for repeated scans also in the scan_info 2021-05-09 14:32:16 +02:00
augustin_s 8a73138c01 always strip spaces from filenames 2021-03-30 17:55:07 +02:00
augustin_s 2266fc67fe added timer event to update current value of selected adjustable 2021-03-26 13:18:55 +01:00
augustin_s 554afdd13f added active_wait (default: False) to PVAdjustable 2021-03-26 13:14:43 +01:00
augustin_s 54bad0d5d9 made detectors more flexible (allow: one dict or list of strings and/or dicts) 2021-03-09 13:57:08 +01:00
augustin_s 9b0c8e21b2 distinguish between motor/delay in delaystage name 2021-03-08 20:32:48 +01:00
augustin_s 3897ce1cce fixed oversight: forward DoubleCrystalMono name to DoubleCrystalMonoEnergy 2021-03-08 15:04:02 +01:00
augustin_s d47b08dab9 improved logic for non-float start, stop, step in Scan (no more errors); improved PVDisplay logic if pvname is None (actually show the widget), clear callback on destroy; improved ETADisplay if one of the counts is missing or the rate is zero (show infinity) 2021-03-08 12:29:53 +01:00
augustin_s ed86066985 take repeats into account for ETA calc 2021-03-04 21:42:48 +01:00
augustin_s ba2e62a73e added scan repeat feature to GUI 2021-03-04 21:32:10 +01:00
augustin_s 59b57f4cdc added repeat feature to Scanner 2021-03-04 19:45:43 +01:00
augustin_s 719331bec0 typo 2021-03-03 01:08:35 +01:00
augustin_s ab4a4fff87 typo 2021-02-28 15:00:15 +01:00
augustin_s db4ba57a3c adjusted detectors list vs. dict logic 2021-02-27 13:34:22 +01:00
augustin_s 66e992a0f2 moved json validation into json utils 2021-02-26 23:06:10 +01:00
augustin_s 0105e8e2e0 use NumpyJSONEncoder to validate params 2021-02-26 22:47:25 +01:00
augustin_s c01a662dc4 much simpler NumpyJSONEncoder 2021-02-26 21:30:15 +01:00
augustin_s d871b9c0bd added NumpyJSONEncoder 2021-02-26 20:48:05 +01:00
augustin_s b78d8273fa moved params validation into broker client; numpy arrays are now allowed in params 2021-02-26 15:30:14 +01:00
augustin_s 4b45b452cc fix: ndarray not json serializable 2021-02-25 22:32:46 +01:00
augustin_s f6248f381e fixed typo 2021-02-25 20:37:49 +01:00
augustin_s 818e035f41 removed debug print 2021-01-30 15:51:11 +01:00
augustin_s a26e98b19f added support for optional moving/done_move/stop PVs; wait for start, then wait for move done after put 2021-01-30 15:48:30 +01:00
augustin_s 2de05872f2 harmonized some naming 2020-12-12 20:17:43 +01:00
augustin_s a8f681a71c InsertItems fails for empty sequence 2020-12-11 18:04:18 +01:00
augustin_s d9fe924fa5 detect recursive Device, warn and ignore 2020-12-11 14:02:53 +01:00
augustin_s 41713927dc repr of Device containing Devices is nice now 2020-12-10 12:02:04 +01:00
augustin_s c6380506bf made status values an IntEnum; added status property and is_holding method 2020-12-08 16:40:56 +01:00
augustin_s d82a2f88de added _move_requested flag, adjusted waiting (for start/move done) to use/set flag correctly, added _stop method which puts 1 to STOP.PROC PV and sets flag; consider move as done when holding phase starts; made both puts wait 2020-12-08 15:16:57 +01:00
augustin_s 11f0aed201 forgot to switch Task creation to respective Adjustable method 2020-12-05 18:56:06 +01:00
augustin_s 75e8b0b704 split AlvraDCM_FEL into CoupledDoubleCrystalMonoEnergy and CoupledDoubleCrystalMono; removed unsused/dead code; renamed some variables for consistency 2020-12-05 18:27:08 +01:00
augustin_s acf68c494a added SimpleDevice (merges Device and SimpleNamespace) for quick Device creation 2020-12-05 16:31:57 +01:00