|
def | __init__ (self) |
|
def | setup_tab (self, window) |
|
def | add_ts (self, ts) |
|
def | setup_ts_edit (self) |
|
def | localmethod (self, setup_layout) |
|
def | remove_all_ts (self, deletedata='yes') |
|
def | remove_ts (self, label, deletedata='yes') |
|
def | startslider_changed (self, label, value) |
|
def | startspinbox_changed (self, label, value) |
|
def | endslider_changed (self, label, value) |
|
def | endspinbox_changed (self, label, value) |
|
def | calculate (self, model) |
|
def | index_from_label (self, label) |
|
def | index_from_name (self, name) |
|
def | plot (self, plotdata, layout) |
|
def | deleteplot (self) |
|
def | on_key_press (self, event) |
|
def | enablecalcbutton (self) |
|
def | export_all_results (self) |
|
Class for taking care of the full stress calculations
Definition at line 572 of file timehist.py.
def timehist.FullStressCalc.__init__ |
( |
|
self | ) |
|
def timehist.FullStressCalc.add_ts |
( |
|
self, |
|
|
|
ts |
|
) |
| |
MEthod for adding a time series. obviously
:param ts: time series object
Definition at line 662 of file timehist.py.
def timehist.FullStressCalc.calculate |
( |
|
self, |
|
|
|
model |
|
) |
| |
Method responsible for setting up the calculation. Calculation thrown to threads
:param model: The model of the riser. Type slenders.Slender
Definition at line 943 of file timehist.py.
def timehist.FullStressCalc.deleteplot |
( |
|
self | ) |
|
Method for removign the plot thouroghly
Definition at line 1254 of file timehist.py.
def timehist.FullStressCalc.enablecalcbutton |
( |
|
self | ) |
|
Enables the calcbutton, so new calculations can be carried out
Definition at line 1271 of file timehist.py.
def timehist.FullStressCalc.endslider_changed |
( |
|
self, |
|
|
|
label, |
|
|
|
value |
|
) |
| |
Method for keeping track of slider. With possible coupling between elements
:param label:Label of the time series of which the slider belong
:param value:Curent value of slider
Definition at line 893 of file timehist.py.
def timehist.FullStressCalc.endspinbox_changed |
( |
|
self, |
|
|
|
label, |
|
|
|
value |
|
) |
| |
Method for keeping track of slider. With possible coupling between elements
:param label:Label of the time series of which the spinbox belong
:param value:Curent value of slider
Definition at line 918 of file timehist.py.
def timehist.FullStressCalc.export_all_results |
( |
|
self | ) |
|
Method for merging all the files from the full calculations to one h5 file
Definition at line 1278 of file timehist.py.
def timehist.FullStressCalc.index_from_label |
( |
|
self, |
|
|
|
label |
|
) |
| |
Method for finding the index in the time series vector .
:param label: Label of the timeseries
:return:
Definition at line 974 of file timehist.py.
def timehist.FullStressCalc.index_from_name |
( |
|
self, |
|
|
|
name |
|
) |
| |
Method for finding the index in the time series vector .
:param name: Name of the timeseries
:return:
Definition at line 984 of file timehist.py.
def timehist.FullStressCalc.localmethod |
( |
|
self, |
|
|
|
setup_layout |
|
) |
| |
Method for setting up an area where the user can choose parameters to be used.
Should be split up if more options than analyticalare added
:param setup_layout: The parent layout in this case
Definition at line 723 of file timehist.py.
def timehist.FullStressCalc.on_key_press |
( |
|
self, |
|
|
|
event |
|
) |
| |
implement the default mpl key press events described at
http://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts
Definition at line 1263 of file timehist.py.
def timehist.FullStressCalc.plot |
( |
|
self, |
|
|
|
plotdata, |
|
|
|
layout |
|
) |
| |
Plots data on the layout <layout>. Uses the color given in plotdata
:param plotdata: object of PlotData type.
:param layout: Where to add the plot
Definition at line 995 of file timehist.py.
def timehist.FullStressCalc.remove_all_ts |
( |
|
self, |
|
|
|
deletedata = 'yes' |
|
) |
| |
Method for removing all the timeseries from view, and with option for also removing them from calculation scope
:param deletedata: Toggle for whether the underlying data should be removed
Definition at line 793 of file timehist.py.
def timehist.FullStressCalc.remove_ts |
( |
|
self, |
|
|
|
label, |
|
|
|
deletedata = 'yes' |
|
) |
| |
Method for removing a single time series from view. With option for removing the time
series from calculations scope as well
:param label: The label of the time series
:param deletedata:Toggle for whether the underlying data should be removed
Definition at line 803 of file timehist.py.
def timehist.FullStressCalc.setup_tab |
( |
|
self, |
|
|
|
window |
|
) |
| |
Method for setting up the tab where user sets preferences
:param window: The main application window
Definition at line 603 of file timehist.py.
def timehist.FullStressCalc.setup_ts_edit |
( |
|
self | ) |
|
Method for setting up the edit area for the time series
Definition at line 669 of file timehist.py.
def timehist.FullStressCalc.startslider_changed |
( |
|
self, |
|
|
|
label, |
|
|
|
value |
|
) |
| |
Method for keeping track of slider. With possible coupling between elements
:param label:Label of the time series of which the slider belong
:param value:Curent value of slider
Definition at line 843 of file timehist.py.
def timehist.FullStressCalc.startspinbox_changed |
( |
|
self, |
|
|
|
label, |
|
|
|
value |
|
) |
| |
Method for keeping track of spinbox. With possible coupling between elements
:param label:Label of the time series of which the slider belong
:param value:Curent value of slider
Definition at line 868 of file timehist.py.
timehist.FullStressCalc.analyses |
timehist.FullStressCalc.canvas |
timehist.FullStressCalc.endSliders |
timehist.FullStressCalc.endSpinboxes |
timehist.FullStressCalc.headerStartLinker |
timehist.FullStressCalc.headerStopLinker |
timehist.FullStressCalc.labels |
timehist.FullStressCalc.lines |
timehist.FullStressCalc.mainwidget |
timehist.FullStressCalc.mpl_toolbar |
timehist.FullStressCalc.plotlist |
timehist.FullStressCalc.removeButtons |
timehist.FullStressCalc.removeFullCalcResultSignal = QtCore.Signal() |
|
static |
timehist.FullStressCalc.startSliders |
timehist.FullStressCalc.startSpinboxes |
timehist.FullStressCalc.timehists |
timehist.FullStressCalc.widget |
The documentation for this class was generated from the following file: