From 60def09db7df0156932c4fb2120b8e50a40fcfbe Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Sat, 6 Nov 2021 11:58:07 -0400 Subject: [PATCH] Add major classes to parent namespaces. --- nimare/annotate/__init__.py | 18 +++++++++++++++++- nimare/decode/__init__.py | 30 +++++++++++++++++++++++++++++- nimare/meta/__init__.py | 18 ++++++++++++++++++ 3 files changed, 64 insertions(+), 2 deletions(-) diff --git a/nimare/annotate/__init__.py b/nimare/annotate/__init__.py index 90872415b..3fe49a8de 100644 --- a/nimare/annotate/__init__.py +++ b/nimare/annotate/__init__.py @@ -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", +] diff --git a/nimare/decode/__init__.py b/nimare/decode/__init__.py index 97835530d..fc4e9e181 100755 --- a/nimare/decode/__init__.py +++ b/nimare/decode/__init__.py @@ -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", +] diff --git a/nimare/meta/__init__.py b/nimare/meta/__init__.py index b4889ccae..a5a19f28a 100755 --- a/nimare/meta/__init__.py +++ b/nimare/meta/__init__.py @@ -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__ = [ @@ -11,6 +21,14 @@ "MKDADensity", "MKDAChi2", "KDA", + "DerSimonianLaird", + "Fishers", + "Hedges", + "PermutedOLS", + "SampleSizeBasedLikelihood", + "Stouffers", + "VarianceBasedLikelihood", + "WeightedLeastSquares", "MKDAKernel", "ALEKernel", "KDAKernel",