GaugiKernel package
Submodules
GaugiKernel.ComponentAccumulator module
GaugiKernel.Cpp module
GaugiKernel.Logger module
- class GaugiKernel.Logger.Logger(d={}, **kw)[source]
Bases:
objectSimple class for giving inherited classes logging capability as well as the possibility for being serialized by pickle. Logger will keep its logging level even after unpickled.
GaugiKernel.MultiProcessing module
- class GaugiKernel.MultiProcessing.Pool(func, inputs, maxJobs, output, dry_run)[source]
Bases:
Logger
GaugiKernel.constants module
GaugiKernel.enumerators module
- class GaugiKernel.enumerators.EnumStringification[source]
Bases:
objectAdds ‘enum’ static methods for conversion to/from string
- classmethod retrieve(val)[source]
Retrieve int value and check if it is a valid enumeration string or int on this enumeration class.
GaugiKernel.macros module
Module contents
- class GaugiKernel.ComponentAccumulator(name, output)[source]
Bases:
Logger- Parameters:
name (str)
output (str)
- class GaugiKernel.EnumStringification[source]
Bases:
objectAdds ‘enum’ static methods for conversion to/from string
- classmethod retrieve(val)[source]
Retrieve int value and check if it is a valid enumeration string or int on this enumeration class.
- class GaugiKernel.Logger(d={}, **kw)[source]
Bases:
objectSimple class for giving inherited classes logging capability as well as the possibility for being serialized by pickle. Logger will keep its logging level even after unpickled.
- class GaugiKernel.LoggingLevel[source]
Bases:
EnumStringificationA wrapper for logging levels, which allows stringification of known log levels.
- CRITICAL = 50
- DEBUG = 10
- ERROR = 40
- FATAL = 50
- INFO = 20
- MUTE = 50
- VERBOSE = 9
- WARNING = 30