junifer 0.0.5.dev131__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/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/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 +3 -0
- 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/markers/__init__.py +21 -0
- junifer/markers/base.py +21 -7
- junifer/markers/brainprint.py +3 -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 +3 -0
- junifer/markers/reho/_junifer_reho.py +3 -0
- junifer/markers/reho/reho_base.py +2 -0
- junifer/markers/reho/reho_parcels.py +3 -0
- junifer/markers/reho/reho_spheres.py +3 -0
- 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/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.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/METADATA +1 -1
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/RECORD +123 -123
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/AUTHORS.rst +0 -0
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/LICENSE.md +0 -0
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/WHEEL +0 -0
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/entry_points.txt +0 -0
- {junifer-0.0.5.dev131.dist-info → junifer-0.0.5.dev145.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,9 @@ from ...utils import logger, warn_with_log
|
|
14
14
|
from .complexity_base import ComplexityBase
|
15
15
|
|
16
16
|
|
17
|
+
__all__ = ["RangeEntropyAUC"]
|
18
|
+
|
19
|
+
|
17
20
|
@register_marker
|
18
21
|
class RangeEntropyAUC(ComplexityBase):
|
19
22
|
"""Class for AUC of range entropy values of a time series over r = 0 to 1.
|
@@ -14,6 +14,7 @@ pytest.importorskip("neurokit2")
|
|
14
14
|
|
15
15
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
16
16
|
from junifer.markers.complexity import HurstExponent # noqa: E402
|
17
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
17
18
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
18
19
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
19
20
|
SPMAuditoryTestingDataGrabber,
|
@@ -24,6 +25,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
24
25
|
PARCELLATION = "Schaefer100x17"
|
25
26
|
|
26
27
|
|
28
|
+
@pytest.mark.skipif(
|
29
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
30
|
+
)
|
27
31
|
def test_compute() -> None:
|
28
32
|
"""Test HurstExponent compute()."""
|
29
33
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -45,6 +49,9 @@ def test_get_output_type() -> None:
|
|
45
49
|
assert marker.get_output_type("BOLD") == "vector"
|
46
50
|
|
47
51
|
|
52
|
+
@pytest.mark.skipif(
|
53
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
54
|
+
)
|
48
55
|
def test_store(tmp_path: Path) -> None:
|
49
56
|
"""Test HurstExponent store().
|
50
57
|
|
@@ -13,6 +13,7 @@ pytest.importorskip("neurokit2")
|
|
13
13
|
|
14
14
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
15
15
|
from junifer.markers.complexity import MultiscaleEntropyAUC # noqa: E402
|
16
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
16
17
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
17
18
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
18
19
|
SPMAuditoryTestingDataGrabber,
|
@@ -23,6 +24,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
23
24
|
PARCELLATION = "Schaefer100x17"
|
24
25
|
|
25
26
|
|
27
|
+
@pytest.mark.skipif(
|
28
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
29
|
+
)
|
26
30
|
def test_compute() -> None:
|
27
31
|
"""Test MultiscaleEntropyAUC compute()."""
|
28
32
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -44,6 +48,9 @@ def test_get_output_type() -> None:
|
|
44
48
|
assert marker.get_output_type("BOLD") == "vector"
|
45
49
|
|
46
50
|
|
51
|
+
@pytest.mark.skipif(
|
52
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
53
|
+
)
|
47
54
|
def test_store(tmp_path: Path) -> None:
|
48
55
|
"""Test MultiscaleEntropyAUC store().
|
49
56
|
|
@@ -13,6 +13,7 @@ pytest.importorskip("neurokit2")
|
|
13
13
|
|
14
14
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
15
15
|
from junifer.markers.complexity import PermEntropy # noqa: E402
|
16
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
16
17
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
17
18
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
18
19
|
SPMAuditoryTestingDataGrabber,
|
@@ -23,6 +24,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
23
24
|
PARCELLATION = "Schaefer100x17"
|
24
25
|
|
25
26
|
|
27
|
+
@pytest.mark.skipif(
|
28
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
29
|
+
)
|
26
30
|
def test_compute() -> None:
|
27
31
|
"""Test PermEntropy compute()."""
|
28
32
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -44,6 +48,9 @@ def test_get_output_type() -> None:
|
|
44
48
|
assert marker.get_output_type("BOLD") == "vector"
|
45
49
|
|
46
50
|
|
51
|
+
@pytest.mark.skipif(
|
52
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
53
|
+
)
|
47
54
|
def test_store(tmp_path: Path) -> None:
|
48
55
|
"""Test PermEntropy store().
|
49
56
|
|
@@ -14,6 +14,7 @@ pytest.importorskip("neurokit2")
|
|
14
14
|
|
15
15
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
16
16
|
from junifer.markers.complexity import RangeEntropy # noqa: E402
|
17
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
17
18
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
18
19
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
19
20
|
SPMAuditoryTestingDataGrabber,
|
@@ -24,6 +25,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
24
25
|
PARCELLATION = "Schaefer100x17"
|
25
26
|
|
26
27
|
|
28
|
+
@pytest.mark.skipif(
|
29
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
30
|
+
)
|
27
31
|
def test_compute() -> None:
|
28
32
|
"""Test RangeEntropy compute()."""
|
29
33
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -45,6 +49,9 @@ def test_get_output_type() -> None:
|
|
45
49
|
assert marker.get_output_type("BOLD") == "vector"
|
46
50
|
|
47
51
|
|
52
|
+
@pytest.mark.skipif(
|
53
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
54
|
+
)
|
48
55
|
def test_store(tmp_path: Path) -> None:
|
49
56
|
"""Test RangeEntropy store().
|
50
57
|
|
@@ -14,6 +14,7 @@ pytest.importorskip("neurokit2")
|
|
14
14
|
|
15
15
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
16
16
|
from junifer.markers.complexity import RangeEntropyAUC # noqa: E402
|
17
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
17
18
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
18
19
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
19
20
|
SPMAuditoryTestingDataGrabber,
|
@@ -24,6 +25,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
24
25
|
PARCELLATION = "Schaefer100x17"
|
25
26
|
|
26
27
|
|
28
|
+
@pytest.mark.skipif(
|
29
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
30
|
+
)
|
27
31
|
def test_compute() -> None:
|
28
32
|
"""Test RangeEntropyAUC compute()."""
|
29
33
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -45,6 +49,9 @@ def test_get_output_type() -> None:
|
|
45
49
|
assert marker.get_output_type("BOLD") == "vector"
|
46
50
|
|
47
51
|
|
52
|
+
@pytest.mark.skipif(
|
53
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
54
|
+
)
|
48
55
|
def test_store(tmp_path: Path) -> None:
|
49
56
|
"""Test RangeEntropyAUC store().
|
50
57
|
|
@@ -13,6 +13,7 @@ pytest.importorskip("neurokit2")
|
|
13
13
|
|
14
14
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
15
15
|
from junifer.markers.complexity import SampleEntropy # noqa: E402
|
16
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
16
17
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
17
18
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
18
19
|
SPMAuditoryTestingDataGrabber,
|
@@ -23,6 +24,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
23
24
|
PARCELLATION = "Schaefer100x17"
|
24
25
|
|
25
26
|
|
27
|
+
@pytest.mark.skipif(
|
28
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
29
|
+
)
|
26
30
|
def test_compute() -> None:
|
27
31
|
"""Test SampleEntropy compute()."""
|
28
32
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -44,6 +48,9 @@ def test_get_output_type() -> None:
|
|
44
48
|
assert marker.get_output_type("BOLD") == "vector"
|
45
49
|
|
46
50
|
|
51
|
+
@pytest.mark.skipif(
|
52
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
53
|
+
)
|
47
54
|
def test_store(tmp_path: Path) -> None:
|
48
55
|
"""Test SampleEntropy store().
|
49
56
|
|
@@ -13,6 +13,7 @@ pytest.importorskip("neurokit2")
|
|
13
13
|
|
14
14
|
from junifer.datareader import DefaultDataReader # noqa: E402
|
15
15
|
from junifer.markers.complexity import WeightedPermEntropy # noqa: E402
|
16
|
+
from junifer.pipeline.utils import _check_ants # noqa: E402
|
16
17
|
from junifer.storage import SQLiteFeatureStorage # noqa: E402
|
17
18
|
from junifer.testing.datagrabbers import ( # noqa: E402
|
18
19
|
SPMAuditoryTestingDataGrabber,
|
@@ -23,6 +24,9 @@ from junifer.testing.datagrabbers import ( # noqa: E402
|
|
23
24
|
PARCELLATION = "Schaefer100x17"
|
24
25
|
|
25
26
|
|
27
|
+
@pytest.mark.skipif(
|
28
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
29
|
+
)
|
26
30
|
def test_compute() -> None:
|
27
31
|
"""Test WeightedPermEntropy compute()."""
|
28
32
|
with SPMAuditoryTestingDataGrabber() as dg:
|
@@ -44,6 +48,9 @@ def test_get_output_type() -> None:
|
|
44
48
|
assert marker.get_output_type("BOLD") == "vector"
|
45
49
|
|
46
50
|
|
51
|
+
@pytest.mark.skipif(
|
52
|
+
_check_ants() is False, reason="requires ANTs to be in PATH"
|
53
|
+
)
|
47
54
|
def test_store(tmp_path: Path) -> None:
|
48
55
|
"""Test WeightedPermEntropy store().
|
49
56
|
|
@@ -14,6 +14,9 @@ from ...utils import logger, warn_with_log
|
|
14
14
|
from .complexity_base import ComplexityBase
|
15
15
|
|
16
16
|
|
17
|
+
__all__ = ["WeightedPermEntropy"]
|
18
|
+
|
19
|
+
|
17
20
|
@register_marker
|
18
21
|
class WeightedPermEntropy(ComplexityBase):
|
19
22
|
"""Class for weighted permutation entropy of a time series.
|
junifer/markers/ets_rss.py
CHANGED
@@ -8,3 +8,12 @@ from .functional_connectivity_spheres import FunctionalConnectivitySpheres
|
|
8
8
|
from .crossparcellation_functional_connectivity import CrossParcellationFC
|
9
9
|
from .edge_functional_connectivity_parcels import EdgeCentricFCParcels
|
10
10
|
from .edge_functional_connectivity_spheres import EdgeCentricFCSpheres
|
11
|
+
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
"FunctionalConnectivityParcels",
|
15
|
+
"FunctionalConnectivitySpheres",
|
16
|
+
"CrossParcellationFC",
|
17
|
+
"EdgeCentricFCParcels",
|
18
|
+
"EdgeCentricFCSpheres",
|
19
|
+
]
|
@@ -15,6 +15,9 @@ from ..parcel_aggregation import ParcelAggregation
|
|
15
15
|
from ..utils import _correlate_dataframes
|
16
16
|
|
17
17
|
|
18
|
+
__all__ = ["CrossParcellationFC"]
|
19
|
+
|
20
|
+
|
18
21
|
@register_marker
|
19
22
|
class CrossParcellationFC(BaseMarker):
|
20
23
|
"""Class for calculating parcel-wise correlations with 2 parcellations.
|
@@ -12,6 +12,9 @@ from ..utils import _ets
|
|
12
12
|
from .functional_connectivity_base import FunctionalConnectivityBase
|
13
13
|
|
14
14
|
|
15
|
+
__all__ = ["EdgeCentricFCParcels"]
|
16
|
+
|
17
|
+
|
15
18
|
@register_marker
|
16
19
|
class EdgeCentricFCParcels(FunctionalConnectivityBase):
|
17
20
|
"""Class for edge-centric FC using parcellations.
|
@@ -12,6 +12,9 @@ from ..utils import _ets, raise_error
|
|
12
12
|
from .functional_connectivity_base import FunctionalConnectivityBase
|
13
13
|
|
14
14
|
|
15
|
+
__all__ = ["EdgeCentricFCSpheres"]
|
16
|
+
|
17
|
+
|
15
18
|
@register_marker
|
16
19
|
class EdgeCentricFCSpheres(FunctionalConnectivityBase):
|
17
20
|
"""Class for edge-centric FC using coordinates (spheres).
|
@@ -12,6 +12,9 @@ from ..parcel_aggregation import ParcelAggregation
|
|
12
12
|
from .functional_connectivity_base import FunctionalConnectivityBase
|
13
13
|
|
14
14
|
|
15
|
+
__all__ = ["FunctionalConnectivityParcels"]
|
16
|
+
|
17
|
+
|
15
18
|
@register_marker
|
16
19
|
class FunctionalConnectivityParcels(FunctionalConnectivityBase):
|
17
20
|
"""Class for functional connectivity using parcellations.
|
@@ -13,6 +13,9 @@ from ..utils import raise_error
|
|
13
13
|
from .functional_connectivity_base import FunctionalConnectivityBase
|
14
14
|
|
15
15
|
|
16
|
+
__all__ = ["FunctionalConnectivitySpheres"]
|
17
|
+
|
18
|
+
|
16
19
|
@register_marker
|
17
20
|
class FunctionalConnectivitySpheres(FunctionalConnectivityBase):
|
18
21
|
"""Class for functional connectivity using coordinates (spheres).
|
junifer/markers/reho/__init__.py
CHANGED
@@ -10,6 +10,9 @@ from ..parcel_aggregation import ParcelAggregation
|
|
10
10
|
from .temporal_snr_base import TemporalSNRBase
|
11
11
|
|
12
12
|
|
13
|
+
__all__ = ["TemporalSNRParcels"]
|
14
|
+
|
15
|
+
|
13
16
|
@register_marker
|
14
17
|
class TemporalSNRParcels(TemporalSNRBase):
|
15
18
|
"""Class for temporal signal-to-noise ratio using parcellations.
|
@@ -11,6 +11,9 @@ from ..utils import raise_error
|
|
11
11
|
from .temporal_snr_base import TemporalSNRBase
|
12
12
|
|
13
13
|
|
14
|
+
__all__ = ["TemporalSNRSpheres"]
|
15
|
+
|
16
|
+
|
14
17
|
@register_marker
|
15
18
|
class TemporalSNRSpheres(TemporalSNRBase):
|
16
19
|
"""Class for temporal signal-to-noise ratio using coordinates (spheres).
|
junifer/onthefly/__init__.py
CHANGED
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
|
|