mesmer.stats._power_transformer.constant_lambda_function

mesmer.stats._power_transformer.constant_lambda_function#

mesmer.stats._power_transformer.constant_lambda_function(coeffs, local_yearly_T)#

Use a constant for lambda. The function is defined as

\[\lambda = \xi_0\]
Parameters:
  • coeffs (ndarray of shape (1,)) – Coefficients for the logistic function. Here \(\xi_0\) directly corresponds to lambda.

  • local_yearly_T (ndarray of shape (n_years,)) – Unused.

Notes

local_yearly_T is passed for consistency.

Returns:

lambdas (ndarray of float of shape (n_years,)) – The parameters of the power transformation for each gridcell and month