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.
Files changed (132) hide show
  1. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/PKG-INFO +1 -1
  2. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/SOURCES.txt +5 -5
  3. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/PKG-INFO +1 -1
  4. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/_version.py +3 -3
  5. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/__init__.py +1 -1
  6. cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/__init__.py +5 -0
  7. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_langevin_algorithm.py +2 -2
  8. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/_observation_map.py +1 -1
  9. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/_pde.py +2 -2
  10. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_langevin_algorithm.py +2 -2
  11. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_z_mcmc.py +2 -2
  12. cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/__init__.py +0 -5
  13. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/dependency_links.txt +0 -0
  14. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/requires.txt +0 -0
  15. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/CUQIpy.egg-info/top_level.txt +0 -0
  16. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/LICENSE +0 -0
  17. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/README.md +0 -0
  18. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/__init__.py +0 -0
  19. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/_messages.py +0 -0
  20. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/__init__.py +0 -0
  21. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_abstract_syntax_tree.py +0 -0
  22. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_ordered_set.py +0 -0
  23. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/algebra/_random_variable.py +0 -0
  24. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/array/__init__.py +0 -0
  25. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/array/_array.py +0 -0
  26. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/config.py +0 -0
  27. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/__init__.py +0 -0
  28. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/_data.py +0 -0
  29. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/astronaut.npz +0 -0
  30. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/camera.npz +0 -0
  31. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/cat.npz +0 -0
  32. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/cookie.png +0 -0
  33. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/data/satellite.mat +0 -0
  34. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/density/__init__.py +0 -0
  35. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/density/_density.py +0 -0
  36. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/diagnostics.py +0 -0
  37. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_beta.py +0 -0
  38. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_cauchy.py +0 -0
  39. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_cmrf.py +0 -0
  40. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_custom.py +0 -0
  41. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_distribution.py +0 -0
  42. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gamma.py +0 -0
  43. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gaussian.py +0 -0
  44. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_gmrf.py +0 -0
  45. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_inverse_gamma.py +0 -0
  46. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_joint_distribution.py +0 -0
  47. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_laplace.py +0 -0
  48. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_lmrf.py +0 -0
  49. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_lognormal.py +0 -0
  50. /cuqipy-1.4.0.post0.dev92/cuqi/distribution/_modifiedhalfnormal.py → /cuqipy-1.4.0.post0.dev101/cuqi/distribution/_modified_half_normal.py +0 -0
  51. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_normal.py +0 -0
  52. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_posterior.py +0 -0
  53. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_smoothed_laplace.py +0 -0
  54. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_truncated_normal.py +0 -0
  55. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/distribution/_uniform.py +0 -0
  56. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/experimental/__init__.py +0 -0
  57. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/experimental/_recommender.py +0 -0
  58. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/__init__.py +0 -0
  59. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/_geometry.py +0 -0
  60. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/geometry/_product_geometry.py +0 -0
  61. /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedGaussian.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_gaussian.py +0 -0
  62. /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedGMRF.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_gmrf.py +0 -0
  63. /cuqipy-1.4.0.post0.dev92/cuqi/implicitprior/_regularizedUnboundedUniform.py → /cuqipy-1.4.0.post0.dev101/cuqi/implicitprior/_regularized_unbounded_uniform.py +0 -0
  64. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/implicitprior/_restorator.py +0 -0
  65. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/__init__.py +0 -0
  66. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/__init__.py +0 -0
  67. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_conjugate.py +0 -0
  68. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_conjugate_approx.py +0 -0
  69. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_cwmh.py +0 -0
  70. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_gibbs.py +0 -0
  71. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_hmc.py +0 -0
  72. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_laplace_approximation.py +0 -0
  73. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_mh.py +0 -0
  74. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_pcn.py +0 -0
  75. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_rto.py +0 -0
  76. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/legacy/sampler/_sampler.py +0 -0
  77. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/likelihood/__init__.py +0 -0
  78. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/likelihood/_likelihood.py +0 -0
  79. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/model/__init__.py +0 -0
  80. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/model/_model.py +0 -0
  81. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/operator/__init__.py +0 -0
  82. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/operator/_operator.py +0 -0
  83. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/pde/__init__.py +0 -0
  84. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/problem/__init__.py +0 -0
  85. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/problem/_problem.py +0 -0
  86. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/__init__.py +0 -0
  87. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_conjugate.py +0 -0
  88. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_conjugate_approx.py +0 -0
  89. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_cwmh.py +0 -0
  90. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_direct.py +0 -0
  91. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_gibbs.py +0 -0
  92. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_hmc.py +0 -0
  93. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_laplace_approximation.py +0 -0
  94. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_mh.py +0 -0
  95. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_pcn.py +0 -0
  96. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_rto.py +0 -0
  97. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/sampler/_sampler.py +0 -0
  98. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/samples/__init__.py +0 -0
  99. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/samples/_samples.py +0 -0
  100. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/solver/__init__.py +0 -0
  101. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/solver/_solver.py +0 -0
  102. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/testproblem/__init__.py +0 -0
  103. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/testproblem/_testproblem.py +0 -0
  104. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/__init__.py +0 -0
  105. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/_get_python_variable_name.py +0 -0
  106. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/cuqi/utilities/_utilities.py +0 -0
  107. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/pyproject.toml +0 -0
  108. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/requirements.txt +0 -0
  109. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/setup.cfg +0 -0
  110. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/setup.py +0 -0
  111. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_abstract_distribution_density.py +0 -0
  112. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_algebra.py +0 -0
  113. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_bayesian_inversion.py +0 -0
  114. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_density.py +0 -0
  115. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_distribution.py +0 -0
  116. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_distributions_shape.py +0 -0
  117. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_geometry.py +0 -0
  118. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_implicit_priors.py +0 -0
  119. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_joint_distribution.py +0 -0
  120. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_legacy_sampler.py +0 -0
  121. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_likelihood.py +0 -0
  122. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_model.py +0 -0
  123. /cuqipy-1.4.0.post0.dev92/tests/test_MRFs.py → /cuqipy-1.4.0.post0.dev101/tests/test_mrfs.py +0 -0
  124. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_pde.py +0 -0
  125. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_posterior.py +0 -0
  126. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_problem.py +0 -0
  127. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_product_geometry.py +0 -0
  128. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_random_variable.py +0 -0
  129. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_samples.py +0 -0
  130. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_solver.py +0 -0
  131. {cuqipy-1.4.0.post0.dev92 → cuqipy-1.4.0.post0.dev101}/tests/test_testproblem.py +0 -0
  132. {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.dev92
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/_modifiedhalfnormal.py
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/_regularizedGMRF.py
58
- cuqi/implicitprior/_regularizedGaussian.py
59
- cuqi/implicitprior/_regularizedUnboundedUniform.py
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.dev92
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-24T16:04:21+0100",
11
+ "date": "2025-11-27T07:17:19+0100",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "d6622bf24d4986794de75feebd950e695d1da212",
15
- "version": "1.4.0.post0.dev92"
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 ._modifiedhalfnormal import ModifiedHalfNormal
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
+
@@ -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/demo27_ULA.py
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/demo28_MALA.py
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/TimeDependentLinearPDE.py`.
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/demo25_fwd_poisson_2D.py and demos/demo26_fwd_poisson_mixedBC.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.
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/TimeDependentLinearPDE.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.
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/demo27_ULA.py
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/demo28_MALA.py
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.01)
1636
- sampler_mala_2 = cuqi.sampler.MALA(posterior, scale=0.01)
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
-