Window
BaseWindow
- class logio.dynamic_time_warping.BaseWindow[source]
Base class on which the desired window constraint is built upon. The warping window intuitively controls the amount of distortion allowed when comparing a pair of well logs.
Generally they are two types of wapring windows: 1. Sakoechiba’s Window implemented in SakoechibaWindow class. 2. Itakura’s Window implemented in ItakuraWindow class.
- plot():
Visualize window (constraint)..
NoWindow
- class logio.dynamic_time_warping.NoWindow(len_x, len_y)[source]
No window class.
- _gen_window(len_x, len_y):
Generates the window constraint matrix.
- label = 'no window'
- plot()
Visualize window (constraint).
SakoechibaWindow
- class logio.dynamic_time_warping.SakoechibaWindow(len_x, len_y, size)[source]
Sakoechiba window warping constraint.
- _gen_window(len_x, len_y, size):
Generates the window constraint matrix.
- __init__(len_x, len_y, size)[source]
Constructs all the necessary attributes for the SakoechibaWindow object.
- label = 'sakoechiba window'
- plot()
Visualize window (constraint).
ItakuraWindow
- class logio.dynamic_time_warping.ItakuraWindow(len_x, len_y)[source]
A class for the Itakura window warping constraint.
- _gen_window(len_x, len_y):
Generates the window constraint matrix.
- __init__(len_x, len_y)[source]
Constructs all the necessary attributes for the ItakuraWindow object.
- label = 'itakura window'
- plot()
Visualize window (constraint).
UserWindow
- class logio.dynamic_time_warping.UserWindow(len_x, len_y, win_func, *args, **kwargs)[source]
A class for user defined window constraints.
Option for a user defined window is implemented in UserWindow class. The user window defined must be a function that returns a boolean.
- win_func
Any function which returns bool.
- Type
callable
- \*args, \*\*kwargs
Arguments for win_func
- _gen_window(len_x, len_y, win_func, \*args, \*\*kwargs):
Generates the window constraint matrix.
- __init__(len_x, len_y, win_func, *args, **kwargs)[source]
Constructs all the necessary attributes for the UserWindow object.
- label = 'user defined window'
- plot()
Visualize window (constraint).