GUI: smart_rotation_panel.py change calculation to update exposure time to 0.0011 s before changing transmission
This commit is contained in:
@@ -297,7 +297,7 @@ class SimpleRotationSettingsPanel(QWidget):
|
||||
|
||||
else:
|
||||
self.xtal_size_dose_rate_MGy_s = self.dose_rate_MGy_s
|
||||
|
||||
|
||||
if self.temp_enter.value > 250:
|
||||
self.target_dose_MGy = 0.1 * d_tar / 2.0 #TODO add user input
|
||||
else:
|
||||
@@ -315,9 +315,9 @@ class SimpleRotationSettingsPanel(QWidget):
|
||||
image_angle = 0.001
|
||||
self.n_images = round(total_angle / image_angle)
|
||||
self.image_time_s = self.total_time_s / self.n_images
|
||||
if self.image_time_s < 0.01:
|
||||
self.transmission = self.image_time_s / 0.01
|
||||
self.image_time_s = 0.01
|
||||
if self.image_time_s < 0.0011:
|
||||
self.transmission = self.image_time_s / 0.0011
|
||||
self.image_time_s = 0.0011
|
||||
else:
|
||||
self.transmission = 1.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user