PyFlex  1.0
Riser cross section analysis
timehist.FullStressCalc Class Reference
Inheritance diagram for timehist.FullStressCalc:
Collaboration diagram for timehist.FullStressCalc:

Public Member Functions

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)
 

Public Attributes

 timehists
 
 removeButtons
 
 labels
 
 startSliders
 
 startSpinboxes
 
 endSliders
 
 endSpinboxes
 
 mainwidget
 
 headerStartLinker
 
 headerStopLinker
 
 widget
 
 analyses
 
 canvas
 
 mpl_toolbar
 
 plotlist
 
 lines
 

Static Public Attributes

 removeFullCalcResultSignal = QtCore.Signal()
 

Detailed Description

Class for taking care of the full stress calculations

Definition at line 572 of file timehist.py.

Constructor & Destructor Documentation

def timehist.FullStressCalc.__init__ (   self)

Definition at line 577 of file timehist.py.

Member Function Documentation

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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

timehist.FullStressCalc.analyses

Definition at line 594 of file timehist.py.

timehist.FullStressCalc.canvas

Definition at line 596 of file timehist.py.

timehist.FullStressCalc.endSliders

Definition at line 584 of file timehist.py.

timehist.FullStressCalc.endSpinboxes

Definition at line 585 of file timehist.py.

timehist.FullStressCalc.headerStartLinker

Definition at line 588 of file timehist.py.

timehist.FullStressCalc.headerStopLinker

Definition at line 589 of file timehist.py.

timehist.FullStressCalc.labels

Definition at line 581 of file timehist.py.

timehist.FullStressCalc.lines

Definition at line 601 of file timehist.py.

timehist.FullStressCalc.mainwidget

Definition at line 587 of file timehist.py.

timehist.FullStressCalc.mpl_toolbar

Definition at line 597 of file timehist.py.

timehist.FullStressCalc.plotlist

Definition at line 599 of file timehist.py.

timehist.FullStressCalc.removeButtons

Definition at line 580 of file timehist.py.

timehist.FullStressCalc.removeFullCalcResultSignal = QtCore.Signal()
static

Definition at line 575 of file timehist.py.

timehist.FullStressCalc.startSliders

Definition at line 582 of file timehist.py.

timehist.FullStressCalc.startSpinboxes

Definition at line 583 of file timehist.py.

timehist.FullStressCalc.timehists

Definition at line 579 of file timehist.py.

timehist.FullStressCalc.widget

Definition at line 591 of file timehist.py.


The documentation for this class was generated from the following file: