grid collection paramss

32 views
Skip to first unread message

Marcus Fislage

unread,
Jun 20, 2023, 3:59:59 AM6/20/23
to SmartScope
Hi Jonathan,

one more thing that we don't fully understand concern the stored parameters for grid atlas collection and number of squares for test shooting.
When I access smartscope as a admin, one of the selectors is 'grid collection params'. I filled this out and saved it succesfully. However, when we want to start as user a new grid collection, we can only find the default parameters loaded for grid collection and have to manually change them again.
How can we load our presets properly for the data collection?

Cheers
Marcus

Jonathan Bouvette

unread,
Jun 20, 2023, 9:45:27 AM6/20/23
to SmartScope
Hi Marcus,

The grid collection params should actually be removed from the admin portal as they're not meant to be presets. A grid collection param object gets saved when setting up a new session in the Run Smartscope tab. I'm not sure which version you are running but as of 0.8 and later, you can change the default settings that will show up in the Run SmartScope tab to ease the session setup. In the installation folder, you'll find the following file SmartScope/shared/smartscope/default_collection_params.yaml in which you can change the values and disable the fields as you need:

atlas_x :
  initial: 6
atlas_y :
  initial: 2
square_x :
  initial: 1
  readonly: True
square_y :
  initial: 1
  readonly: True
squares_num :
  initial: 3
holes_per_square :
  initial: 2
bis_max_distance :
  initial: 3
min_bis_group_size :
  initial: 1
target_defocus_min :
  initial: -2
target_defocus_max :
  initial: -2
step_defocus :
  initial: 0
drift_crit :
  initial: -1
tilt_angle :
  initial: 0
save_frames :
  initial: True
force_process_from_average :
  initial: False
  disabled: True
offset_targeting :
  initial: True
offset_distance :
  initial: -1
zeroloss_delay :
  initial: -1

Best,
Jonathan

Reply all
Reply to author
Forward
0 new messages