rcatool.stats.ASoP.bins_calc

rcatool.stats.ASoP.bins_calc(n, bintype='Klingaman')[source]

Calculates bins with edges according to Eq. 1 in Klingaman et al. (2017); https://www.geosci-model-dev.net/10/57/2017/

Parameters:
  • n (array/list) – 1D array or list with bin numbers

  • bintype (str) – The type of bins to be calculated; ‘Klingaman’ (see reference) or ‘exponential’ for exponential bins.

Returns:

bn – 1D array of bin edges

Return type:

array