Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] Add major classes/functions to parent namespaces #600

Merged
merged 1 commit into from
Nov 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion nimare/annotate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
"""Automated annotation tools."""

from . import cogat, gclda, lda, text, utils
from .cogat import CogAtLemmatizer, expand_counts, extract_cogat
from .gclda import GCLDAModel
from .lda import LDAModel
from .text import generate_counts

__all__ = ["cogat", "gclda", "lda", "text", "utils"]
__all__ = [
"CogAtLemmatizer",
"expand_counts",
"extract_cogat",
"GCLDAModel",
"LDAModel",
"generate_counts",
"cogat",
"gclda",
"lda",
"text",
"utils",
]
30 changes: 29 additions & 1 deletion nimare/decode/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
"""Functional decoding tools."""

from . import continuous, discrete, encode
from .continuous import (
CorrelationDecoder,
CorrelationDistributionDecoder,
gclda_decode_map,
)
from .discrete import (
BrainMapDecoder,
NeurosynthDecoder,
ROIAssociationDecoder,
brainmap_decode,
gclda_decode_roi,
neurosynth_decode,
)
from .encode import gclda_encode

__all__ = ["continuous", "discrete", "encode"]
__all__ = [
"CorrelationDecoder",
"CorrelationDistributionDecoder",
"gclda_decode_map",
"BrainMapDecoder",
"NeurosynthDecoder",
"ROIAssociationDecoder",
"brainmap_decode",
"gclda_decode_roi",
"neurosynth_decode",
"gclda_encode",
"continuous",
"discrete",
"encode",
]
18 changes: 18 additions & 0 deletions nimare/meta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

from . import ibma, kernel
from .cbma import ALE, KDA, SCALE, ALESubtraction, MKDAChi2, MKDADensity, ale, mkda
from .ibma import (
DerSimonianLaird,
Fishers,
Hedges,
PermutedOLS,
SampleSizeBasedLikelihood,
Stouffers,
VarianceBasedLikelihood,
WeightedLeastSquares,
)
from .kernel import ALEKernel, KDAKernel, MKDAKernel

__all__ = [
Expand All @@ -11,6 +21,14 @@
"MKDADensity",
"MKDAChi2",
"KDA",
"DerSimonianLaird",
"Fishers",
"Hedges",
"PermutedOLS",
"SampleSizeBasedLikelihood",
"Stouffers",
"VarianceBasedLikelihood",
"WeightedLeastSquares",
"MKDAKernel",
"ALEKernel",
"KDAKernel",
Expand Down