|
| dialog |
|
| settings |
|
| cut |
|
| masses |
|
| cut_standard_mass |
|
| cut_standard_scatter_mass |
|
| bin_width |
|
| use_column |
|
| tof_histogram |
|
| tof_calibration_point |
|
| selection_given_manually |
|
| selected_tof |
|
| selectButton |
|
| main_frame |
|
| dpi |
|
| show_axis_ticks |
|
| fig |
|
| canvas |
|
| axes |
|
| mpl_toolbar |
|
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
settings, |
|
|
|
tof_calibration, |
|
|
|
cut, |
|
|
|
masses, |
|
|
|
bin_width = 2.0 , |
|
|
|
column = 1 , |
|
|
|
dialog = None |
|
) |
| |
Inits Energy Spectrum widget.
Args:
parent: CalibrationCurveFittingWidget
settings: Settings class object.
tof_calibration: TOFCalibration class object.
cut: CutFile class object.
masses: Reference to element masses object of main program.
bin_width: Histograms bin width
column: Which column of the CutFile's data is used to create a
histogram.
dialog: parent's parent dialog.
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.change_bin_width |
( |
|
self, |
|
|
|
bin_width |
|
) |
| |
Change histogram bin width.
Args:
bin_width: Float representing graph bin width.
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.change_cut |
( |
|
self, |
|
|
|
cut |
|
) |
| |
Changes the cut file to be drawn and analyzed
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.on_draw |
( |
|
self | ) |
|
Draw method for matplotlib.
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.onclick |
( |
|
self, |
|
|
|
event |
|
) |
| |
Handles clicks on the graph
Args:
event: Mouse click event.
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.set_calibration_point_externally |
( |
|
self, |
|
|
|
tof |
|
) |
| |
Set calibration point.
Args:
tof: Integer representing x axis value Time of Flight [Channel].
def Widgets.MatplotlibCalibrationCurveFittingWidget.MatplotlibCalibrationCurveFittingWidget.toggle_clicks |
( |
|
self | ) |
|
Toggle between manual ToF channel (x axis) selection.
The documentation for this class was generated from the following file:
- C:/MyTemp/ibasoft/ibasoft/Widgets/MatplotlibCalibrationCurveFittingWidget.py