watex.view.TPlot.plot_rhoa#
- TPlot.plot_rhoa(mode='TE', scale='period', site=None, seed=None, how='py', show_site=True, survey=None, style=None, errorbar=True, suppress_outliers=False, **kws)[source]#
Plot apparent resistivity and phase curves
- Parameters:
mode (str, default='TE',) – Electromagnetic mode. Can be [‘TM’ |’both’]. If
both, components xy and yx are expected in the data.scale (str, default='period') – Visualization on axis labell. can be
'frequency'.site (int,str, optional) – index of name of the site to plot. site must be composed of a position number. For instance
'S13'. If not provided, a random station is selected instead.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
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.TPlot(show_grid=True).fit(edi_data).plot_rhoa ( seed =52, mode ='*')