def register(self): self.sig_start_registration.emit() self.registrator = Registrator.GalvoRegistrator() self.transform = self.registrator.registration() self.save_transformation() self.sig_finished_registration.emit()
def register(self, laser): self.sig_start_registration.emit() ## Add control for lasers, signal slot should be there in AOTF widget registrator = Registrator.DMDRegistator(self.DMD_actuator) self.transform[laser] = registrator.registration( registration_pattern="circle") self.save_transformation() self.sig_finished_registration.emit()