Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement error dict to be returned to track multiwire success #55

Open
github-actions bot opened this issue Nov 19, 2022 · 0 comments
Open

implement error dict to be returned to track multiwire success #55

github-actions bot opened this issue Nov 19, 2022 · 0 comments
Labels
help wanted Extra attention is needed todo

Comments

@github-actions
Copy link

# 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()

        
@github-actions github-actions bot added the todo label Nov 19, 2022
@pluflou pluflou added the help wanted Extra attention is needed label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed todo
Projects
None yet
Development

No branches or pull requests

1 participant