/usr/lib/python2.7/dist-packages/pymc/gp/cov_funs/__init__.py is in python-pymc 2.2+ds-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | from .isotropic_cov_funs import *
from .cov_utils import *
from .bases import *
from .wrapped_distances import *
from . import isotropic_cov_funs
from .brownian import *
from .nsmatern import *
extra_parameters = {'gaussian': {'': ''},
'pow_exp': {'pow': 'The exponent in the exponential.'},
'exponential':{'':''},
'matern': {'diff_degree': 'The degree of differentiability of realizations.'},
'sphere': {'': ''},
'quadratic': {'phi': 'The characteristic (scaled) distance of decorrelation.'},
'exponential': {'': ''}}
for name in extra_parameters:
locals()[name] = covariance_function_bundle(name, 'isotropic_cov_funs', extra_parameters[name], ampsq_is_diag=True)
nsmatern_extra_params = {'diff_degree': 'A function giving the local degree of differentiability.',
'h': 'A function giving the local relative amplitude.'}
nsmatern = covariance_function_bundle('nsmatern', 'nsmatern',
nsmatern_extra_params, ampsq_is_diag=False, with_x=True)
for w in nsmatern.wrappers:
w.diag_call = nsmatern_diag
|