dtwPlot

AlignmentPlot

logio.dynamic_time_warping.AlignmentPlot(alignment_vector, query_index='Query Log index', reference_index='Reference Log index', **kwargs)[source]

Plotting of dynamic time warp results: annotated warping function

Details Display the query and reference well logs and their warping curve, arranged for visual inspection. The query log is plotted in the bottom panel, with indices growing rightwards and values upwards. Reference log is in the left panel, indices growing upwards and values leftwards.

Parameters
  • alignment_vector (object) – an alignment result, object of class DtwResult

  • query_index (str) – name of query_index label

  • reference_index (str) – name of reference_index label

  • ... – additional arguments, used for the warping curve

Returns

axes

Return type

figure axes

ThreeWayPlot

logio.dynamic_time_warping.ThreeWayPlot(alignment_vector, query=None, reference=None, match_indices=None, match_col='gray', query_label='Query log index', reference_label='Reference log index', **kwargs)[source]

Plotting of dynamic time warp results: annotated warping function

Details Display the query and reference well logs and their warping curve, arranged for visual inspection. The query log is plotted in the bottom panel, with indices growing rightwards and values upwards. Reference log is in the left panel, indices growing upwards and values leftwards.

Parameters
  • alignment_vector (object) – an alignment result, object of class DtwResult

  • query (Series) – query log (log of considerable interest)

  • reference (Series) – log from another well, which we intend to correlate or align with the query log.

  • query_label – label for the query axis

  • reference_label – label for the reference axis

  • match_indices – indices for which to draw a visual guide

  • ... – additional arguments, used for the warping curve

Returns

axes

Return type

figure axes