Coverage for src/foapy/characteristics/__init__.py: 86%
19 statements
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-17 20:45 +0000
« prev ^ index » next coverage.py v7.8.0, created at 2025-05-17 20:45 +0000
1import sys
3# We first need to detect if we're being called as part of the numpy setup
4# procedure itself in a reliable manner.
5try:
6 __FOAPY_SETUP__
7except NameError:
8 __FOAPY_SETUP__ = False
10if __FOAPY_SETUP__: 10 ↛ 11line 10 didn't jump to line 11 because the condition on line 10 was never true
11 sys.stderr.write("Running from foapy.characteristics source directory.\n")
12else:
13 from ._arithmetic_mean import arithmetic_mean # noqa: F401
14 from ._average_remoteness import average_remoteness # noqa: F401
15 from ._depth import depth # noqa: F401
16 from ._descriptive_information import descriptive_information # noqa: F401
17 from ._geometric_mean import geometric_mean # noqa: F401
18 from ._identifying_information import identifying_information # noqa: F401
19 from ._regularity import regularity # noqa: F401
20 from ._uniformity import uniformity # noqa: F401
21 from ._volume import volume # noqa: F401
23 __all__ = list(
24 {
25 "volume",
26 "arithmetic_mean",
27 "geometric_mean",
28 "average_remoteness",
29 "depth",
30 "descriptive_information",
31 "identifying_information",
32 "regularity",
33 "uniformity",
34 }
35 )
37 def __dir__():
38 return __all__