Rename get_beam_center to get_beam_mark
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user