spectrochempy.set_loglevel

set_loglevel(level: str | int = logging.WARNING) -> None: """ Set the logging level for SpectroChemPy. Parameters ---------- level : Union[str, int] Logging level (e.g. 'WARNING', 'DEBUG', etc. or logging constants) """ from spectrochempy.application.preferences import preferences if isinstance(level, str)[source]

Set the logging level for SpectroChemPy.

Parameters:

level (Union[str, int]) – Logging level (e.g. ‘WARNING’, ‘DEBUG’, etc. or logging constants)

Examples using spectrochempy.set_loglevel

Denoising a 2D Raman spectrum

Denoising a 2D Raman spectrum