Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/n/i/nipy-0.3.0/nipy/labs/utils/__init__.py   nipy(Download)
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
# vi: set ft=python sts=4 ts=4 sw=4 et:
from .routines import (quantile, median, mahalanobis, svd, permutations,
                       combinations, gamln, psi)
from .zscore import zscore

src/n/i/nipy-0.3.0/nipy/labs/utils/tests/test_misc.py   nipy(Download)
from scipy import special
 
from ..routines import median, mahalanobis, gamln, psi
 
from nose.tools import assert_true
    def test_gamln(self):
        for x in (0.01+100*np.random.random(50)):
            scipy_gamln = special.gammaln(x)
            my_gamln = gamln(x)
            assert_almost_equal(scipy_gamln, my_gamln)