Coverage for src/lsqfitgp/__init__.py: 100%
13 statements
« prev ^ index » next coverage.py v7.6.3, created at 2024-10-15 19:54 +0000
« prev ^ index » next coverage.py v7.6.3, created at 2024-10-15 19:54 +0000
1# lsqfitgp/__init__.py
2#
3# Copyright (c) 2020, 2022, 2023, 2024, Giacomo Petrillo
4#
5# This file is part of lsqfitgp.
6#
7# lsqfitgp is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11#
12# lsqfitgp is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with lsqfitgp. If not, see <http://www.gnu.org/licenses/>.
20"""
21Module to fit Gaussian processes
23See the manual at https://gattocrucco.github.io/lsqfitgp/docs
24"""
26__version__ = '0.22.dev0' 1abcdef
28# these first because they modify global state
29from . import _patch_jax 1abcdef
30from . import _patch_gvar 1abcdef
32from ._array import ( 1abcdef
33 StructuredArray,
34 broadcast,
35 broadcast_to,
36 broadcast_arrays,
37 asarray,
38 unstructured_to_structured,
39)
40from ._Deriv import Deriv 1abcdef
41from ._Kernel import ( 1abcdef
42 CrossKernel,
43 Kernel,
44 CrossStationaryKernel,
45 StationaryKernel,
46 CrossIsotropicKernel,
47 IsotropicKernel,
48 crosskernel,
49 kernel,
50 crossstationarykernel,
51 stationarykernel,
52 crossisotropickernel,
53 isotropickernel,
54)
55from ._kernels import * # safe, _kernels/__init__.py only imports kernels 1abcdef
56from ._gvarext import ( 1abcdef
57 jacobian,
58 from_jacobian,
59 gvar_gufunc,
60 switchgvar,
61 uformat,
62 fmtspec_kwargs,
63 gvar_format,
64)
65from ._GP import GP 1abcdef
66from ._fit import empbayes_fit 1abcdef
67from ._fastraniter import raniter, sample 1abcdef
69from . import copula 1abcdef
70from . import bayestree 1abcdef