Skip to content

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

@github-actions

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

        

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