watex.view.TPlot.plot_rhophi#

TPlot.plot_rhophi(sites=None, mode='TE', scale='period', seed=None, how='py', show_site=True, survey=None, style=None, errorbar=True, suppress_outliers=False, kind='2', n_sites=1, spad=0.5, **kws)[source]#

Plot resistivities and phases from multiples stations.

Parameters:
  • mode (str, default='TE',) – Electromagnetic mode. Can be [‘TM’ |’both’]. If both, components xy and yx are expected in the data.

  • sites (int,str, or list, optional) – A collection of index of name of the site . Each site must be composed of a position number. For instance 'S13'. If not provided, a random sites are selected instead using the n_sites parameter.

  • scale (str, default='period') – Visualization on axis labell. can be 'frequency'.

  • seed (int, optional) – If site is not provided, seed fetches randomly a site. To fetch the same sime everytimes, it is better to set the seed value.

  • how (str, default='py') – The way the site is fetched for plot. For instance, in Python indexing (default), the site is numbered from 0. For instance ‘site05’ will fetch the data at index 4. If this positioning is not wished, set to ‘None’.

  • show_site (bool, default=True,) – Display the number of site.

  • survey (str, optional) – Method used for the survey. e.g., ‘AMT’ for Audio-Magnetotellurics.

  • style (str, default='default') – Matplotlib style.

  • errorbar (bool, default=True) – display the error bar.

  • suppress_outliers (bool, default=False,) – Remove outliers in the data before plotting

  • n_sites (int, default =1.) – Number of random sites to select for visualizing. It cannot work if the names of sites are given.

  • spad (float, default=.5,) –

    pad to display the station in the top of each section plot.

    New in version 0.2.1.

  • kws (dict,) – Addfitional keywords arguments passed to Matplotlib.Axes.Scatter plots.

Examples

>>> import watex as wx
>>> edi_data = wx.fetch_data ('edis', return_data =True, samples =27)
>>> wx.methods.TPlot(show_grid=True).fit(edi_data).plot_rhophi (
    seed =52, mode ='*', n_sites =3 )