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

Public Member Functions

def __init__ (self)
 
def add_ts (self, ts)
 
def setup_tab (self, window)
 
def setup_ts_edit (self)
 
def calculate (self, model)
 
def plot (self, parent)
 
def on_key_press (self, event)
 
def table (self)
 
def startslider_changed (self, value)
 
def startspinbox_changed (self, value)
 
def endslider_changed (self, value)
 
def endspinbox_changed (self, value)
 

Public Attributes

 timehist
 
 labels
 
 startSlider
 
 startSpinbox
 
 endSlider
 
 endSpinbox
 
 enabled
 
 mainwidget
 
 startTime
 
 stopTime
 
 startindex
 
 stopindex
 
 time
 
 bendStddev
 
 bendMax
 
 bendMin
 
 bendStress
 
 tension
 
 p_int
 
 p_ext
 
 stickStress
 
 stickStddev
 
 stickMax
 
 stickMin
 
 axialStress
 
 axialStddev
 
 axialMax
 
 axialMin
 
 mpl_toolbar
 
 canvas
 

Detailed Description

Class for holding data for friction calculations

Definition at line 122 of file timehist.py.

Constructor & Destructor Documentation

def timehist.FrictionCalc.__init__ (   self)

Definition at line 125 of file timehist.py.

Member Function Documentation

def timehist.FrictionCalc.add_ts (   self,
  ts 
)
Adding/changing a timeseries obviously.
:param ts: A time series

Definition at line 163 of file timehist.py.

def timehist.FrictionCalc.calculate (   self,
  model 
)
Calculates stress time histories based on given timehistory and model.
:param model:A model of slenders.Slender type

Definition at line 270 of file timehist.py.

Here is the call graph for this function:

def timehist.FrictionCalc.endslider_changed (   self,
  value 
)
:param value: Current value of slider

Definition at line 543 of file timehist.py.

Here is the caller graph for this function:

def timehist.FrictionCalc.endspinbox_changed (   self,
  value 
)
:param value: Current value of spinbox

Definition at line 557 of file timehist.py.

Here is the caller graph for this function:

def timehist.FrictionCalc.on_key_press (   self,
  event 
)
Wrapper for custom toolbar.
implement the default mpl key press events described at
http://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts
:param event:
:return:

Definition at line 446 of file timehist.py.

Here is the caller graph for this function:

def timehist.FrictionCalc.plot (   self,
  parent 
)
Plotting the calculated results

:param parent: Where the plot should plot itself

Definition at line 372 of file timehist.py.

Here is the call graph for this function:

def timehist.FrictionCalc.setup_tab (   self,
  window 
)
Setting up a widget where the input to the friction calculation will be shown.
Needs to be placed into the application on the outside to be shown.
:param window: The main window of the application. Adds itself to it and uses its eventfilter only.
:return:

Definition at line 169 of file timehist.py.

def timehist.FrictionCalc.setup_ts_edit (   self)
Setting up the widget for editing the timeseries. Called when a time series is dropped.

Definition at line 218 of file timehist.py.

Here is the call graph for this function:

def timehist.FrictionCalc.startslider_changed (   self,
  value 
)
:param value: Current value of slider

Definition at line 514 of file timehist.py.

Here is the caller graph for this function:

def timehist.FrictionCalc.startspinbox_changed (   self,
  value 
)
:param value: Current value of spinbox

Definition at line 529 of file timehist.py.

Here is the caller graph for this function:

def timehist.FrictionCalc.table (   self)
Makes a table of results and puts it in a widget.
Max min and stddev is calculated shown.

:return: A widget with the table in it

Definition at line 456 of file timehist.py.

Member Data Documentation

timehist.FrictionCalc.axialMax

Definition at line 156 of file timehist.py.

timehist.FrictionCalc.axialMin

Definition at line 157 of file timehist.py.

timehist.FrictionCalc.axialStddev

Definition at line 155 of file timehist.py.

timehist.FrictionCalc.axialStress

Definition at line 154 of file timehist.py.

timehist.FrictionCalc.bendMax

Definition at line 144 of file timehist.py.

timehist.FrictionCalc.bendMin

Definition at line 145 of file timehist.py.

timehist.FrictionCalc.bendStddev

Definition at line 143 of file timehist.py.

timehist.FrictionCalc.bendStress

Definition at line 146 of file timehist.py.

timehist.FrictionCalc.canvas

Definition at line 160 of file timehist.py.

timehist.FrictionCalc.enabled

Definition at line 132 of file timehist.py.

timehist.FrictionCalc.endSlider

Definition at line 130 of file timehist.py.

timehist.FrictionCalc.endSpinbox

Definition at line 131 of file timehist.py.

timehist.FrictionCalc.labels

Definition at line 127 of file timehist.py.

timehist.FrictionCalc.mainwidget

Definition at line 135 of file timehist.py.

timehist.FrictionCalc.mpl_toolbar

Definition at line 159 of file timehist.py.

timehist.FrictionCalc.p_ext

Definition at line 149 of file timehist.py.

timehist.FrictionCalc.p_int

Definition at line 148 of file timehist.py.

timehist.FrictionCalc.startindex

Definition at line 140 of file timehist.py.

timehist.FrictionCalc.startSlider

Definition at line 128 of file timehist.py.

timehist.FrictionCalc.startSpinbox

Definition at line 129 of file timehist.py.

timehist.FrictionCalc.startTime

Definition at line 137 of file timehist.py.

timehist.FrictionCalc.stickMax

Definition at line 152 of file timehist.py.

timehist.FrictionCalc.stickMin

Definition at line 153 of file timehist.py.

timehist.FrictionCalc.stickStddev

Definition at line 151 of file timehist.py.

timehist.FrictionCalc.stickStress

Definition at line 150 of file timehist.py.

timehist.FrictionCalc.stopindex

Definition at line 141 of file timehist.py.

timehist.FrictionCalc.stopTime

Definition at line 138 of file timehist.py.

timehist.FrictionCalc.tension

Definition at line 147 of file timehist.py.

timehist.FrictionCalc.time

Definition at line 142 of file timehist.py.

timehist.FrictionCalc.timehist

Definition at line 126 of file timehist.py.


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