madgui.online.procedure module

Contains classes to work with an automated measurement procedure that changes element parameters and records values whenever a new set of monitor readouts is received.

Classes

OrbitRecord(monitor, readout, optics, tm)

Target(elem, x, y[, px, py])

Corrector(session[, direct])

Class for orbit correction procedure.

ProcBot(widget, corrector)

class madgui.online.procedure.Corrector(session, direct=True)[source]

Bases: madgui.model.match.Matcher

Class for orbit correction procedure.

Attributes

mode

str(object=’’) -> str

setup_changed

Signal<>

Methods

add_record(step, shot[, time])

apply()

can_fit()

close_export()

compute_orbit_response_matrix([knowsReadouts])

compute_sectormap()

compute_steerer_corrections()

current_orbit_records()

fit_particle_orbit(records)

knows_targets_readouts()

open_export(fname)

set_optic(i)

set_optics_delta(deltas, default)

setup(config[, dirs])

update_fit()

update_records()

update_vars()

write_data(data[, indent])

write_shot(step, shot, records[, time])

active_optic = None
add_record(step, shot, time=None)[source]
apply()[source]
can_fit()[source]
close_export()[source]
compute_orbit_response_matrix(knowsReadouts=True)[source]
compute_sectormap()[source]
compute_steerer_corrections()[source]
current_orbit_records()[source]
fit_particle_orbit(records)[source]
knows_targets_readouts()[source]
mode = 'xy'
open_export(fname)[source]
set_optic(i)[source]
set_optics_delta(deltas, default)[source]
setup(config, dirs=None)[source]
setup_changed

Signal<>

update_fit()[source]
update_records()[source]
update_vars()[source]
write_data(data, indent='', **kwd)[source]
write_shot(step, shot, records, time=None)[source]
class madgui.online.procedure.OrbitRecord(monitor, readout, optics, tm)[source]

Bases: object

class madgui.online.procedure.ProcBot(widget, corrector)[source]

Bases: object

Methods

cancel()

finish()

start(num_ignore, num_average[, gui])

stop()

cancel()[source]
finish()[source]
start(num_ignore, num_average, gui=True)[source]
stop()[source]
class madgui.online.procedure.Target(elem, x, y, px=0.0, py=0.0)[source]

Bases: object