watex.utils.exmath.find_bound_for_integration#

watex.utils.exmath.find_bound_for_integration(ix_arr, b0=[])[source]#

Recursive function to find the roots between f curve and basement curves so to detect the integration bounds.

The function use entirely numpy for seaching integration bound. Since it is much faster than find_limit_for_integration() although both did the same tasks.

Parameters:
  • ix_arr – array-like - Indexes array from masked array where the value are true i.e. where \(b-f > 0 \Rightarrow b > f\) .

  • b0 – list - Empy list to hold the limit during entire loop

Returns:

list - integration bounds

Note

\(b > f \Longrightarrow\) Curve b (basement) is above the fitting curve \(f\) . \(b < f\) otherwise. The pseudoarea is the area where \(b > f\) .