opcsim 0.5.0
  • API
  • Tutorial
  • Gallery
  • Site
      • Installation
      • Contributing
      • API reference
      • Tutorial
      • Example gallery
  • Page
      • opcsim.utils.k_eff

opcsim.utils.k_eff¶

opcsim.utils.k_eff(kappas, weights=None, diams=None)¶

Calculate the effective k-kohler coefficient from an array of kappa values and their weights. Alternatively, an array of diameters can be passed which will be used to calculate the volumetric weights.

\[\kappa=\sum_{i=1} \epsilon_i \kappa_i\]
Parameters
kappas: ndarray

An array of k-kohler coefficients.

weights: ndarray, optional

An array of volumetric weights.

diams: ndarray

An array of diameters used to calculate the weights.

Returns
k_eff: float

The effective k-kohler coefficient.

Back to top

Source

© Copyright 2016-2020, David H Hagan and Jesse H Kroll.
Created using Sphinx 3.0.3.