pycsamt.zonge.config
This module provides foundational base classes and configuration
objects for the Zonge subpackage.
Classes
-
class pycsamt.zonge.config.Zonge(verbose=False, **kws)[source]
Bases: object
A foundational base class for Zonge data objects.
This class provides common attributes and methods, such as
verbosity control, a standardized logger, and parameter
management, that can be inherited by other classes in the
Zonge subpackage.
- Parameters:
verbose (bool, default False) – Controls the level of detail in logging output. If True,
informational and debugging messages will be displayed.
**kws (dict) – Additional keyword arguments for future compatibility.
-
get_params(deep=True)[source]
Get parameters for this object.
This method retrieves the parameters that were set in the
object’s __init__ method.
- Parameters:
deep (bool, default True) – If True, will recursively return the parameters for
contained sub-objects.
- Returns:
A dictionary of parameter names mapped to their values.
- Return type:
dict
-
set_params(**params)[source]
Set the parameters of this object.
This method allows for updating the object’s parameters
after it has been instantiated.
- Parameters:
**params (dict) – A dictionary of parameter names and their new values.
- Returns:
self – The instance with updated parameters.
- Return type:
object