Alpha Management#

class pycafee.utils.helpers.AlphaManagement(alfa=None, **kwargs)[source]#

Instanciates a class for alpha managment. This class inherits from LanguageManagement and it is primarily for internal use.

Methods

get_alfa()

Returns the current alpha value

get_language()

Returns the current language

set_alfa(alfa)

Changes the alpha value

set_language(language)

Changes the current language

get_alfa()[source]#

Returns the current alpha value

get_language()#

Returns the current language

set_alfa(alfa)[source]#

Changes the alpha value

Parameters
alfafloat

The new significance level

Notes

This method only allows input of type float and between 0.0 and 1.0.

set_language(language)#

Changes the current language

Parameters
languagestr

The language code

Notes

The language must be a str with no more then 5 elements.