Skip to content

Commit

Permalink
Adding Xeuss detector in the option of open data db
Browse files Browse the repository at this point in the history
  • Loading branch information
gfreychet committed Nov 4, 2024
1 parent e43cd8d commit a3416e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smi_analysis/SMI_beamline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import numpy as np
import copy


class SMI_geometry():
def __init__(self,
geometry,
Expand Down Expand Up @@ -142,7 +141,6 @@ def open_data_db(self, lst_img, optional_mask=None):
for img, bs in zip(lst_img, self.bs):
if self.detector != 'rayonix':
self.masks.append(self.det.calc_mask(bs=bs, bs_kind=self.bs_kind, optional_mask=optional_mask))

if self.detector == 'Pilatus1m':
self.imgs.append(img)
elif self.detector == 'Pilatus900kw':
Expand All @@ -156,6 +154,8 @@ def open_data_db(self, lst_img, optional_mask=None):
self.imgs.append(img)
elif self.detector == 'Pilatus300k_OPLS':
self.imgs.append(img)
elif self.detector == 'Eiger1M_xeuss':
self.imgs.append(img)

def calculate_integrator_trans(self, det_rots):
self.ai = []
Expand Down

0 comments on commit a3416e6

Please sign in to comment.