CUQIpy 1.0.0.post0.dev84__tar.gz → 1.0.0.post0.dev91__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of CUQIpy might be problematic. Click here for more details.
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/CUQIpy.egg-info/PKG-INFO +2 -2
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/CUQIpy.egg-info/requires.txt +1 -1
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/PKG-INFO +2 -2
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/_version.py +3 -3
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/samples/_samples.py +10 -3
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/requirements.txt +1 -1
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/CUQIpy.egg-info/SOURCES.txt +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/CUQIpy.egg-info/dependency_links.txt +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/CUQIpy.egg-info/top_level.txt +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/LICENSE +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/README.md +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/_messages.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/array/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/array/_array.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/config.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/_data.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/astronaut.npz +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/camera.npz +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/cat.npz +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/cookie.png +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/data/satellite.mat +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/density/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/density/_density.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/diagnostics.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_beta.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_cauchy.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_cmrf.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_custom.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_distribution.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_gamma.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_gaussian.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_gmrf.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_inverse_gamma.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_joint_distribution.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_laplace.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_lmrf.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_lognormal.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_normal.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_posterior.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_uniform.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_cwmh.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_langevin_algorithm.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_mh.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_pcn.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_sampler.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/geometry/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/geometry/_geometry.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/implicitprior/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/implicitprior/_regularizedGMRF.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/implicitprior/_regularizedGaussian.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/likelihood/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/likelihood/_likelihood.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/model/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/model/_model.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/operator/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/operator/_operator.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/pde/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/pde/_pde.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/problem/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/problem/_problem.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_conjugate.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_conjugate_approx.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_cwmh.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_gibbs.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_hmc.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_langevin_algorithm.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_laplace_approximation.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_mh.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_pcn.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_rto.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_sampler.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/samples/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/solver/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/solver/_solver.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/testproblem/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/testproblem/_testproblem.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/utilities/__init__.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/utilities/_get_python_variable_name.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/utilities/_utilities.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/pyproject.toml +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/setup.cfg +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/setup.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_MRFs.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_abstract_distribution_density.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_bayesian_inversion.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_density.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_distribution.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_distributions_shape.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_geometry.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_implicit_priors.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_joint_distribution.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_likelihood.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_model.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_pde.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_posterior.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_problem.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_sampler.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_samples.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_solver.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_testproblem.py +0 -0
- {CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_utilities.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CUQIpy
|
|
3
|
-
Version: 1.0.0.post0.
|
|
3
|
+
Version: 1.0.0.post0.dev91
|
|
4
4
|
Summary: Computational Uncertainty Quantification for Inverse problems in Python
|
|
5
5
|
Maintainer-email: "Nicolai A. B. Riis" <nabr@dtu.dk>, "Jakob S. Jørgensen" <jakj@dtu.dk>, "Amal M. Alghamdi" <amaal@dtu.dk>, Chao Zhang <chaz@dtu.dk>
|
|
6
6
|
License: Apache License
|
|
@@ -202,7 +202,7 @@ Description-Content-Type: text/markdown
|
|
|
202
202
|
License-File: LICENSE
|
|
203
203
|
Requires-Dist: matplotlib
|
|
204
204
|
Requires-Dist: numpy>=1.17.0
|
|
205
|
-
Requires-Dist: scipy
|
|
205
|
+
Requires-Dist: scipy<1.13
|
|
206
206
|
Requires-Dist: arviz
|
|
207
207
|
|
|
208
208
|
<div align="center">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: CUQIpy
|
|
3
|
-
Version: 1.0.0.post0.
|
|
3
|
+
Version: 1.0.0.post0.dev91
|
|
4
4
|
Summary: Computational Uncertainty Quantification for Inverse problems in Python
|
|
5
5
|
Maintainer-email: "Nicolai A. B. Riis" <nabr@dtu.dk>, "Jakob S. Jørgensen" <jakj@dtu.dk>, "Amal M. Alghamdi" <amaal@dtu.dk>, Chao Zhang <chaz@dtu.dk>
|
|
6
6
|
License: Apache License
|
|
@@ -202,7 +202,7 @@ Description-Content-Type: text/markdown
|
|
|
202
202
|
License-File: LICENSE
|
|
203
203
|
Requires-Dist: matplotlib
|
|
204
204
|
Requires-Dist: numpy>=1.17.0
|
|
205
|
-
Requires-Dist: scipy
|
|
205
|
+
Requires-Dist: scipy<1.13
|
|
206
206
|
Requires-Dist: arviz
|
|
207
207
|
|
|
208
208
|
<div align="center">
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2024-
|
|
11
|
+
"date": "2024-04-04T16:40:53+0200",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "1.0.0.post0.
|
|
14
|
+
"full-revisionid": "91a1edb3f1ae9412a27489f3faa9a4a9c8ff8a4a",
|
|
15
|
+
"version": "1.0.0.post0.dev91"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -8,13 +8,20 @@ from copy import copy
|
|
|
8
8
|
from numbers import Number
|
|
9
9
|
|
|
10
10
|
try:
|
|
11
|
-
import arviz
|
|
12
|
-
except ImportError:
|
|
11
|
+
import arviz # Plotting tool
|
|
12
|
+
except ImportError as e:
|
|
13
13
|
arviz = None
|
|
14
|
+
arviz_import_error = e
|
|
15
|
+
|
|
14
16
|
|
|
15
17
|
def _check_for_arviz():
|
|
16
18
|
if arviz is None:
|
|
17
|
-
|
|
19
|
+
msg = "The arviz package is required for this functionality. "\
|
|
20
|
+
+ "Please make sure arviz is installed. "\
|
|
21
|
+
+ "See below for the original error message:\n"\
|
|
22
|
+
+ arviz_import_error.args[0]
|
|
23
|
+
|
|
24
|
+
raise ImportError(msg)
|
|
18
25
|
|
|
19
26
|
|
|
20
27
|
class Samples(object):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/distribution/_joint_distribution.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/experimental/mcmc/_langevin_algorithm.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/implicitprior/_regularizedGMRF.py
RENAMED
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/implicitprior/_regularizedGaussian.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/sampler/_laplace_approximation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/cuqi/utilities/_get_python_variable_name.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{CUQIpy-1.0.0.post0.dev84 → CUQIpy-1.0.0.post0.dev91}/tests/test_abstract_distribution_density.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|