Skip to content

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

Description

@github-actions

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

        

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions