watex.view.TPlot.plot_phase_tensors#

TPlot.plot_phase_tensors(mode='frequency', stretch=(7000, 20), linedir='ns', tensor='phimin', ellipse_dict=None, **kws)[source]#

Plot phase tensor pseudosection and skew ellipsis visualization.

Method plots the phase tensor ellipses in a pseudo section format. It uses mtpy as dependency.

Parameters
  • mode (str, default ='frequency') – Tempoora scale in y-axis. Can be [‘frequency’ | ‘period’]

  • stretch (float or tuple (xstretch, ystretch), default=200) – Is a factor that scales the distance from one station to the next to make the plot readable. It determines (x,y) aspect ratio of plot.

  • linedir (str [ 'ns' | 'ew' ], default='ns') –

    The predominant direction of profile line. It can be [‘ns’ | ‘ew’] where:

    • ’ns’ refer to North-South Line or line is closer to north-south)

    • ’ew’ refer to East-West line or line is closer to east-west

    Default is ‘ns’

  • tensor (str, default='phimin') –

    Is the tensor skew or ellipsis visualizations. The color for plot

    style is referred accordingly. Tensor can be:

    [ ‘phimin’ | ‘phimax’ | ‘skew’ |’skew_seg’ | ‘phidet’ |’ellipticity’ ]

    where:

    • ’phimin’ -> colors by minimum phase

    • ’phimax’ -> colors by maximum phase

    • ’skew’ -> colors by skew

    • ’skew_seg’ -> colors by skew indiscrete segments defined

      by the range

    • ’normalized_skew’ -> colors by skew see [Booker, 2014]

    • ’normalized_skew_seg’ -> colors by normalized skew in

      discrete segments defined by the range

    • ’phidet’ -> colors by determinant of the phase tensor

    • ’ellipticity’ -> colors by ellipticity default is ‘phimin’

  • ellipse_dict (dict, optional) –

    Dictionary of parameters for the phase tensor ellipses with keys:

    • ’size’: float, default =2 , is the size of ellipse in points

    • ’colorby’str, default=’phimin’

      Is the color for plot style referring either to tensor, skew or ellipsis visualizations. It can be all the tensor parameter values. see tensor parameter values. [ ‘phimin’ | ‘phimax’ | ‘skew’ |’skew_seg’ | ‘phidet’ |’ellipticity’ ]

    • ’range’tuple (min, max, step), default=’colorby’

      Need to input at least the min and max and if using ‘skew_seg’ to plot discrete values input step as well

    • ’cmap’[ ‘mt_yl2rd’ | ‘mt_bl2yl2rd’ |’mt_wh2bl’ | ‘mt_rd2bl’ |

      ’mt_bl2wh2rd’ | ‘mt_seg_bl2wh2rd’ |’mt_rd2gr2bl’ ]

      • ’mt_yl2rd’ -> yellow to red

      • ’mt_bl2yl2rd’ -> blue to yellow to red

      • ’mt_wh2bl’ -> white to blue

      • ’mt_rd2bl’ -> red to blue

      • ’mt_bl2wh2rd’ -> blue to white to red

      • ’mt_bl2gr2rd’ -> blue to green to red

      • ’mt_rd2gr2bl’ -> red to green to blue

      • ’mt_seg_bl2wh2rd’ -> discrete blue to white to red

  • kws (dict) – Additional keywords arguments passed from |MTpy| pseudosection phase tensor class: PlotPhaseTensorPseudoSection

See also

mtpy.imaging.phase_tensor_pseudosection.PlotPhaseTensorPseudoSection

PlotPhase pseudo section tensor from |MTpy| package.

watex.utils.plot_skew

Phase sensitive skew visualization.

Examples

>>> import watex as wx
>>> edi_data = wx.fetch_data ('edis', key='edi', return_data =True , samples =17 )
>>> tplot = wx.TPlot ().fit(edi_data )
>>> tplot.plot_phase_tensors (tensor ='skew')