Fixes NaN appearing in GSkew arising from an Index Out of Bounds errors due to np.searchsorted returning an empty array when the q3 or q97 are "outside" the values. This happens when the errors span too many orders of magnitude, provoking a saturation of the cumulative sum.
Fixes
NaN
appearing inGSkew
arising from anIndex Out of Bounds
errors due tonp.searchsorted
returning an empty array when the q3 or q97 are "outside" the values. This happens when the errors span too many orders of magnitude, provoking a saturation of the cumulative sum.