|
fosanalysis
A framework to evaluate distributed fiber optic sensor data
|
Assigns the transfer length to a all cracks.Crack objects in a cracks.CrackList. More...
Public Member Functions | |
| __init__ (self, **dict methods) | |
| Constructs a CrackLength object. | |
| cracks.CrackList | run (self, x, strain, cracks.CrackList crack_list) |
| Estimates the transfer length of all cracks according to methods. | |
| 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 | |
| methods = methods if methods else {"min": True, "length": 0.2, "reset": "inner"} | |
| Dictionary of methods to restrict the effective lengths of a crack with their respective options. | |
Protected Member Functions | |
| int | _first_index_leq_threshold (self, data, threshold) |
| Return the index of the first entry in data, that is less or equal than the given threshold and None, if no entry fulfills this condition. | |
Assigns the transfer length to a all cracks.Crack objects in a cracks.CrackList.
Definition at line 15 of file separation.py.
| fosanalysis.crackmonitoring.separation.CrackLengths.__init__ | ( | self, | |
| **dict | methods ) |
Constructs a CrackLength object.
| methods | Dictionary of methods to restrict the effective lengths of a crack with their respective options. For more, see methods. |
Definition at line 19 of file separation.py.
|
protected |
Return the index of the first entry in data, that is less or equal than the given threshold and None, if no entry fulfills this condition.
Definition at line 48 of file separation.py.
| cracks.CrackList fosanalysis.crackmonitoring.separation.CrackLengths.run | ( | self, | |
| x, | |||
| strain, | |||
| cracks.CrackList | crack_list ) |
Estimates the transfer length of all cracks according to methods.
Limits that are None are replaced by \(-\infty\) for the left and \(\infty\) right limit prior to the assignments
| x | Positional x values. |
| strain | List of strain values. |
| crack_list | cracks.CrackList with cracks.Crack objects, that already have assigned locations. |
Definition at line 56 of file separation.py.
| fosanalysis.crackmonitoring.separation.CrackLengths.methods = methods if methods else {"min": True, "length": 0.2, "reset": "inner"} |
Dictionary of methods to restrict the effective lengths of a crack with their respective options.
All given methods are carried out, the transfer length will be the tightest interval (the limit closest to the cracks location wins). Default is: {"min": True, "length": 0.2, "reset": "inner"}.
Availabe methods/options:
Definition at line 47 of file separation.py.