Coverage for emd/__init__.py: 88%

17 statements  

« prev     ^ index     » next       coverage.py v7.6.11, created at 2025-03-08 15:44 +0000

1"""EMD Package.""" 

2 

3#!/usr/bin/python 

4 

5# vim: set expandtab ts=4 sw=4: 

6 

7""" 

8Package for Empirical Mode Decomposition analyses. 

9 

10Submodules: 

11 sift - compute Intrinsic Mode Functions from time-series 

12 imftools - compute common metrics and operations on IMFs 

13 spectra - compute frequency transforms and power spectra 

14 cycles - routines for analysing single cycles 

15 simulate - create artificial signals for analysis 

16 plotting - helper functions for producing figures 

17 logger - tracking analysis progress to the console or logfiles 

18 support - helpers relating to packaging, checking and errors 

19 utils - general helpers that don't fit elsewhere 

20 

21""" 

22 

23# Main imports 

24from . import _sift_core # noqa: F401, F403, I001 

25from . import support # noqa: F401, F403, I001 

26from . import sift # noqa: F401, F403, I001 

27from . import spectra # noqa: F401, F403, I001 

28from . import _cycles_support # noqa: F401, F403, I001 

29from . import cycles # noqa: F401, F403, I001 

30from . import imftools # noqa: F401, F403 

31from . import logger # noqa: F401, F403 

32from . import plotting # noqa: F401, F403, I001 

33from . import simulate # noqa: F401, F403 

34 

35# Store package version 

36try: 

37 from importlib.metadata import version 

38 __version__ = version("emd") 

39except Exception: 

40 __version__ = "Unknown" 

41 

42# Set logger to only show warning/critical messages 

43logger.set_up(level='WARNING')