Constants#

class sunkit_spex.constants.Constants(*args, **kwargs)[source]#

Bases: object

Centralised constant representation

Methods Summary

get_constant(name)

Return the value of the constant.

Methods Documentation

get_constant(name)[source]#

Return the value of the constant. :param name: Name of constant :type name: str

Returns:

Value of constant

Return type:

float