junifer 0.0.6.dev51__py3-none-any.whl → 0.0.6.dev91__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. junifer/__init__.py +2 -33
  2. junifer/__init__.pyi +33 -0
  3. junifer/_version.py +2 -2
  4. junifer/api/__init__.py +2 -3
  5. junifer/api/__init__.pyi +4 -0
  6. junifer/api/functions.py +1 -2
  7. junifer/api/py.typed +0 -0
  8. junifer/api/queue_context/__init__.py +2 -4
  9. junifer/api/queue_context/__init__.pyi +5 -0
  10. junifer/api/queue_context/py.typed +0 -0
  11. junifer/cli/__init__.py +4 -3
  12. junifer/cli/__init__.pyi +3 -0
  13. junifer/cli/cli.py +17 -0
  14. junifer/cli/py.typed +0 -0
  15. junifer/cli/tests/test_cli_utils.py +2 -0
  16. junifer/configs/juseless/__init__.py +2 -2
  17. junifer/configs/juseless/__init__.pyi +3 -0
  18. junifer/configs/juseless/datagrabbers/__init__.py +2 -12
  19. junifer/configs/juseless/datagrabbers/__init__.pyi +13 -0
  20. junifer/configs/juseless/datagrabbers/py.typed +0 -0
  21. junifer/configs/juseless/py.typed +0 -0
  22. junifer/data/__init__.py +2 -42
  23. junifer/data/__init__.pyi +43 -0
  24. junifer/data/py.typed +0 -0
  25. junifer/datagrabber/__init__.py +2 -26
  26. junifer/datagrabber/__init__.pyi +27 -0
  27. junifer/datagrabber/aomic/__init__.py +2 -4
  28. junifer/datagrabber/aomic/__init__.pyi +5 -0
  29. junifer/datagrabber/aomic/py.typed +0 -0
  30. junifer/datagrabber/hcp1200/__init__.py +2 -3
  31. junifer/datagrabber/hcp1200/__init__.pyi +4 -0
  32. junifer/datagrabber/hcp1200/py.typed +0 -0
  33. junifer/datagrabber/py.typed +0 -0
  34. junifer/datareader/__init__.py +2 -2
  35. junifer/datareader/__init__.pyi +3 -0
  36. junifer/datareader/py.typed +0 -0
  37. junifer/external/nilearn/__init__.py +2 -3
  38. junifer/external/nilearn/__init__.pyi +4 -0
  39. junifer/external/nilearn/py.typed +0 -0
  40. junifer/markers/__init__.py +2 -38
  41. junifer/markers/__init__.pyi +37 -0
  42. junifer/markers/complexity/__init__.py +2 -18
  43. junifer/markers/complexity/__init__.pyi +17 -0
  44. junifer/markers/complexity/py.typed +0 -0
  45. junifer/markers/falff/__init__.py +2 -3
  46. junifer/markers/falff/__init__.pyi +4 -0
  47. junifer/markers/falff/py.typed +0 -0
  48. junifer/markers/functional_connectivity/__init__.py +2 -12
  49. junifer/markers/functional_connectivity/__init__.pyi +13 -0
  50. junifer/markers/functional_connectivity/py.typed +0 -0
  51. junifer/markers/py.typed +0 -0
  52. junifer/markers/reho/__init__.py +2 -3
  53. junifer/markers/reho/__init__.pyi +4 -0
  54. junifer/markers/reho/py.typed +0 -0
  55. junifer/markers/temporal_snr/__init__.py +2 -3
  56. junifer/markers/temporal_snr/__init__.pyi +4 -0
  57. junifer/markers/temporal_snr/py.typed +0 -0
  58. junifer/pipeline/__init__.py +2 -10
  59. junifer/pipeline/__init__.pyi +13 -0
  60. junifer/{markers/collection.py → pipeline/marker_collection.py} +7 -7
  61. junifer/pipeline/py.typed +0 -0
  62. junifer/pipeline/registry.py +70 -2
  63. junifer/{markers/tests/test_collection.py → pipeline/tests/test_marker_collection.py} +2 -3
  64. junifer/preprocess/__init__.py +2 -10
  65. junifer/preprocess/__init__.pyi +11 -0
  66. junifer/preprocess/confounds/__init__.py +2 -2
  67. junifer/preprocess/confounds/__init__.pyi +3 -0
  68. junifer/preprocess/confounds/py.typed +0 -0
  69. junifer/preprocess/py.typed +0 -0
  70. junifer/preprocess/smoothing/__init__.py +2 -2
  71. junifer/preprocess/smoothing/__init__.pyi +3 -0
  72. junifer/preprocess/smoothing/py.typed +0 -0
  73. junifer/preprocess/warping/__init__.py +2 -2
  74. junifer/preprocess/warping/__init__.pyi +3 -0
  75. junifer/preprocess/warping/py.typed +0 -0
  76. junifer/py.typed +0 -0
  77. junifer/storage/__init__.py +2 -10
  78. junifer/storage/__init__.pyi +11 -0
  79. junifer/storage/py.typed +0 -0
  80. junifer/testing/__init__.py +2 -3
  81. junifer/testing/__init__.pyi +4 -0
  82. junifer/testing/py.typed +0 -0
  83. junifer/utils/__init__.py +2 -14
  84. junifer/utils/__init__.pyi +15 -0
  85. junifer/utils/py.typed +0 -0
  86. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/METADATA +2 -1
  87. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/RECORD +92 -40
  88. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/AUTHORS.rst +0 -0
  89. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/LICENSE.md +0 -0
  90. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/WHEEL +0 -0
  91. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/entry_points.txt +0 -0
  92. {junifer-0.0.6.dev51.dist-info → junifer-0.0.6.dev91.dist-info}/top_level.txt +0 -0
junifer/__init__.py CHANGED
@@ -4,38 +4,7 @@
4
4
  # Synchon Mandal <s.mandal@fz-juelich.de>
5
5
  # License: AGPL
6
6
 
7
- from . import (
8
- api,
9
- cli,
10
- configs,
11
- data,
12
- datagrabber,
13
- datareader,
14
- markers,
15
- pipeline,
16
- preprocess,
17
- stats,
18
- storage,
19
- utils,
20
- external,
21
- onthefly,
22
- )
23
- from ._version import __version__
7
+ import lazy_loader as lazy
24
8
 
25
9
 
26
- __all__ = [
27
- "api",
28
- "cli",
29
- "configs",
30
- "data",
31
- "datagrabber",
32
- "datareader",
33
- "markers",
34
- "pipeline",
35
- "preprocess",
36
- "stats",
37
- "storage",
38
- "utils",
39
- "external",
40
- "onthefly",
41
- ]
10
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
junifer/__init__.pyi ADDED
@@ -0,0 +1,33 @@
1
+ __all__ = [
2
+ "api",
3
+ "configs",
4
+ "data",
5
+ "datagrabber",
6
+ "datareader",
7
+ "markers",
8
+ "pipeline",
9
+ "preprocess",
10
+ "stats",
11
+ "storage",
12
+ "utils",
13
+ "external",
14
+ "onthefly",
15
+ "__version__",
16
+ ]
17
+
18
+ from . import (
19
+ api,
20
+ configs,
21
+ data,
22
+ datagrabber,
23
+ datareader,
24
+ markers,
25
+ pipeline,
26
+ preprocess,
27
+ stats,
28
+ storage,
29
+ utils,
30
+ external,
31
+ onthefly,
32
+ )
33
+ from ._version import __version__
junifer/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.0.6.dev51'
16
- __version_tuple__ = version_tuple = (0, 0, 6, 'dev51')
15
+ __version__ = version = '0.0.6.dev91'
16
+ __version_tuple__ = version_tuple = (0, 0, 6, 'dev91')
junifer/api/__init__.py CHANGED
@@ -4,8 +4,7 @@
4
4
  # Synchon Mandal <s.mandal@fz-juelich.de>
5
5
  # License: AGPL
6
6
 
7
- from . import decorators
8
- from .functions import collect, list_elements, reset, run, queue
7
+ import lazy_loader as lazy
9
8
 
10
9
 
11
- __all__ = ["decorators", "collect", "queue", "run", "reset", "list_elements"]
10
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,4 @@
1
+ __all__ = ["decorators", "collect", "queue", "run", "reset", "list_elements"]
2
+
3
+ from . import decorators
4
+ from .functions import collect, list_elements, reset, run, queue
junifer/api/functions.py CHANGED
@@ -14,8 +14,7 @@ from typing import Dict, List, Optional, Tuple, Union
14
14
  from ..api.queue_context import GnuParallelLocalAdapter, HTCondorAdapter
15
15
  from ..datagrabber.base import BaseDataGrabber
16
16
  from ..markers.base import BaseMarker
17
- from ..markers.collection import MarkerCollection
18
- from ..pipeline import WorkDirManager
17
+ from ..pipeline import MarkerCollection, WorkDirManager
19
18
  from ..pipeline.registry import build
20
19
  from ..preprocess.base import BasePreprocessor
21
20
  from ..storage.base import BaseFeatureStorage
junifer/api/py.typed ADDED
File without changes
@@ -3,9 +3,7 @@
3
3
  # Authors: Synchon Mandal <s.mandal@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from .queue_context_adapter import QueueContextAdapter
7
- from .htcondor_adapter import HTCondorAdapter
8
- from .gnu_parallel_local_adapter import GnuParallelLocalAdapter
6
+ import lazy_loader as lazy
9
7
 
10
8
 
11
- __all__ = ["QueueContextAdapter", "HTCondorAdapter", "GnuParallelLocalAdapter"]
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,5 @@
1
+ __all__ = ["QueueContextAdapter", "HTCondorAdapter", "GnuParallelLocalAdapter"]
2
+
3
+ from .queue_context_adapter import QueueContextAdapter
4
+ from .htcondor_adapter import HTCondorAdapter
5
+ from .gnu_parallel_local_adapter import GnuParallelLocalAdapter
File without changes
junifer/cli/__init__.py CHANGED
@@ -1,8 +1,9 @@
1
- """Junifer CLI."""
1
+ """Junifer CLI components."""
2
2
 
3
3
  # Authors: Synchon Mandal <s.mandal@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from .cli import cli
6
+ import lazy_loader as lazy
7
7
 
8
- __all__ = ["cli"]
8
+
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,3 @@
1
+ __all__ = ["cli"]
2
+
3
+ from .cli import cli
junifer/cli/cli.py CHANGED
@@ -28,6 +28,23 @@ from .utils import (
28
28
  )
29
29
 
30
30
 
31
+ __all__ = [
32
+ "cli",
33
+ "run",
34
+ "collect",
35
+ "queue",
36
+ "wtf",
37
+ "selftest",
38
+ "reset",
39
+ "list_elements",
40
+ "setup",
41
+ "afni_docker",
42
+ "fsl_docker",
43
+ "ants_docker",
44
+ "freesurfer_docker",
45
+ ]
46
+
47
+
31
48
  def _validate_verbose(
32
49
  ctx: click.Context, param: str, value: str
33
50
  ) -> Union[str, int]:
junifer/cli/py.typed ADDED
File without changes
@@ -47,6 +47,7 @@ def test_get_dependency_information_short() -> None:
47
47
  "tqdm",
48
48
  "templateflow",
49
49
  "lapy",
50
+ "lazy_loader",
50
51
  "looseversion",
51
52
  ]
52
53
 
@@ -76,6 +77,7 @@ def test_get_dependency_information_long() -> None:
76
77
  "tqdm",
77
78
  "templateflow",
78
79
  "lapy",
80
+ "lazy_loader",
79
81
  ]
80
82
  for key in dependency_list:
81
83
  assert key in dependency_information_keys
@@ -3,7 +3,7 @@
3
3
  # Authors: Federico Raimondo <f.raimondo@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from . import datagrabbers
6
+ import lazy_loader as lazy
7
7
 
8
8
 
9
- __all__ = ["datagrabbers"]
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,3 @@
1
+ __all__ = ["datagrabbers"]
2
+
3
+ from . import datagrabbers
@@ -5,17 +5,7 @@
5
5
  # Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  # License: AGPL
7
7
 
8
- from .aomic_id1000_vbm import JuselessDataladAOMICID1000VBM
9
- from .camcan_vbm import JuselessDataladCamCANVBM
10
- from .ixi_vbm import JuselessDataladIXIVBM
11
- from .ucla import JuselessUCLA
12
- from .ukb_vbm import JuselessDataladUKBVBM
8
+ import lazy_loader as lazy
13
9
 
14
10
 
15
- __all__ = [
16
- "JuselessDataladAOMICID1000VBM",
17
- "JuselessDataladCamCANVBM",
18
- "JuselessDataladIXIVBM",
19
- "JuselessUCLA",
20
- "JuselessDataladUKBVBM",
21
- ]
11
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,13 @@
1
+ __all__ = [
2
+ "JuselessDataladAOMICID1000VBM",
3
+ "JuselessDataladCamCANVBM",
4
+ "JuselessDataladIXIVBM",
5
+ "JuselessUCLA",
6
+ "JuselessDataladUKBVBM",
7
+ ]
8
+
9
+ from .aomic_id1000_vbm import JuselessDataladAOMICID1000VBM
10
+ from .camcan_vbm import JuselessDataladCamCANVBM
11
+ from .ixi_vbm import JuselessDataladIXIVBM
12
+ from .ucla import JuselessUCLA
13
+ from .ukb_vbm import JuselessDataladUKBVBM
File without changes
File without changes
junifer/data/__init__.py CHANGED
@@ -4,47 +4,7 @@
4
4
  # Synchon Mandal <s.mandal@fz-juelich.de>
5
5
  # License: AGPL
6
6
 
7
- from .coordinates import (
8
- list_coordinates,
9
- load_coordinates,
10
- register_coordinates,
11
- get_coordinates,
12
- )
13
- from .parcellations import (
14
- list_parcellations,
15
- load_parcellation,
16
- register_parcellation,
17
- merge_parcellations,
18
- get_parcellation,
19
- )
7
+ import lazy_loader as lazy
20
8
 
21
- from .masks import (
22
- list_masks,
23
- load_mask,
24
- register_mask,
25
- get_mask,
26
- )
27
9
 
28
- from .template_spaces import get_template, get_xfm
29
-
30
- from . import utils
31
-
32
-
33
- __all__ = [
34
- "list_coordinates",
35
- "load_coordinates",
36
- "register_coordinates",
37
- "get_coordinates",
38
- "list_parcellations",
39
- "load_parcellation",
40
- "register_parcellation",
41
- "merge_parcellations",
42
- "get_parcellation",
43
- "list_masks",
44
- "load_mask",
45
- "register_mask",
46
- "get_mask",
47
- "get_template",
48
- "get_xfm",
49
- "utils",
50
- ]
10
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,43 @@
1
+ __all__ = [
2
+ "list_coordinates",
3
+ "load_coordinates",
4
+ "register_coordinates",
5
+ "get_coordinates",
6
+ "list_parcellations",
7
+ "load_parcellation",
8
+ "register_parcellation",
9
+ "merge_parcellations",
10
+ "get_parcellation",
11
+ "list_masks",
12
+ "load_mask",
13
+ "register_mask",
14
+ "get_mask",
15
+ "get_template",
16
+ "get_xfm",
17
+ "utils",
18
+ ]
19
+
20
+ from .coordinates import (
21
+ list_coordinates,
22
+ load_coordinates,
23
+ register_coordinates,
24
+ get_coordinates,
25
+ )
26
+ from .parcellations import (
27
+ list_parcellations,
28
+ load_parcellation,
29
+ register_parcellation,
30
+ merge_parcellations,
31
+ get_parcellation,
32
+ )
33
+
34
+ from .masks import (
35
+ list_masks,
36
+ load_mask,
37
+ register_mask,
38
+ get_mask,
39
+ )
40
+
41
+ from .template_spaces import get_template, get_xfm
42
+
43
+ from . import utils
junifer/data/py.typed ADDED
File without changes
@@ -5,31 +5,7 @@
5
5
  # Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  # License: AGPL
7
7
 
8
+ import lazy_loader as lazy
8
9
 
9
- # These 4 need to be in this order, otherwise it is a circular import
10
- from .base import BaseDataGrabber
11
- from .datalad_base import DataladDataGrabber
12
- from .pattern import PatternDataGrabber
13
- from .pattern_datalad import PatternDataladDataGrabber
14
10
 
15
- from .aomic import DataladAOMICID1000, DataladAOMICPIOP1, DataladAOMICPIOP2
16
- from .hcp1200 import HCP1200, DataladHCP1200
17
- from .multiple import MultipleDataGrabber
18
- from .dmcc13_benchmark import DMCC13Benchmark
19
-
20
- from .pattern_validation_mixin import PatternValidationMixin
21
-
22
- __all__ = [
23
- "BaseDataGrabber",
24
- "DataladDataGrabber",
25
- "PatternDataGrabber",
26
- "PatternDataladDataGrabber",
27
- "DataladAOMICID1000",
28
- "DataladAOMICPIOP1",
29
- "DataladAOMICPIOP2",
30
- "HCP1200",
31
- "DataladHCP1200",
32
- "MultipleDataGrabber",
33
- "DMCC13Benchmark",
34
- "PatternValidationMixin",
35
- ]
11
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,27 @@
1
+ __all__ = [
2
+ "BaseDataGrabber",
3
+ "DataladDataGrabber",
4
+ "PatternDataGrabber",
5
+ "PatternDataladDataGrabber",
6
+ "DataladAOMICID1000",
7
+ "DataladAOMICPIOP1",
8
+ "DataladAOMICPIOP2",
9
+ "HCP1200",
10
+ "DataladHCP1200",
11
+ "MultipleDataGrabber",
12
+ "DMCC13Benchmark",
13
+ "PatternValidationMixin",
14
+ ]
15
+
16
+ # These 4 need to be in this order, otherwise it is a circular import
17
+ from .base import BaseDataGrabber
18
+ from .datalad_base import DataladDataGrabber
19
+ from .pattern import PatternDataGrabber
20
+ from .pattern_datalad import PatternDataladDataGrabber
21
+
22
+ from .aomic import DataladAOMICID1000, DataladAOMICPIOP1, DataladAOMICPIOP2
23
+ from .hcp1200 import HCP1200, DataladHCP1200
24
+ from .multiple import MultipleDataGrabber
25
+ from .dmcc13_benchmark import DMCC13Benchmark
26
+
27
+ from .pattern_validation_mixin import PatternValidationMixin
@@ -4,9 +4,7 @@
4
4
  # Leonard Sasse <l.sasse@fz-juelich.de>
5
5
  # License: AGPL
6
6
 
7
- from .id1000 import DataladAOMICID1000
8
- from .piop1 import DataladAOMICPIOP1
9
- from .piop2 import DataladAOMICPIOP2
7
+ import lazy_loader as lazy
10
8
 
11
9
 
12
- __all__ = ["DataladAOMICID1000", "DataladAOMICPIOP1", "DataladAOMICPIOP2"]
10
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,5 @@
1
+ __all__ = ["DataladAOMICID1000", "DataladAOMICPIOP1", "DataladAOMICPIOP2"]
2
+
3
+ from .id1000 import DataladAOMICID1000
4
+ from .piop1 import DataladAOMICPIOP1
5
+ from .piop2 import DataladAOMICPIOP2
File without changes
@@ -3,8 +3,7 @@
3
3
  # Authors: Synchon Mandal <s.mandal@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from .hcp1200 import HCP1200
7
- from .datalad_hcp1200 import DataladHCP1200
6
+ import lazy_loader as lazy
8
7
 
9
8
 
10
- __all__ = ["HCP1200", "DataladHCP1200"]
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,4 @@
1
+ __all__ = ["HCP1200", "DataladHCP1200"]
2
+
3
+ from .hcp1200 import HCP1200
4
+ from .datalad_hcp1200 import DataladHCP1200
File without changes
File without changes
@@ -5,7 +5,7 @@
5
5
  # Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  # License: AGPL
7
7
 
8
- from .default import DefaultDataReader
8
+ import lazy_loader as lazy
9
9
 
10
10
 
11
- __all__ = ["DefaultDataReader"]
11
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,3 @@
1
+ __all__ = ["DefaultDataReader"]
2
+
3
+ from .default import DefaultDataReader
File without changes
@@ -3,8 +3,7 @@
3
3
  # Authors: Synchon Mandal <s.mandal@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from .junifer_nifti_spheres_masker import JuniferNiftiSpheresMasker
7
- from .junifer_connectivity_measure import JuniferConnectivityMeasure
6
+ import lazy_loader as lazy
8
7
 
9
8
 
10
- __all__ = ["JuniferNiftiSpheresMasker", "JuniferConnectivityMeasure"]
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,4 @@
1
+ __all__ = ["JuniferNiftiSpheresMasker", "JuniferConnectivityMeasure"]
2
+
3
+ from .junifer_nifti_spheres_masker import JuniferNiftiSpheresMasker
4
+ from .junifer_connectivity_measure import JuniferConnectivityMeasure
File without changes
@@ -5,43 +5,7 @@
5
5
  # Synchon Mandal <s.mandal@fz-juelich.de>
6
6
  # License: AGPL
7
7
 
8
- from .base import BaseMarker
9
- from .collection import MarkerCollection
10
- from .ets_rss import RSSETSMarker
11
- from .parcel_aggregation import ParcelAggregation
12
- from .sphere_aggregation import SphereAggregation
13
- from .functional_connectivity import (
14
- FunctionalConnectivityParcels,
15
- FunctionalConnectivitySpheres,
16
- CrossParcellationFC,
17
- EdgeCentricFCParcels,
18
- EdgeCentricFCSpheres,
19
- )
20
- from .reho import ReHoParcels, ReHoSpheres
21
- from .falff import ALFFParcels, ALFFSpheres
22
- from .temporal_snr import (
23
- TemporalSNRParcels,
24
- TemporalSNRSpheres,
25
- )
26
- from .brainprint import BrainPrint
8
+ import lazy_loader as lazy
27
9
 
28
10
 
29
- __all__ = [
30
- "BaseMarker",
31
- "MarkerCollection",
32
- "RSSETSMarker",
33
- "ParcelAggregation",
34
- "SphereAggregation",
35
- "FunctionalConnectivityParcels",
36
- "FunctionalConnectivitySpheres",
37
- "CrossParcellationFC",
38
- "EdgeCentricFCParcels",
39
- "EdgeCentricFCSpheres",
40
- "ReHoParcels",
41
- "ReHoSpheres",
42
- "ALFFParcels",
43
- "ALFFSpheres",
44
- "TemporalSNRParcels",
45
- "TemporalSNRSpheres",
46
- "BrainPrint",
47
- ]
11
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,37 @@
1
+ __all__ = [
2
+ "BaseMarker",
3
+ "RSSETSMarker",
4
+ "ParcelAggregation",
5
+ "SphereAggregation",
6
+ "FunctionalConnectivityParcels",
7
+ "FunctionalConnectivitySpheres",
8
+ "CrossParcellationFC",
9
+ "EdgeCentricFCParcels",
10
+ "EdgeCentricFCSpheres",
11
+ "ReHoParcels",
12
+ "ReHoSpheres",
13
+ "ALFFParcels",
14
+ "ALFFSpheres",
15
+ "TemporalSNRParcels",
16
+ "TemporalSNRSpheres",
17
+ "BrainPrint",
18
+ ]
19
+
20
+ from .base import BaseMarker
21
+ from .ets_rss import RSSETSMarker
22
+ from .parcel_aggregation import ParcelAggregation
23
+ from .sphere_aggregation import SphereAggregation
24
+ from .functional_connectivity import (
25
+ FunctionalConnectivityParcels,
26
+ FunctionalConnectivitySpheres,
27
+ CrossParcellationFC,
28
+ EdgeCentricFCParcels,
29
+ EdgeCentricFCSpheres,
30
+ )
31
+ from .reho import ReHoParcels, ReHoSpheres
32
+ from .falff import ALFFParcels, ALFFSpheres
33
+ from .temporal_snr import (
34
+ TemporalSNRParcels,
35
+ TemporalSNRSpheres,
36
+ )
37
+ from .brainprint import BrainPrint
@@ -4,7 +4,6 @@
4
4
  # Synchon Mandal <s.mandal@fz-juelich.de>
5
5
  # License: AGPL
6
6
 
7
-
8
7
  from importlib.util import find_spec
9
8
 
10
9
  from ..utils import raise_error
@@ -17,21 +16,6 @@ if find_spec("neurokit2") is None:
17
16
  klass=ImportError,
18
17
  )
19
18
  else:
20
- # Import markers
21
- from .hurst_exponent import HurstExponent
22
- from .range_entropy import RangeEntropy
23
- from .range_entropy_auc import RangeEntropyAUC
24
- from .perm_entropy import PermEntropy
25
- from .weighted_perm_entropy import WeightedPermEntropy
26
- from .sample_entropy import SampleEntropy
27
- from .multiscale_entropy_auc import MultiscaleEntropyAUC
19
+ import lazy_loader as lazy
28
20
 
29
- __all__ = [
30
- "HurstExponent",
31
- "RangeEntropy",
32
- "RangeEntropyAUC",
33
- "PermEntropy",
34
- "WeightedPermEntropy",
35
- "SampleEntropy",
36
- "MultiscaleEntropyAUC",
37
- ]
21
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,17 @@
1
+ __all__ = [
2
+ "HurstExponent",
3
+ "RangeEntropy",
4
+ "RangeEntropyAUC",
5
+ "PermEntropy",
6
+ "WeightedPermEntropy",
7
+ "SampleEntropy",
8
+ "MultiscaleEntropyAUC",
9
+ ]
10
+
11
+ from .hurst_exponent import HurstExponent
12
+ from .range_entropy import RangeEntropy
13
+ from .range_entropy_auc import RangeEntropyAUC
14
+ from .perm_entropy import PermEntropy
15
+ from .weighted_perm_entropy import WeightedPermEntropy
16
+ from .sample_entropy import SampleEntropy
17
+ from .multiscale_entropy_auc import MultiscaleEntropyAUC
File without changes
@@ -3,8 +3,7 @@
3
3
  # Authors: Federico Raimondo <f.raimondo@fz-juelich.de>
4
4
  # License: AGPL
5
5
 
6
- from .falff_parcels import ALFFParcels
7
- from .falff_spheres import ALFFSpheres
6
+ import lazy_loader as lazy
8
7
 
9
8
 
10
- __all__ = ["ALFFParcels", "ALFFSpheres"]
9
+ __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
@@ -0,0 +1,4 @@
1
+ __all__ = ["ALFFParcels", "ALFFSpheres"]
2
+
3
+ from .falff_parcels import ALFFParcels
4
+ from .falff_spheres import ALFFSpheres
File without changes