Package mvpa :: Module suite

[hide private]
[frames] | no frames]

# Source Code for Module mvpa.suite

      1  # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
      2  # vi: set ft=python sts=4 ts=4 sw=4 et:
      3  ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
      4  #
      5  #   See COPYING file distributed along with the PyMVPA package for the
      6  #   copyright and license terms.
      7  #
      8  ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
      9  """MultiVariate Pattern Analysis -- load helper
     10
     11  If you don't like to specify exact location of any particular
     12  functionality within PyMVPA, please simply::
     13
     14    from mvpa.suite import *
     15
     16  or
     17
     18    import mvpa.suite
     19
     20  """
     21
     22  __docformat__ = 'restructuredtext'
     23
     24
     25  from mvpa import *
     26
     27  from mvpa.base import *
     28  from mvpa.base.config import *
     29  from mvpa.base.verbosity import *
     30  from mvpa.base.info import *
     31
     32  if externals.exists('reportlab'):
     33      from mvpa.base.report import *
     34  else:
     35      from mvpa.base.report_dummy import Report
     36
     37
     38  from mvpa.algorithms.cvtranserror import *
     39  from mvpa.algorithms.hyperalignment import *
     40
     41  from mvpa import clfs
     42  from mvpa.clfs.distance import *
     43  from mvpa.clfs.kernel import *
     44  from mvpa.clfs.base import *
     45  from mvpa.clfs.meta import *
     46  from mvpa.clfs.knn import *
     47  if externals.exists('lars'):
     48      from mvpa.clfs.lars import *
     49  if externals.exists('elasticnet'):
     50      from mvpa.clfs.enet import *
     51  if externals.exists('glmnet'):
     52      from mvpa.clfs.glmnet import *
     53  from mvpa.clfs.smlr import *
     54  from mvpa.clfs.blr import *
     55  from mvpa.clfs.gnb import *
     56  from mvpa.clfs.stats import *
     57  if externals.exists('libsvm') or externals.exists('shogun'):
     58      from mvpa.clfs.svm import *
     59  from mvpa.clfs.transerror import *
     60  from mvpa.clfs.warehouse import *
     61
     62  from mvpa import datasets
     63  from mvpa.datasets import *
     64  # just to make testsuite happy
     65  from mvpa.datasets.base import *
     66  from mvpa.datasets.meta import *
     67  from mvpa.datasets.masked import *
     68  from mvpa.datasets.miscfx import *
     69  from mvpa.datasets.channel import *
     70  from mvpa.datasets.event import *
     71  from mvpa.datasets.eep import *
     72  if externals.exists('nifti'):
     73      from mvpa.datasets.nifti import *
     74
     75  from mvpa.datasets import splitters
     76  from mvpa.datasets.splitters import *
     77
     78  from mvpa import featsel
     79  from mvpa.featsel.base import *
     80  from mvpa.featsel.helpers import *
     81  from mvpa.featsel.ifs import *
     82  from mvpa.featsel.rfe import *
     83
     84  from mvpa import mappers
     85  #from mvpa.mappers import *
     86  from mvpa.mappers.base import *
     87  from mvpa.mappers.metric import *
     88  from mvpa.mappers.mask import *
     89  from mvpa.mappers.svd import *
     90  from mvpa.mappers.procrustean import *
     91  from mvpa.mappers.boxcar import *
     92  from mvpa.mappers.samplegroup import *
     93  from mvpa.mappers.som import *
     94  from mvpa.mappers.array import *
     95  if externals.exists('scipy'):
     96      from mvpa.mappers.zscore import ZScoreMapper
     97  if externals.exists('mdp'):
     98      from mvpa.mappers.pca import *
     99      from mvpa.mappers.ica import *
    100  if externals.exists('mdp ge 2.4'):
    101      from mvpa.mappers.lle import *
    102
    103  from mvpa import measures
    104  from mvpa.measures.anova import *
    105  from mvpa.measures.glm import *
    106  from mvpa.measures.irelief import *
    107  from mvpa.measures.base import *
    108  from mvpa.measures.noiseperturbation import *
    109  from mvpa.measures.searchlight import *
    110  from mvpa.measures.splitmeasure import *
    111  from mvpa.measures.corrstability import *
    112
    113  from mvpa.support.copy import *
    114  from mvpa.misc.fx import *
    115  from mvpa.misc.errorfx import *
    116  from mvpa.misc.cmdline import *
    117  from mvpa.misc.data_generators import *
    118  from mvpa.misc.exceptions import *
    119  from mvpa.misc import *
    120  from mvpa.misc.io import *
    121  from mvpa.misc.io.eepbin import *
    122  from mvpa.misc.io.meg import *
    123  if externals.exists('cPickle') and externals.exists('gzip'):
    124      from mvpa.misc.io.hamster import *
    125  from mvpa.misc.fsl import *
    126  from mvpa.misc.bv import *
    127  from mvpa.misc.bv.base import *
    128  from mvpa.misc.param import *
    129  from mvpa.misc.state import *
    130  from mvpa.misc.support import *
    131  from mvpa.misc.transformers import *
    132
    133  if externals.exists("nifti"):
    134      from mvpa.misc.fsl.melodic import *
    135
    136  if externals.exists("pylab"):
    137      from mvpa.misc.plot import *
    138      from mvpa.misc.plot.erp import *
    139      if externals.exists(['griddata', 'scipy']):
    140          from mvpa.misc.plot.topo import *
    141      if externals.exists('nifti'):
    142          from mvpa.misc.plot.mri import plotMRI
    143
    144  if externals.exists("scipy"):
    145      from mvpa.support.stats import scipy
    146      from mvpa.measures.corrcoef import *
    147      from mvpa.measures.ds import *
    148      from mvpa.clfs.ridge import *
    149      from mvpa.clfs.plr import *
    150      from mvpa.misc.stats import *
    151      from mvpa.clfs.gpr import *
    152
    153  if externals.exists("pywt"):
    154      from mvpa.mappers.wavelet import *
    155
    156  if externals.exists("pylab"):
    157      import pylab as P
    158
    159  if externals.exists("lxml") and externals.exists("nifti"):
    160      from mvpa.atlases import *
    161