Skip to content

Hard-coded values #88

@KiyofumiTakaba

Description

@KiyofumiTakaba

These parameters are distributed over several places in the current source code or should become more easily modifiable. I hope them to be reorganized with the reference to redis (or another unified configuration file). Some others may be overlooked.

class others:
    ### will be removed when these are registered in the dataserver
    rotation_axis_theta = 21.8 # parser['rotation_axis_theta']
    rotation_axis_theta_lm1200x = 52.86 # hopefully be replaced with values for each mag
  • default value for end angle of rotation
    ui_components/tem_controls/ui_tem_specific.py
179     self.update_end_angle.setValue(60) # will be replaced with configuration file
  • frequency of communication with TEM
    jungfrau_gui/ui_components/tem_controls/tem_action.py
118         self.timer_tem_connexion.start(2000)
  • delay (in sec) for starting illumination and data-recording
    ui_components/tem_controls/task/record_task.py
111         self.client.Setf1OverRateTxNum(phi_dot_idx)
112         time.sleep(1) 
113         self.client.SetBeamBlank(0)
114         time.sleep(0.5)
  • frequency in checking the stage status during the rotation measurement
    ui_components/tem_controls/task/record_task.py
146                     logfile.write(f"{t - t0:20.6f}  {pos[3]:8.3f} deg\n")
147                     time.sleep(0.1)

Metadata

Metadata

Labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions