Skip to content
Snippets Groups Projects

[Jungfrau][Dark] Account for dark runs not taken by the MDL device

Merged Karim Ahmed requested to merge fix/account_for_non_mdl_dark_runs into master
1 unresolved thread
1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
@@ -433,7 +433,12 @@
" acelltable -= sc_start\n",
" # Only for dynamic medium and low gain runs [forceswitchg1, forceswitchg2] in burst mode.\n",
"\n",
" if gain_mode == 0 and gain > 0 and memory_cells == 16:\n",
" if (\n",
" gain_mode == 0 and # dynamic gain mode\n",
" gain > 0 and # Medium and low runs\n",
" memory_cells == 16 and # Burst mode\n",
" acelltable.shape[0] == 2 # forceswitchg1 and forceswitchg2 acquired with the MDL device.\n",
Please register or sign in to reply
" ):\n",
" # 255 similar to the receiver which uses the 255\n",
" # value to indicate a cell without an image.\n",
" # image shape for forceswitchg1 and forceswitchg2 = (1024, 512, 2, trains)\n",
Loading