watex.utils.exmath.plot_sfi#
- watex.utils.exmath.plot_sfi(cz, p=None, s=None, dipolelength=None, fig_size=(10, 4), style='classic', **plotkws)[source]#
Plot sfi parameter components.
- Parameters:
cz (array-like 1d,) – Selected conductive zone
p (array-like 1d,) – Station positions of the conductive zone.
dipolelength (float. If p is not given, it will be set) – automatically using the default value to match the
czsize. The default value is10.fig_size (tuple, default=(10, 4)) – Matplotlib (MPL) figure size; should be a tuple value of integers
See also
watex.utils.exmath.sfifor more details about the sfi parameter computation.
Examples
>>> import numpy as np >>> from watex.utils.exmath import plot_sfi >>> rang = np.random.RandomState (42) >>> condzone = np.abs(rang.randn (7))*1e2 >>> plotkws = dict (rlabel = 'Selected conductive zone (cz)', color=f'{P().frcolortags.get("fr3")}', ) >>> plot_sfi (condzone, **plotkws)