fosanalysis
A framework to evaluate distributed fiber optic sensor data
Loading...
Searching...
No Matches
fosanalysis.compensation.shrinking.ShrinkCompensator Class Reference

Implements compensation for shrink and creeping of concrete. More...

Inheritance diagram for fosanalysis.compensation.shrinking.ShrinkCompensator:

Public Member Functions

 __init__ (self, str method="mean_min", *args, **kwargs)
 Constructs a ShrinkCompensator object.
 
np.array run (self, np.array x, np.array strain, np.array strain_inst)
 The influence of concrete creep and shrinking is calculated.
 
- Public Member Functions inherited from fosanalysis.compensation.compensator.Compensator
 __init__ (self, *args, **kwargs)
 Base class for any compensatory class.
 
- Public Member Functions inherited from fosanalysis.utils.base.Task
 __init__ (self, *args, **kwargs)
 
- Public Member Functions inherited from fosanalysis.utils.base.Base
 __init__ (self, *args, **kwargs)
 Construct the object and warn about unused/unknown arguments.
 

Public Attributes

 args = args
 Positional arguments, will be passed to scipy.signal.find_peaks().
 
 kwargs = kwargs
 Keyword arguments, will be passed to scipy.signal.find_peaks().
 
 method = method
 Method, how to calculate the shrinkage calibration.
 

Detailed Description

Implements compensation for shrink and creeping of concrete.

Definition at line 13 of file shrinking.py.

Constructor & Destructor Documentation

◆ __init__()

fosanalysis.compensation.shrinking.ShrinkCompensator.__init__ ( self,
str method = "mean_min",
* args,
** kwargs )

Constructs a ShrinkCompensator object.

Parameters
methodMethod, how to calculate the shrinkage calibration. For more, see method.
argsPositional arguments, will be passed to scipy.signal.find_peaks(). For more, see args.
kwargsKeyword arguments, will be passed to scipy.signal.find_peaks(). For more, see kwargs.

Definition at line 17 of file shrinking.py.

Here is the caller graph for this function:

Member Function Documentation

◆ run()

np.array fosanalysis.compensation.shrinking.ShrinkCompensator.run ( self,
np.array x,
np.array strain,
np.array strain_inst )

The influence of concrete creep and shrinking is calculated.

All of the parameters are assumed to be in sync and sanitized.

Parameters
xPositional data.
strainStrain data, belonging to x, that was measured with time delay after applying the load.
strain_instInstantaneous strain belonging to x, that appear right after applying the load to the structure.
Returns
Returns an array of same length as the given arrays.

Reimplemented from fosanalysis.compensation.compensator.Compensator.

Definition at line 36 of file shrinking.py.

Member Data Documentation

◆ args

fosanalysis.compensation.shrinking.ShrinkCompensator.args = args

Positional arguments, will be passed to scipy.signal.find_peaks().

By default empty.

Definition at line 32 of file shrinking.py.

◆ kwargs

fosanalysis.compensation.shrinking.ShrinkCompensator.kwargs = kwargs

Keyword arguments, will be passed to scipy.signal.find_peaks().

By default empty.

Definition at line 35 of file shrinking.py.

◆ method

fosanalysis.compensation.shrinking.ShrinkCompensator.method = method

Method, how to calculate the shrinkage calibration.

Available options:

  • "mean_min": (default) For all entries in local minima in in the instantaneous strain stain_inst, the difference to the same value in strain is measured. Afterwards the mean over the differences is taken.

Definition at line 29 of file shrinking.py.


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