Commit Graph
19 Commits
Author SHA1 Message Date
John Henry BealeandClaude Opus 5.5 ba58eb8be1 twait in ms (multiples of the FEL period), fixed tmove kept in the parameters
- mode 7 uses tmove/twait in ms like mode 5 (shapepath divides by fel_per,
  its 'shots' doc is wrong): tmove is fel_per for both (was 1 for mode 7)
- wait field in ms, steps of fel_per, typed values snapped to a multiple
- the panel writes the fixed tmove into the parameter text, add obj and
  update param set it too (fix_motion_param), so it shows in the object
  information; the collection still enforces it
- warning when the text has another tmove or a twait that is not a
  multiple of it; a saved text gets the fixed tmove at startup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 08:50:28 +02:00
John Henry BealeandClaude Opus 5.5 6c898059fd chip type, motion, delay and run time on the experimental parameters page
- chip type (same selection as the Fix Target type), motion mode 4..7,
  wait in pulses (mode 5/7) and section size (mode 6/7): these edit their
  keys in the Fix Target parameter text box and follow it when typed;
  text box and chip type are kept in the settings
- tmove is fixed to one FEL pulse (fel_per ms for mode 5, 1 shot for
  mode 7): not editable, set at the collection for every object
- the collection refuses objects with a mode other than 4..7
- laser delay PV readback and the calculated laser to X-ray delay
- estimated run time of the chip from the CTA sequence lengths
  (motion_run_pulses), including the checks that would abort it
- orange warning for twait not a multiple of tmove or an invalid ssz
- ModuleFixTarget: parse_param/format_param for the parameter text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 08:36:07 +02:00
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 Beale 006b337d8c fixed OSError unsupported dile type bug when saving chip as .json 2026-06-11 15:14:24 +02:00
John Henry Beale 0aa124b912 fixed save data file overwrite bug 2026-05-15 13:42:29 +02:00
John Henry Beale fef8250581 commented out iterencode function within MyJsonEncoder as it reformated the json as a single line and made it hard to read 2026-05-15 13:38:11 +02:00
zamofing_t 0fe59e9ad6 try to cleanup stuff(3) 2024-12-11 15:26:01 +01:00
zamofing_t cc7d7c8e79 try to cleanup stuff(2) 2024-11-27 11:30:06 +01: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 8af0839281 enhance context menu, draw object center, recenter if image out of view 2022-09-09 16:51:53 +02:00
zamofing_t 189c98951a cleanup 2022-09-09 15:54:18 +02:00
zamofing_t d263c09028 rework config/parameter setting part 2 2022-09-05 15:34:40 +02:00
zamofing_t d96f3cc9db use groupItem for tracked object 2022-09-01 07:59:21 +02:00
zamofing_t 011eaa3e31 towards least_square_trf 2022-08-29 17:38:40 +02:00
zamofing_t 9f32dd657c working json document type 2022-08-29 11:20:28 +02:00
zamofing_t b52fa6d9bd towards document type 2022-08-26 19:10:23 +02:00
zamofing_t 8fbd1c56af add ModuleFixTarget tab 2022-08-25 17:17:54 +02:00