The likelihood module

class pylife.materialdata.woehler.likelihood.AbstractLikelihood(fatigue_data)[source]

Calculate the likelihood a fatigue dataset matches with Wöhler curve parameters.

This is an abstract base class that must be subclassed from.

likelihood_finite(SD, k_1, ND, TN)[source]

Determine the likelihood for a certain finite endurance curve.

Parameters:
  • SD (float) – The tested endurance infinite limit

  • k_1 (float) – The tested slope for the finite zone of the Wöhler curve

  • TN (float) – The tested scatter of the finite endurance limit

  • ND (float) – The testsd finite limit cycle of the Wöhler curve

Returns:

likelihood – The likelihood that the parameters are correct.

Return type:

float

likelihood_infinite(SD, TS)[source]

Determine the likelihood for a certain inifinite endurance limit.

Parameters:
  • SD – Endurnace limit start value to be optimzed, unless the user fixed it.

  • TS – The scatter in load direction TS to be optimzed, unless the user fixed it.

Returns:

likelihood – The likelihood that the parameters are correct.

Return type:

float

likelihood_total(SD, TS, k_1, ND, TN)[source]

Determine the likelihood for a certain Wöhler curve.

Parameters:
  • SD (float) – The tested endurance infinite limit

  • k_1 (float) – The tested slope for the finite zone of the Wöhler curve

  • TN (float) – The tested scatter of the finite endurance limit

  • ND (float) – The testsd finite limit cycle of the Wöhler curve

Returns:

likelihood – The likelihood that the parameters are correct.

Return type:

float

class pylife.materialdata.woehler.likelihood.LikelihoodAllFractures(fatigue_data)[source]
class pylife.materialdata.woehler.likelihood.LikelihoodHighestMixedLevel(fatigue_data)[source]
class pylife.materialdata.woehler.likelihood.LikelihoodLegacy(fatigue_data)[source]
class pylife.materialdata.woehler.likelihood.LikelihoodPureFiniteZone(fatigue_data)[source]