Commit Graph

  • 803a313b82 DAQ: fixed bug where raster data collection would crash if img.spots were None leonarski_f 2025-10-20 17:29:03 +02:00
  • 085b1b966e DAQ: temporarily removed logger error as it was triggering during server startup leonarski_f 2025-10-20 17:28:35 +02:00
  • 0243d5c8b9 Merge branch 'daq_raster_predicition' leonarski_f 2025-10-20 12:48:47 +02:00
  • 1d8c17984e DAQ: added basic logging leonarski_f 2025-10-20 11:50:16 +02:00
  • 1e42d76ded DAQ: added face detection leonarski_f 2025-10-17 16:11:05 +02:00
  • 87c20e0f9e TELL: Updated Error message for move_cold leonarski_f 2025-10-17 16:08:32 +02:00
  • 9316a8a2eb DAQ: update mlbox to get ml predictions via http leonarski_f 2025-10-16 16:53:20 +02:00
  • 4dc2b0def1 Merge remote-tracking branch 'origin/prediction' into prediction leonarski_f 2025-10-16 13:13:50 +02:00
  • c3e454a504 Prediction (WIP) leonarski_f 2025-09-26 13:55:46 +02:00
  • 4ef8203117 Adding prediction zmq and drawing in camera image GotthardG 2025-09-23 09:41:47 +02:00
  • 919a035f59 Merge remote-tracking branch 'origin/daq_raster_predicition' into daq_raster_predicition daq_raster_predicition leonarski_f 2025-10-16 13:02:58 +02:00
  • 173c4ea304 Workflows: tempoarily remove reflector and close detector cover to improve ML leonarski_f 2025-10-16 13:00:36 +02:00
  • 834e180067 GUI: reverted to previous comit due to missing changes in smart_rotation_panel.py needs testing with data collection leonarski_f 2025-10-16 13:00:11 +02:00
  • 432dc8e3af GUI: set default sort column to Location reference-tools leonarski_f 2025-10-16 12:42:07 +02:00
  • ae7b538072 DAQ/GUI: mount uses refernce tools if reference=True otherwise uses sample spreadsheet leonarski_f 2025-10-16 12:40:55 +02:00
  • e8c1040bec GUI: updated reference_tools_panel.py and connected update_daq_status leonarski_f 2025-10-16 12:40:03 +02:00
  • 4cd7c865f7 GUI: updates to reference_tools_panel.py WIP leonarski_f 2025-10-16 11:05:36 +02:00
  • cfea7df27c GUI: added reference tool panel to tell samples dock as a tab leonarski_f 2025-10-16 11:04:49 +02:00
  • 0a0b241488 GUI: connected load_reference_tools leonarski_f 2025-10-16 11:04:16 +02:00
  • aabd435c6f DAQ: Implementation of reference-tools get methods from redis GUI: Adding reference tools panel with mount and unmount functions GotthardG 2025-10-15 15:18:29 +02:00
  • 7f4c9f1d72 WIP Guillaume Cyril Gotthard 2025-10-14 11:23:32 +02:00
  • 0b9f21b9a1 DAQ: temporarily disabled reflector and closed detector cover during sample alignment for better ML. leonarski_f 2025-10-10 17:20:55 +02:00
  • c612eb0966 SERVER: connected set_smart_params leonarski_f 2025-10-10 17:19:50 +02:00
  • a15c6c9c47 DAQ: moved raster calculations to find_xtal.py leonarski_f 2025-10-10 17:19:29 +02:00
  • 34acca20e8 DAQ: updated when b_factor and best res are calculated and better error handling during auto center leonarski_f 2025-10-10 17:19:16 +02:00
  • e3a19b51ba DAQ: added smart params leonarski_f 2025-10-10 17:18:30 +02:00
  • c7378f7e02 DAQ-WORKER: connected simplescanparameters with GUI panel and DAQ leonarski_f 2025-10-10 17:18:03 +02:00
  • 11bc0e5363 GUI: added parameters_changed and updated PONI values in defaults leonarski_f 2025-10-10 17:16:56 +02:00
  • f624fce97d GUI: added data to file path for rotation data collection leonarski_f 2025-10-10 17:16:21 +02:00
  • be0d9382d6 GUI: updated features to smart_rotation_panel.py leonarski_f 2025-10-10 17:14:47 +02:00
  • 4e6e7fbaf6 DAQ: add SimpleScanParameters leonarski_f 2025-10-10 17:14:04 +02:00
  • bb476669cc GUI: add data to filepath for rotation scan leonarski_f 2025-10-07 17:04:24 +02:00
  • 6d3d28f2c9 DAQ: moved raster calcualtion functions to a new script called find_xtal.py. WIP leonarski_f 2025-10-07 16:49:11 +02:00
  • f1f792d0e9 GUI: added functionality to add data to file_prefix for rotation scan only. leonarski_f 2025-10-07 14:48:08 +02:00
  • e1fca441d6 DAQ: best_res should be min value not max zoom_manager leonarski_f 2025-10-07 13:16:41 +02:00
  • 3519072651 DAQ: updated raster COM calculation to send crystal size, b_factor and res estimate to daq status and to do COM on both y and x scans leonarski_f 2025-10-07 13:16:02 +02:00
  • 8cf7cb01ca DAQ: reset crystalsize b_facror and best_res when loading a new sample leonarski_f 2025-10-07 13:14:01 +02:00
  • 5f10bbf077 DAQ: import crystalsize from models.py leonarski_f 2025-10-07 13:13:11 +02:00
  • acca3d27a1 DAQ: added crystal_size b_factor and best_res to daq_status leonarski_f 2025-10-07 13:12:30 +02:00
  • 312eebc9c1 DAQ: added crystalsize model and added b_factor and crystal_size to models.py leonarski_f 2025-10-07 13:07:00 +02:00
  • 694ecf54bd GUI: updated smart_rotation_panel functionality and included more widgets in the GUI leonarski_f 2025-10-07 13:05:50 +02:00
  • 3a24fc2aa1 GUI: connected smart_rotation_panel.py to main_window.py and data_collection_settings.py. Updated payload and values in smart_rotation_panel.py. leonarski_f 2025-10-01 17:12:25 +02:00
  • 34b614a166 DAQ: added last_best_res to daq status leonarski_f 2025-10-01 17:11:29 +02:00
  • e4db694c39 DAQ: and models.py - added last_best_res calculation and value to daq and models leonarski_f 2025-10-01 17:11:06 +02:00
  • 19d5740c1f diffraction_geometry: updated resolution and det_dist calculation to use theta not 2theta leonarski_f 2025-10-01 17:06:43 +02:00
  • 99d32326a7 diffraction_geometry: updated resolution and det_dist calculation to use theta not 2theta leonarski_f 2025-10-01 17:04:56 +02:00
  • ee626f83c2 diffraction_geometry: added poni_rot1_rad and poi_rot2_rad leonarski_f 2025-10-01 17:04:25 +02:00
  • b36b42b131 MLBox: updated default best.pt file leonarski_f 2025-10-01 17:03:38 +02:00
  • 4f2d18fbf8 Smart rotation panel: Make it looking a bit nicer leonarski_f 2025-10-01 09:09:57 +02:00
  • 93453e6048 Diffraction geometry: Protect for asin out of (-1,-1) range leonarski_f 2025-10-01 09:09:40 +02:00
  • 7e1857f5c5 AUTOMATION PARAMETERS: simple/smart rotation panel added leonarski_f 2025-09-30 17:14:09 +02:00
  • bb78102786 AUTOMATION PARAMETERS: full_flux added to daq leonarski_f 2025-09-30 17:13:52 +02:00
  • 64d8fea010 DAQ: ABR bug - tried to go to -10, then 8. Now goes to a set coordiante of -26,0,0 leonarski_f 2025-09-30 15:45:17 +02:00
  • 6969b1ee4d DAQ: detector cover logic adapted leonarski_f 2025-09-30 15:44:53 +02:00
  • e7f1603a76 DAQ: zoom_manager function added to models.py and zoom_settings condensed into one function in config.py. This will be adapted when using redis and yaml files. leonarski_f 2025-09-30 15:44:07 +02:00
  • b8b3e1b900 DAQ: config.py fixed bug in bl_zoom_settings which was requesting user zoom settings not bl_zoom_settings leonarski_f 2025-09-30 13:29:05 +02:00
  • 8b09789370 DAQ: Add min/max dtz leonarski_f 2025-09-30 11:54:12 +02:00
  • 2b033b551f DAQ: Fix resolution to dtz routines leonarski_f 2025-09-30 11:53:55 +02:00
  • 478aea06fc DAQ: Add commissioning mode leonarski_f 2025-09-30 11:28:21 +02:00
  • 64d7f3bfa9 GUI: Remove selected samples from the queue leonarski_f 2025-09-30 11:12:22 +02:00
  • b2a7cad463 GUI: Beamline busy is in a corner and irrespective of image zoom leonarski_f 2025-09-30 11:04:55 +02:00
  • 6e7dfe5ff8 DAQ: workflows.py when move to bl from sa cryo now moves to 80 leonarski_f 2025-09-30 10:29:18 +02:00
  • 20e9a4d5ed GUI: Show only available transitions leonarski_f 2025-09-30 10:25:41 +02:00
  • 41f10aef22 GUI: Staff beamline controls are not created for non-staff user leonarski_f 2025-09-30 09:56:42 +02:00
  • 59ba7224b9 DAQ: Custom JWT key must be used leonarski_f 2025-09-30 09:24:34 +02:00
  • b20609089c DAQ: Authentication for staff operations checks if session is active for the user leonarski_f 2025-09-30 09:21:49 +02:00
  • 81404facde DAQ: zoom in BL state, work in progress leonarski_f 2025-09-30 09:18:57 +02:00
  • a901745da4 DAQ: workflows.py change to sa2bln to get samcam_settings from bl_zoom_settings appleb_m 2025-09-29 17:04:39 +02:00
  • 456cd63420 GUI: changed dewer load/unload to dewer transfer to match state name appleb_m 2025-09-29 16:57:25 +02:00
  • 1e882c5cd5 GUI: tidied up status_bar.py state handling. appleb_m 2025-09-29 16:57:01 +02:00
  • 941936eb3b DAQ: devices.py: more verbose print statement in samcam_settings appleb_m 2025-09-29 11:57:28 +02:00
  • 80aa1466af DAQ - config: added property and setter for bl_zoom_settings. Setting zoom checks cfg_state for beamlocation. TODO: tidy up zoom functions - combine them using self.state in config.py? appleb_m 2025-09-29 11:54:19 +02:00
  • f479eac4fb AareGUI: Zoom settings for X06DA (work in progress) leonarski_f 2025-09-26 09:57:52 +02:00
  • 078e85f812 AareGUI: Auth based on local user leonarski_f 2025-09-26 09:57:12 +02:00
  • 72ceb80a88 AareDAQ: Remove extra verbose print leonarski_f 2025-09-25 19:52:24 +02:00
  • f2ff0e04aa AareGUI: Smoothen exit from GUI by adding timeout on ZeroMQ leonarski_f 2025-09-25 09:12:59 +02:00
  • b116641d9f AareDAQ: RHEL9 provides lowercase groups, so fix to lowercase and add unx-sls_mx to "staff" groups leonarski_f 2025-09-25 09:03:01 +02:00
  • 9e223d0fd6 AareDAQ: fix state_busy flag in sample setter leonarski_f 2025-09-25 08:55:54 +02:00
  • 76e4fa0bcd AareGUI: Fix default addresses for services leonarski_f 2025-09-25 08:54:59 +02:00
  • 40a7ae6c5e AareDAQ: Handle p-groups correctly (as a list) in the server leonarski_f 2025-09-25 08:54:37 +02:00
  • f724e7e69e Adding prediction zmq and drawing in camera image prediction GotthardG 2025-09-23 09:41:47 +02:00
  • d90d847506 DAQ: changed beamline busy to be constant Martin Appleby 2025-09-22 11:47:34 +02:00
  • 49823f54a9 AAREDB: WIP changes to ingest RASTER grid scan into DB leonarski_f 2025-09-19 16:19:40 +02:00
  • 69b4dd6481 COMMON: logger_config.py added, WIP! leonarski_f 2025-09-19 16:19:12 +02:00
  • dd310accfd DAQ: when __set_state is called check to see if beamline is busy otherwise raise an exception leonarski_f 2025-09-19 16:18:35 +02:00
  • 688c635be7 DAQ: temporarily disabled ALC when manually mounting - should be an option in the GUI to enable/disable leonarski_f 2025-09-19 16:17:05 +02:00
  • 9c43eea736 DAQ: updated alc and raster scan. ALC now does two attempts, if it finds a good angle, goes abck and tries to rotate 90 degrees in other direction. Raster now uses a scipy COM calculation. paramters currently can be picked in daq but should come as a choice from the GUI. Need to optimise parameters leonarski_f 2025-09-19 16:16:22 +02:00
  • 8b07cae1db DAQ: update to automation parameters. Added a flag for low res data to make det dist switch quicker. Needs a panel in the GUI! leonarski_f 2025-09-19 16:14:06 +02:00
  • f857f8b8b7 GUI: camera_image.py added BEAMLINE BUSY message when beamline is in use. ALso change colour of the beam centre mark leonarski_f 2025-09-19 16:12:20 +02:00
  • c5a11f049a GUI: camera_thread.py update for USB-C camera. leonarski_f 2025-09-19 16:11:37 +02:00
  • 46dad594ac COMMON: updated pyproject.toml jfjoch client version leonarski_f 2025-09-19 16:11:09 +02:00
  • 14cd289b55 GUI: status bar update from Takashi recommendations leonarski_f 2025-09-19 16:10:40 +02:00
  • 7e02c537eb DAQ - ALC: added error message to database when ALC fails for manual sample collection leonarski_f 2025-09-18 10:11:49 +02:00
  • 77d81c182e DAQ: attempted fix of sample_geometry bug to handle error when the ABR disconnects. leonarski_f 2025-09-18 10:11:10 +02:00
  • 89f8574a6d GUI: updated zmq_address for OAV leonarski_f 2025-09-18 10:09:38 +02:00
  • 7e96b58b5b DAQ - jfjoch_viewer.py: fixed slot bug and changed load functions to use the http address instead of file path. leonarski_f 2025-09-18 10:09:01 +02:00
  • eaeb76bf2a DAQ - MODELS: only loop centre on 1 x zoom leonarski_f 2025-09-18 10:07:57 +02:00
  • 2c15b42454 TELL: Reduce polling rate from 100 Hz to 5 Hz + increase timeout on mount leonarski_f 2025-09-15 09:59:03 +02:00
  • 8e64047b0a AareDAQ: Improved fix for mounted sample position error leonarski_f 2025-09-15 08:53:50 +02:00
  • 7ee95747b8 AareGUI: Use files with the viewer leonarski_f 2025-09-14 11:50:11 +02:00