junifer 0.0.5.dev110__py3-none-any.whl → 0.0.5.dev145__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.
- junifer/__init__.py +17 -0
- junifer/_version.py +2 -2
- junifer/api/__init__.py +3 -0
- junifer/api/decorators.py +9 -0
- junifer/api/functions.py +7 -4
- junifer/api/parser.py +3 -0
- junifer/api/queue_context/__init__.py +3 -0
- junifer/api/res/afni/run_afni_docker.sh +1 -1
- junifer/api/res/ants/run_ants_docker.sh +1 -1
- junifer/api/res/fsl/run_fsl_docker.sh +1 -1
- junifer/api/tests/test_api_utils.py +2 -0
- junifer/configs/juseless/__init__.py +3 -0
- junifer/configs/juseless/datagrabbers/__init__.py +9 -0
- junifer/configs/juseless/datagrabbers/aomic_id1000_vbm.py +3 -0
- junifer/configs/juseless/datagrabbers/camcan_vbm.py +3 -0
- junifer/configs/juseless/datagrabbers/ixi_vbm.py +3 -0
- junifer/configs/juseless/datagrabbers/ucla.py +3 -0
- junifer/configs/juseless/datagrabbers/ukb_vbm.py +3 -0
- junifer/data/__init__.py +20 -0
- junifer/data/coordinates.py +8 -0
- junifer/data/masks.py +10 -0
- junifer/data/parcellations.py +9 -0
- junifer/data/template_spaces.py +3 -0
- junifer/data/tests/test_masks.py +1 -1
- junifer/data/utils.py +3 -0
- junifer/datagrabber/__init__.py +15 -0
- junifer/datagrabber/aomic/__init__.py +3 -0
- junifer/datagrabber/aomic/id1000.py +3 -0
- junifer/datagrabber/aomic/piop1.py +3 -0
- junifer/datagrabber/aomic/piop2.py +3 -0
- junifer/datagrabber/base.py +3 -0
- junifer/datagrabber/datalad_base.py +3 -0
- junifer/datagrabber/hcp1200/__init__.py +3 -0
- junifer/datagrabber/hcp1200/datalad_hcp1200.py +3 -0
- junifer/datagrabber/hcp1200/hcp1200.py +3 -0
- junifer/datagrabber/multiple.py +3 -0
- junifer/datagrabber/pattern.py +5 -1
- junifer/datagrabber/pattern_datalad.py +3 -0
- junifer/datagrabber/utils.py +3 -0
- junifer/datareader/__init__.py +3 -0
- junifer/datareader/default.py +3 -0
- junifer/external/BrainPrint/brainprint/__init__.py +4 -0
- junifer/external/BrainPrint/brainprint/_version.py +3 -0
- junifer/external/BrainPrint/brainprint/asymmetry.py +91 -0
- junifer/external/BrainPrint/brainprint/brainprint.py +441 -0
- junifer/external/BrainPrint/brainprint/surfaces.py +258 -0
- junifer/external/BrainPrint/brainprint/utils/__init__.py +1 -0
- junifer/external/BrainPrint/brainprint/utils/_config.py +112 -0
- junifer/external/BrainPrint/brainprint/utils/utils.py +188 -0
- junifer/markers/__init__.py +22 -0
- junifer/markers/base.py +21 -7
- junifer/markers/brainprint.py +665 -0
- junifer/markers/collection.py +3 -0
- junifer/markers/complexity/__init__.py +10 -0
- junifer/markers/complexity/complexity_base.py +3 -0
- junifer/markers/complexity/hurst_exponent.py +3 -0
- junifer/markers/complexity/multiscale_entropy_auc.py +3 -0
- junifer/markers/complexity/perm_entropy.py +3 -0
- junifer/markers/complexity/range_entropy.py +3 -0
- junifer/markers/complexity/range_entropy_auc.py +3 -0
- junifer/markers/complexity/sample_entropy.py +3 -0
- junifer/markers/complexity/tests/test_hurst_exponent.py +7 -0
- junifer/markers/complexity/tests/test_multiscale_entropy_auc.py +7 -0
- junifer/markers/complexity/tests/test_perm_entropy.py +7 -0
- junifer/markers/complexity/tests/test_range_entropy.py +7 -0
- junifer/markers/complexity/tests/test_range_entropy_auc.py +7 -0
- junifer/markers/complexity/tests/test_sample_entropy.py +7 -0
- junifer/markers/complexity/tests/test_weighted_perm_entropy.py +7 -0
- junifer/markers/complexity/weighted_perm_entropy.py +3 -0
- junifer/markers/ets_rss.py +3 -0
- junifer/markers/falff/__init__.py +3 -0
- junifer/markers/falff/_afni_falff.py +3 -0
- junifer/markers/falff/_junifer_falff.py +3 -0
- junifer/markers/falff/falff_base.py +3 -0
- junifer/markers/falff/falff_parcels.py +3 -0
- junifer/markers/falff/falff_spheres.py +3 -0
- junifer/markers/functional_connectivity/__init__.py +9 -0
- junifer/markers/functional_connectivity/crossparcellation_functional_connectivity.py +3 -0
- junifer/markers/functional_connectivity/edge_functional_connectivity_parcels.py +3 -0
- junifer/markers/functional_connectivity/edge_functional_connectivity_spheres.py +3 -0
- junifer/markers/functional_connectivity/functional_connectivity_base.py +3 -0
- junifer/markers/functional_connectivity/functional_connectivity_parcels.py +3 -0
- junifer/markers/functional_connectivity/functional_connectivity_spheres.py +3 -0
- junifer/markers/parcel_aggregation.py +3 -0
- junifer/markers/reho/__init__.py +3 -0
- junifer/markers/reho/_afni_reho.py +4 -1
- junifer/markers/reho/_junifer_reho.py +4 -1
- junifer/markers/reho/reho_base.py +2 -0
- junifer/markers/reho/reho_parcels.py +5 -2
- junifer/markers/reho/reho_spheres.py +5 -2
- junifer/markers/sphere_aggregation.py +3 -0
- junifer/markers/temporal_snr/__init__.py +3 -0
- junifer/markers/temporal_snr/temporal_snr_base.py +3 -0
- junifer/markers/temporal_snr/temporal_snr_parcels.py +3 -0
- junifer/markers/temporal_snr/temporal_snr_spheres.py +3 -0
- junifer/markers/tests/test_brainprint.py +47 -0
- junifer/onthefly/__init__.py +3 -0
- junifer/onthefly/read_transform.py +3 -0
- junifer/pipeline/__init__.py +8 -0
- junifer/pipeline/pipeline_step_mixin.py +3 -0
- junifer/pipeline/registry.py +3 -0
- junifer/pipeline/singleton.py +3 -0
- junifer/pipeline/update_meta_mixin.py +3 -0
- junifer/pipeline/utils.py +3 -0
- junifer/pipeline/workdir_manager.py +3 -0
- junifer/preprocess/__init__.py +8 -0
- junifer/preprocess/base.py +4 -1
- junifer/preprocess/confounds/__init__.py +3 -0
- junifer/preprocess/confounds/fmriprep_confound_remover.py +3 -0
- junifer/preprocess/smoothing/__init__.py +3 -0
- junifer/preprocess/warping/__init__.py +3 -0
- junifer/preprocess/warping/_ants_warper.py +3 -0
- junifer/preprocess/warping/_fsl_warper.py +3 -0
- junifer/stats.py +3 -0
- junifer/storage/__init__.py +8 -0
- junifer/storage/base.py +3 -0
- junifer/storage/hdf5.py +3 -0
- junifer/storage/pandas_base.py +3 -0
- junifer/storage/sqlite.py +3 -0
- junifer/storage/utils.py +9 -0
- junifer/testing/__init__.py +3 -0
- junifer/testing/datagrabbers.py +7 -0
- junifer/testing/utils.py +3 -0
- junifer/utils/__init__.py +10 -0
- junifer/utils/fs.py +3 -0
- junifer/utils/helpers.py +3 -0
- junifer/utils/logging.py +10 -0
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/METADATA +2 -1
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/RECORD +134 -124
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/AUTHORS.rst +0 -0
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/LICENSE.md +0 -0
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/WHEEL +0 -0
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/entry_points.txt +0 -0
- {junifer-0.0.5.dev110.dist-info → junifer-0.0.5.dev145.dist-info}/top_level.txt +0 -0
junifer/pipeline/__init__.py
CHANGED
@@ -7,3 +7,11 @@ from . import registry
|
|
7
7
|
from .pipeline_step_mixin import PipelineStepMixin
|
8
8
|
from .update_meta_mixin import UpdateMetaMixin
|
9
9
|
from .workdir_manager import WorkDirManager
|
10
|
+
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
"registry",
|
14
|
+
"PipelineStepMixin",
|
15
|
+
"UpdateMetaMixin",
|
16
|
+
"WorkDirManager",
|
17
|
+
]
|
junifer/pipeline/registry.py
CHANGED
junifer/pipeline/singleton.py
CHANGED
junifer/pipeline/utils.py
CHANGED
junifer/preprocess/__init__.py
CHANGED
@@ -9,3 +9,11 @@ from .base import BasePreprocessor
|
|
9
9
|
from .confounds import fMRIPrepConfoundRemover
|
10
10
|
from .warping import SpaceWarper
|
11
11
|
from .smoothing import Smoothing
|
12
|
+
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
"BasePreprocessor",
|
16
|
+
"fMRIPrepConfoundRemover",
|
17
|
+
"SpaceWarper",
|
18
|
+
"Smoothing",
|
19
|
+
]
|
junifer/preprocess/base.py
CHANGED
@@ -11,6 +11,9 @@ from ..pipeline import PipelineStepMixin, UpdateMetaMixin
|
|
11
11
|
from ..utils import logger, raise_error
|
12
12
|
|
13
13
|
|
14
|
+
__all__ = ["BasePreprocessor"]
|
15
|
+
|
16
|
+
|
14
17
|
class BasePreprocessor(ABC, PipelineStepMixin, UpdateMetaMixin):
|
15
18
|
"""Abstract base class for all preprocessors.
|
16
19
|
|
@@ -136,7 +139,7 @@ class BasePreprocessor(ABC, PipelineStepMixin, UpdateMetaMixin):
|
|
136
139
|
A single input from the Junifer Data object to preprocess.
|
137
140
|
extra_input : dict, optional
|
138
141
|
The other fields in the Junifer Data object. Useful for accessing
|
139
|
-
other data
|
142
|
+
other data type that needs to be used in the computation. For
|
140
143
|
example, the confound removers can make use of the
|
141
144
|
confounds if available (default None).
|
142
145
|
|
junifer/stats.py
CHANGED
@@ -13,6 +13,9 @@ from scipy.stats.mstats import winsorize
|
|
13
13
|
from .utils import logger, raise_error
|
14
14
|
|
15
15
|
|
16
|
+
__all__ = ["get_aggfunc_by_name", "count", "winsorized_mean", "select"]
|
17
|
+
|
18
|
+
|
16
19
|
def get_aggfunc_by_name(
|
17
20
|
name: str, func_params: Optional[Dict[str, Any]] = None
|
18
21
|
) -> Callable:
|
junifer/storage/__init__.py
CHANGED
@@ -8,3 +8,11 @@ from .base import BaseFeatureStorage
|
|
8
8
|
from .pandas_base import PandasBaseFeatureStorage
|
9
9
|
from .sqlite import SQLiteFeatureStorage
|
10
10
|
from .hdf5 import HDF5FeatureStorage
|
11
|
+
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
"BaseFeatureStorage",
|
15
|
+
"PandasBaseFeatureStorage",
|
16
|
+
"SQLiteFeatureStorage",
|
17
|
+
"HDF5FeatureStorage",
|
18
|
+
]
|
junifer/storage/base.py
CHANGED
junifer/storage/hdf5.py
CHANGED
junifer/storage/pandas_base.py
CHANGED
junifer/storage/sqlite.py
CHANGED
junifer/storage/utils.py
CHANGED
@@ -14,6 +14,15 @@ import numpy as np
|
|
14
14
|
from ..utils.logging import logger, raise_error
|
15
15
|
|
16
16
|
|
17
|
+
__all__ = [
|
18
|
+
"get_dependency_version",
|
19
|
+
"process_meta",
|
20
|
+
"element_to_prefix",
|
21
|
+
"store_matrix_checks",
|
22
|
+
"matrix_to_vector",
|
23
|
+
]
|
24
|
+
|
25
|
+
|
17
26
|
def get_dependency_version(dependency: str) -> str:
|
18
27
|
"""Get dependency version.
|
19
28
|
|
junifer/testing/__init__.py
CHANGED
junifer/testing/datagrabbers.py
CHANGED
@@ -14,6 +14,13 @@ from nilearn import datasets, image
|
|
14
14
|
from ..datagrabber.base import BaseDataGrabber
|
15
15
|
|
16
16
|
|
17
|
+
__all__ = [
|
18
|
+
"OasisVBMTestingDataGrabber",
|
19
|
+
"SPMAuditoryTestingDataGrabber",
|
20
|
+
"PartlyCloudyTestingDataGrabber",
|
21
|
+
]
|
22
|
+
|
23
|
+
|
17
24
|
class OasisVBMTestingDataGrabber(BaseDataGrabber):
|
18
25
|
"""DataGrabber for Oasis VBM testing data.
|
19
26
|
|
junifer/testing/utils.py
CHANGED
junifer/utils/__init__.py
CHANGED
@@ -7,3 +7,13 @@
|
|
7
7
|
from .fs import make_executable
|
8
8
|
from .logging import configure_logging, logger, raise_error, warn_with_log
|
9
9
|
from .helpers import run_ext_cmd
|
10
|
+
|
11
|
+
|
12
|
+
__all__ = [
|
13
|
+
"make_executable",
|
14
|
+
"configure_logging",
|
15
|
+
"logger",
|
16
|
+
"raise_error",
|
17
|
+
"warn_with_log",
|
18
|
+
"run_ext_cmd",
|
19
|
+
]
|
junifer/utils/fs.py
CHANGED
junifer/utils/helpers.py
CHANGED
junifer/utils/logging.py
CHANGED
@@ -19,6 +19,16 @@ from warnings import warn
|
|
19
19
|
import datalad
|
20
20
|
|
21
21
|
|
22
|
+
__all__ = [
|
23
|
+
"WrapStdOut",
|
24
|
+
"get_versions",
|
25
|
+
"log_versions",
|
26
|
+
"configure_logging",
|
27
|
+
"raise_error",
|
28
|
+
"warn_with_log",
|
29
|
+
]
|
30
|
+
|
31
|
+
|
22
32
|
logger = logging.getLogger("JUNIFER")
|
23
33
|
|
24
34
|
# Set up datalad logger level to warning by default
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: junifer
|
3
|
-
Version: 0.0.5.
|
3
|
+
Version: 0.0.5.dev145
|
4
4
|
Summary: JUelich NeuroImaging FEature extractoR
|
5
5
|
Author-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
|
6
6
|
Maintainer-email: Fede Raimondo <f.raimondo@fz-juelich.de>, Synchon Mandal <s.mandal@fz-juelich.de>
|
@@ -41,6 +41,7 @@ Requires-Dist: h5py >=3.10
|
|
41
41
|
Requires-Dist: httpx[http2] ==0.26.0
|
42
42
|
Requires-Dist: tqdm ==4.66.1
|
43
43
|
Requires-Dist: templateflow >=23.0.0
|
44
|
+
Requires-Dist: lapy <2.0.0,>=1.0.0
|
44
45
|
Requires-Dist: importlib-metadata ; python_version < "3.10"
|
45
46
|
Requires-Dist: looseversion ==1.3.0 ; python_version >= "3.12"
|
46
47
|
Provides-Extra: all
|