24 Commits
Author SHA1 Message Date
John Henry BealeandClaude Opus 5.5 2d9bbdac9d replace runtime print statements with logging
- all print calls outside the __main__ test blocks are now log calls:
  info for run information (CTA configuration summary on one line, run
  number, CTA start pid), warning/error for aborts and failures, debug for
  dumps (object/transform info, autofocus measurements, logger tree)
- psi_device: remove the import-time logging.basicConfig(level=DEBUG) and
  print('past logging'); the standalone test configures logging itself
- startup import timings are logged at info level
- ctadaq added to the -l log level list

Prints from PBTools/PBSwissMX, slic and the JFJ client are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 11:56:49 +02:00
John Henry BealeandClaude Opus 5.5 eab83c0fae fix mixed sim modes, camera parameter parsing and silent Collect
- pv_monitor_add skips simulated motor widgets one by one instead of
  asserting sim&0x10 (mixed modes such as --sim 0x0ef crashed at startup)
- preferences: roi/binning numbers written as decimals (8.0) are parsed as
  one number and rounded; a roi without 4 or binning without 2 values is
  not saved (8.0 used to become 8,0 and corrupt the camera roi)
- camera.set_param refuses a roi/binning with the wrong number of values
- Collect warns when there is nothing to scan or the task is not fix target

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 08:34:13 +02:00
John Henry BealeandClaude Opus 5.5 ec1c7c659a fix simulated illumination and camera so --sim 0x1ff starts again
- illumination: send_command() and status() return early in simulated
  mode (regression from 960b48f, which tried to connect with no hostname)
- camera: sim_gen(mode=1) falls back to generated images (mode 0) when
  simCamImg/*.png is missing instead of raising IndexError

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 12:43:21 +02:00
zamofing_t 3fc4f50c15 optimize imports and cleanup code 2024-09-25 12:36:48 +02:00
zamofing_t 1393269ceb add app_utils for motion_assert, contextMenu og GraphItem, further fixes 2022-09-21 11:06:10 +02:00
zamofing_t 33ce6c99f3 various stuff
update fiducial z when moved
autofocus param
camera settings
2022-09-16 17:04:12 +02:00
zamofing_t ba4f5feecb various fixes 2022-09-16 12:25:36 +02:00
zamofing_t 45e8ab680f refactoring and log of coorinate work 2022-09-02 12:46:51 +02:00
zamofing_t a54e580664 wip 2022-09-01 13:29:57 +02:00
zamofing_t 7deda365c1 saving document, plane and fiducal fitter 2022-08-30 15:46:51 +02:00
zamofing_t 8fbd1c56af add ModuleFixTarget tab 2022-08-25 17:17:54 +02:00
zamofing_t df53197d01 wip 2022-08-24 08:53:54 +02:00
zamofing_t d2c3bff1c7 towards epicsSwissmxSim.py ... 2022-07-22 18:20:28 +02:00
zamofing_t 569ce8a78d cleaner app starting, new application settings class 2022-07-20 17:52:55 +02:00
zamofing_t 1696328a53 smooth image update: use monitor callbacks to avoid block of ui when waiting for frame 2022-07-18 13:08:51 +02:00
zamofing_t c056f3f329 remove not implemented tab "point and shoot" 2022-07-18 11:22:16 +02:00
zamofing_t 079c9dbc4c reindent and some image tweeks 2022-07-15 16:17:13 +02:00
zamofing_t db7e5e537f have swissmx.py running with some commented modules in ESC network
git dt 98297263 swissmx.py
 git dt 7445a5aa CustomROI.py app_config.py app_utils.py epics_widgets/MotorTweak.py epics_widgets/SmaractMotorTweak.py
2022-07-15 09:41:44 +02:00
zamofing_t 52d0dd0b79 wip simulated mode 2022-07-14 14:16:25 +02:00
zamofing_t 3815a07cdf add files and simulated modes 2022-07-14 09:16:29 +02:00
zamofing_t 3904a1a134 wip 2022-07-13 16:52:27 +02:00
zamofing_t 756713f230 wip 2022-07-11 11:34:40 +02:00
zamofing_t 8b32718fe5 wip 2022-07-11 08:54:23 +02:00
zamofing_t f0f04a2118 initial commit 2022-07-07 15:48:22 +02:00