madgui.widget.curvemanager module

Dialog for managing curves in a TwissFigure.

Classes

CurveManager(scene)

class madgui.widget.curvemanager.CurveManager(scene)[source]

Bases: PyQt5.QtWidgets.QWidget

Methods

accept()

connect_signals()

init_controls()

load_file(filename)

on_btn_load()

on_btn_save()

Add a Snapshot of the current twiss figure

show_curve(i, c)

Attributes

data

dataFileFilters

list() -> new empty list

ui_file

str(object=’’) -> str

accept()[source]
connect_signals()[source]
property data
dataFileFilters = [('Text files', '*.txt', '*.dat'), ('TFS tables', '*.tfs', '*.twiss')]
init_controls()[source]
load_file(filename)[source]
on_btn_load()[source]
on_btn_save()[source]

Add a Snapshot of the current twiss figure

show_curve(i, c)[source]
ui_file = 'curvemanager.ui'