Rename get_beam_center to get_beam_mark

This commit is contained in:
2025-06-02 15:50:15 +02:00
parent 439a77b830
commit 1e2dffed85
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ class BeamlineConfig:
)
self.beam_center_coeff = model
def get_beam_center(self, zoom: float) -> tuple[float, float]:
def get_beam_mark(self, zoom: float) -> tuple[float, float]:
model = self.beam_center_coeff
x_pxl = np.polyval(model.coeff_x, zoom)
y_pxl = np.polyval(model.coeff_y, zoom)
+1 -1
View File
@@ -402,7 +402,7 @@ class AareDAQ:
)
def get_beam_center(self):
return self.__cfg.get_beam_center(self.__devs.zoom)
return self.__cfg.get_beam_mark(self.__devs.zoom)
def listen_changes(self) -> redis.client.PubSub:
return self.__cfg.listen_changes()