Skip to content
Snippets Groups Projects

fix/AGIPD_CM_processing_issue_redmine_#75266

Merged Karim Ahmed requested to merge fix/det_ticket_75266_CM_bug into master
1 unresolved thread
1 file
+ 3
4
Compare changes
  • Side-by-side
  • Inline
@@ -371,17 +371,16 @@ class AgipdCorrections:
dark_max = self.cm_dark_max
fraction = self.cm_dark_fraction
n_itr = self.cm_n_itr
cell_id = self.shared_dict[i_proc]['cellId']
train_id = self.shared_dict[i_proc]['trainId']
n_img = self.shared_dict[i_proc]['nImg'][0]
cell_id = self.shared_dict[i_proc]['cellId'][:n_img]
train_id = self.shared_dict[i_proc]['trainId'][:n_img]
cell_ids = cell_id[train_id == train_id[0]]
n_cells = cell_ids.size
data = self.shared_dict[i_proc]['data'][:n_img].reshape(-1, n_cells,
8, 64, 2, 64)
# Loop over iterations
for i in range(n_itr):
for _ in range(n_itr):
# Loop over rows of cells
first = 0
for cell_row in range(11):
Loading