CUQIpy 1.4.0.post0.dev92__tar.gz → 1.4.0.post0.dev101__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.
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/PKG-INFO +1 -1
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/SOURCES.txt +5 -5
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/PKG-INFO +1 -1
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/_version.py +3 -3
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/__init__.py +1 -1
- cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/__init__.py +5 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_langevin_algorithm.py +2 -2
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/_observation_map.py +1 -1
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/_pde.py +2 -2
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_langevin_algorithm.py +2 -2
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_z_mcmc.py +2 -2
- cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/__init__.py +0 -5
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/dependency_links.txt +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/requires.txt +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/top_level.txt +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/LICENSE +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/README.md +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/_messages.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_abstract_syntax_tree.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_ordered_set.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_random_variable.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/array/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/array/_array.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/config.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/_data.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/astronaut.npz +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/camera.npz +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/cat.npz +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/cookie.png +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/satellite.mat +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/density/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/density/_density.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/diagnostics.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_beta.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_cauchy.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_cmrf.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_custom.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_distribution.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gamma.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gaussian.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gmrf.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_inverse_gamma.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_joint_distribution.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_laplace.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_lmrf.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_lognormal.py +0 -0
- /cuqipy-1.4.0.post0.dev92/cuqi/distribution/_modifiedhalfnormal.py → /cuqipy-1.4.0.post0.dev101/cuqi/distribution/_modified_half_normal.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_normal.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_posterior.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_smoothed_laplace.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_truncated_normal.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_uniform.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/experimental/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/experimental/_recommender.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/_geometry.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/_product_geometry.py +0 -0
- /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedGaussian.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_gaussian.py +0 -0
- /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedGMRF.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_gmrf.py +0 -0
- /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedUnboundedUniform.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_unbounded_uniform.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/implicitprior/_restorator.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_conjugate.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_conjugate_approx.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_cwmh.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_gibbs.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_hmc.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_laplace_approximation.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_mh.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_pcn.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_rto.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_sampler.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/likelihood/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/likelihood/_likelihood.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/model/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/model/_model.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/operator/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/operator/_operator.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/problem/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/problem/_problem.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_conjugate.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_conjugate_approx.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_cwmh.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_direct.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_gibbs.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_hmc.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_laplace_approximation.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_mh.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_pcn.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_rto.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_sampler.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/samples/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/samples/_samples.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/solver/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/solver/_solver.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/testproblem/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/testproblem/_testproblem.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/__init__.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/_get_python_variable_name.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/_utilities.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/pyproject.toml +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/requirements.txt +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/setup.cfg +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/setup.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_abstract_distribution_density.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_algebra.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_bayesian_inversion.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_density.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_distribution.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_distributions_shape.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_geometry.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_implicit_priors.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_joint_distribution.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_legacy_sampler.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_likelihood.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_model.py +0 -0
- /cuqipy-1.4.0.post0.dev92/tests/test_MRFs.py → /cuqipy-1.4.0.post0.dev101/tests/test_mrfs.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_pde.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_posterior.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_problem.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_product_geometry.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_random_variable.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_samples.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_solver.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_testproblem.py +0 -0
- {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_utilities.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CUQIpy
|
|
3
|
-
Version: 1.4.0.post0.
|
|
3
|
+
Version: 1.4.0.post0.dev101
|
|
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
|
|
@@ -42,7 +42,7 @@ cuqi/distribution/_joint_distribution.py
|
|
|
42
42
|
cuqi/distribution/_laplace.py
|
|
43
43
|
cuqi/distribution/_lmrf.py
|
|
44
44
|
cuqi/distribution/_lognormal.py
|
|
45
|
-
cuqi/distribution/
|
|
45
|
+
cuqi/distribution/_modified_half_normal.py
|
|
46
46
|
cuqi/distribution/_normal.py
|
|
47
47
|
cuqi/distribution/_posterior.py
|
|
48
48
|
cuqi/distribution/_smoothed_laplace.py
|
|
@@ -54,9 +54,9 @@ cuqi/geometry/__init__.py
|
|
|
54
54
|
cuqi/geometry/_geometry.py
|
|
55
55
|
cuqi/geometry/_product_geometry.py
|
|
56
56
|
cuqi/implicitprior/__init__.py
|
|
57
|
-
cuqi/implicitprior/
|
|
58
|
-
cuqi/implicitprior/
|
|
59
|
-
cuqi/implicitprior/
|
|
57
|
+
cuqi/implicitprior/_regularized_gaussian.py
|
|
58
|
+
cuqi/implicitprior/_regularized_gmrf.py
|
|
59
|
+
cuqi/implicitprior/_regularized_unbounded_uniform.py
|
|
60
60
|
cuqi/implicitprior/_restorator.py
|
|
61
61
|
cuqi/legacy/__init__.py
|
|
62
62
|
cuqi/legacy/sampler/__init__.py
|
|
@@ -104,7 +104,6 @@ cuqi/testproblem/_testproblem.py
|
|
|
104
104
|
cuqi/utilities/__init__.py
|
|
105
105
|
cuqi/utilities/_get_python_variable_name.py
|
|
106
106
|
cuqi/utilities/_utilities.py
|
|
107
|
-
tests/test_MRFs.py
|
|
108
107
|
tests/test_abstract_distribution_density.py
|
|
109
108
|
tests/test_algebra.py
|
|
110
109
|
tests/test_bayesian_inversion.py
|
|
@@ -117,6 +116,7 @@ tests/test_joint_distribution.py
|
|
|
117
116
|
tests/test_legacy_sampler.py
|
|
118
117
|
tests/test_likelihood.py
|
|
119
118
|
tests/test_model.py
|
|
119
|
+
tests/test_mrfs.py
|
|
120
120
|
tests/test_pde.py
|
|
121
121
|
tests/test_posterior.py
|
|
122
122
|
tests/test_problem.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CUQIpy
|
|
3
|
-
Version: 1.4.0.post0.
|
|
3
|
+
Version: 1.4.0.post0.dev101
|
|
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
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-11-
|
|
11
|
+
"date": "2025-11-27T07:17:19+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "1.4.0.post0.
|
|
14
|
+
"full-revisionid": "439c46b8411ea3990f38b3f2f66025ad0868034c",
|
|
15
|
+
"version": "1.4.0.post0.dev101"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -3,7 +3,7 @@ from ._beta import Beta
|
|
|
3
3
|
from ._cauchy import Cauchy
|
|
4
4
|
from ._cmrf import CMRF
|
|
5
5
|
from ._gamma import Gamma
|
|
6
|
-
from .
|
|
6
|
+
from ._modified_half_normal import ModifiedHalfNormal
|
|
7
7
|
from ._gaussian import Gaussian, JointGaussianSqrtPrec
|
|
8
8
|
from ._gmrf import GMRF
|
|
9
9
|
from ._inverse_gamma import InverseGamma
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
from ._regularized_gaussian import RegularizedGaussian, ConstrainedGaussian, NonnegativeGaussian
|
|
2
|
+
from ._regularized_gmrf import RegularizedGMRF, ConstrainedGMRF, NonnegativeGMRF
|
|
3
|
+
from ._regularized_unbounded_uniform import RegularizedUnboundedUniform
|
|
4
|
+
from ._restorator import RestorationPrior, MoreauYoshidaPrior, TweediePrior
|
|
5
|
+
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_langevin_algorithm.py
RENAMED
|
@@ -60,7 +60,7 @@ class ULA(Sampler):
|
|
|
60
60
|
# Sample
|
|
61
61
|
samples = sampler.sample(2000)
|
|
62
62
|
|
|
63
|
-
A Deblur example can be found in demos/
|
|
63
|
+
A Deblur example can be found in demos/demo27_ula.py
|
|
64
64
|
"""
|
|
65
65
|
def __init__(self, target, scale, x0=None, dim=None, rng=None, **kwargs):
|
|
66
66
|
super().__init__(target, x0=x0, dim=dim, **kwargs)
|
|
@@ -167,7 +167,7 @@ class MALA(ULA):
|
|
|
167
167
|
# Sample
|
|
168
168
|
samples = sampler.sample(2000)
|
|
169
169
|
|
|
170
|
-
A Deblur example can be found in demos/
|
|
170
|
+
A Deblur example can be found in demos/demo28_mala.py
|
|
171
171
|
"""
|
|
172
172
|
def __init__(self, target, scale, x0=None, dim=None, rng=None, **kwargs):
|
|
173
173
|
super().__init__(target, scale, x0=x0, dim=dim, rng=rng, **kwargs)
|
|
@@ -5,7 +5,7 @@ This module contains observation map examples for PDE problems. The map can
|
|
|
5
5
|
be passed to the `PDE` object initializer via the `observation_map` argument.
|
|
6
6
|
|
|
7
7
|
For example on how to use set observation maps in time dependent PDEs, see
|
|
8
|
-
`demos/howtos/
|
|
8
|
+
`demos/howtos/time_dependent_linear_pde.py`.
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
11
|
# 1. Steady State Observation Maps
|
|
@@ -209,7 +209,7 @@ class SteadyStateLinearPDE(LinearPDE):
|
|
|
209
209
|
|
|
210
210
|
Example
|
|
211
211
|
--------
|
|
212
|
-
See demo demos/demo24_fwd_poisson.py for an illustration on how to use SteadyStateLinearPDE with varying solver choices. And demos demos/
|
|
212
|
+
See demo demos/demo24_fwd_poisson.py for an illustration on how to use SteadyStateLinearPDE with varying solver choices. And demos demos/demo25_fwd_poisson_2d.py and demos/demo26_fwd_poisson_mixed_bc.py for examples with mixed (Dirichlet and Neumann) boundary conditions problems. demos/demo25_fwd_poisson_2d.py also illustrates how to observe on a specific boundary, for example.
|
|
213
213
|
"""
|
|
214
214
|
|
|
215
215
|
def __init__(self, PDE_form, observation_map=None, **kwargs):
|
|
@@ -275,7 +275,7 @@ class TimeDependentLinearPDE(LinearPDE):
|
|
|
275
275
|
|
|
276
276
|
Example
|
|
277
277
|
-----------
|
|
278
|
-
See demos/howtos/
|
|
278
|
+
See demos/howtos/time_dependent_linear_pde.py for 1D heat and 1D wave equations examples. It demonstrates setting up `TimeDependentLinearPDE` objects, including the choice of time stepping methods, observation domain, and observation map.
|
|
279
279
|
"""
|
|
280
280
|
|
|
281
281
|
def __init__(self, PDE_form, time_steps, time_obs='final',
|
|
@@ -60,7 +60,7 @@ class ULA(Sampler): # Refactor to Proposal-based sampler?
|
|
|
60
60
|
# Sample
|
|
61
61
|
sampler.sample(2000)
|
|
62
62
|
|
|
63
|
-
A Deblur example can be found in demos/
|
|
63
|
+
A Deblur example can be found in demos/demo27_ula.py
|
|
64
64
|
# TODO: update demo once sampler merged
|
|
65
65
|
"""
|
|
66
66
|
|
|
@@ -190,7 +190,7 @@ class MALA(ULA): # Refactor to Proposal-based sampler?
|
|
|
190
190
|
# Sample
|
|
191
191
|
sampler.sample(2000)
|
|
192
192
|
|
|
193
|
-
A Deblur example can be found in demos/
|
|
193
|
+
A Deblur example can be found in demos/demo28_mala.py
|
|
194
194
|
# TODO: update demo once sampler merged
|
|
195
195
|
"""
|
|
196
196
|
|
|
@@ -1632,8 +1632,8 @@ def test_online_thinning_with_mala_and_rto():
|
|
|
1632
1632
|
posterior = cuqi.distribution.JointDistribution(x, y)(y=y_obs)
|
|
1633
1633
|
|
|
1634
1634
|
# Set up MALA and RTO samplers
|
|
1635
|
-
sampler_mala_1 = cuqi.sampler.MALA(posterior, scale=0.
|
|
1636
|
-
sampler_mala_2 = cuqi.sampler.MALA(posterior, scale=0.
|
|
1635
|
+
sampler_mala_1 = cuqi.sampler.MALA(posterior, scale=0.0001)
|
|
1636
|
+
sampler_mala_2 = cuqi.sampler.MALA(posterior, scale=0.0001)
|
|
1637
1637
|
sampler_rto_1 = cuqi.sampler.LinearRTO(posterior, maxit=1000, tol=1e-8)
|
|
1638
1638
|
sampler_rto_2 = cuqi.sampler.LinearRTO(posterior, maxit=1000, tol=1e-8)
|
|
1639
1639
|
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
from ._regularizedGaussian import RegularizedGaussian, ConstrainedGaussian, NonnegativeGaussian
|
|
2
|
-
from ._regularizedGMRF import RegularizedGMRF, ConstrainedGMRF, NonnegativeGMRF
|
|
3
|
-
from ._regularizedUnboundedUniform import RegularizedUnboundedUniform
|
|
4
|
-
from ._restorator import RestorationPrior, MoreauYoshidaPrior, TweediePrior
|
|
5
|
-
|
|
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.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_abstract_syntax_tree.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/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
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_smoothed_laplace.py
RENAMED
|
File without changes
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_truncated_normal.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
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_conjugate_approx.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/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
|
|
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.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/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
|
|
File without changes
|
{cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/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.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/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
|
/cuqipy-1.4.0.post0.dev92/tests/test_MRFs.py → /cuqipy-1.4.0.post0.dev101/tests/test_mrfs.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
|