File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -189,10 +189,14 @@ def load_data(self):
189189 logging .info (f"Filename: { self .filename } " )
190190
191191 # by default the center of rotation is the center of the image
192- self .center_of_rotation = (
193- self .num_lines_per_frame // 2 ,
194- self .num_lines_per_frame // 2 ,
195- )
192+ if not self .config ["biased_center" ]:
193+ self .center_of_rotation = (
194+ self .num_lines_per_frame // 2 ,
195+ self .num_lines_per_frame // 2 ,
196+ )
197+ else :
198+ self .center_of_rotation = tuple (self .config ["biased_center" ])
199+
196200 self .hooks = {}
197201 self .rotation_plane_angle = 0
198202 self .rotation_plane_orientation = 0
Original file line number Diff line number Diff line change @@ -37,3 +37,5 @@ analog_signals_processing:
3737interpolation :
3838 line_use_start : True
3939 frame_use_start : True
40+
41+ biased_center : [129, 121]
You can’t perform that action at this time.
0 commit comments