|
fosanalysis
A framework to evaluate distributed fiber optic sensor data
|
Abstract base class for preprocessing classes. More...
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Construct an instance of the class. | |
| tuple | run (self, np.array x=None, np.array y=None, np.array z=None, bool make_copy=True, *args, **kwargs) |
Each preprocessing.Base object has a run() method to carry out the preprocessing task and return the preprocessed data. | |
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. | |
| fosanalysis.preprocessing.base.Base.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
Construct an instance of the class.
As this is an abstract class, it may not be instantiated directly itself.
| *args | Additional positional arguments, will be passed to the superconstructor. |
| **kwargs | Additional keyword arguments, will be passed to the superconstructor. |
Definition at line 21 of file base.py.
| tuple fosanalysis.preprocessing.base.Base.run | ( | self, | |
| np.array | x = None, | ||
| np.array | y = None, | ||
| np.array | z = None, | ||
| bool | make_copy = True, | ||
| * | args, | ||
| ** | kwargs ) |
Each preprocessing.Base object has a run() method to carry out the preprocessing task and return the preprocessed data.
| x | Array of measuring point positions. |
| y | Array of time stamps. |
| z | Array of strain data in accordance to x and y. |
| make_copy | Switch, whether a deepcopy of the passed data should be done. Defaults to True. |
| *args | Additional positional arguments to customize the behaviour. |
| **kwargs | Additional keyword arguments to customize the behaviour. |
(x, y, z). They correspond to the input variables of the same name. Each of those might be changed. Reimplemented in fosanalysis.preprocessing.base.Task, fosanalysis.preprocessing.filtering.Limit, fosanalysis.preprocessing.filtering.SlidingFilter, fosanalysis.preprocessing.Preprocessing, fosanalysis.preprocessing.repair.NaNFilter, fosanalysis.preprocessing.repair.ScipyInterpolation1D, fosanalysis.preprocessing.resizing.Aggregate, fosanalysis.preprocessing.resizing.Crop, and fosanalysis.preprocessing.resizing.Downsampler.