-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
PyEmittance/pyemittance/observer.py
Line 148 in 3862eff
| # TODO: implement error dict to be returned to track multiwire success |
return self.get_beamsizes_model(self.inj_config, val)
else:
io = MachineIO(self.config_name, self.config_dict, self.meas_type)
io.online = self.online
io.use_profmon = self.use_profmon
# note we are not setting the injector on the machine here
return io.get_beamsizes_machine(self.inj_config, val)
def multiwire_measure_beam(self):
"""Get multiwire beamsize measurements"""
io = MachineIO(self.config_name, self.config_dict, self.meas_type)
io.online = self.online
io.emit_calc_type = self.emit_calc_type
# Note we are not setting the injector on the machine here
# This returns lists now: xrms, yrms, xrms_err, yrms_err
# TODO: implement error dict to be returned to track multiwire success
return io.get_multiwire_beamsizes()