You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postprocessing bugfixes and updates - tag v2.0.3. (#312)
* Fixing the bug with cornerplot parameter limits for X-PSI versions above 2.0
Fixes#301
* Option for setting CI precision for corner plots.
* CHANGELOG update
* Postprocess fix for many photospheres (#313)
* Photosphere setter function added in Star.py for postprocessing.
* Extra line removed.
* Error and special case handling for precision settings.
* Precisions given as list of ints or Nones, giving warning instead of error if not using it correctly, and fixing a bug in implementation.
* Postprocessing figure adjustments (#315)
* Minor ticks back to corner plots by default.
* Install getdist and nestcheck from source suggested for latest updates.
* Fix to combining multiple runs. (#316)
* Ready for version update
Co-authored-by: Yves Kini <kiniyves@gmail.com>
Co-authored-by: Sebastien Guillot <sebguillot60@gmail.com>
* Use NestCheck both with and without hyphens in file names. (#317)
* Use NestCheck both with and without hyphens in file names.
* Error handling improved and simplified.
* Date update in Changelog.
---------
Co-authored-by: Yves Kini <kiniyves@gmail.com>
Co-authored-by: Sebastien Guillot <sebguillot60@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,37 @@ and this project adheres to
34
34
.. ^^^^^^^^^^^
35
35
36
36
37
+
[v2.0.3] - 2023-07-11
38
+
~~~~~~~~~~~~~~~~~~~~~
39
+
40
+
Summary
41
+
^^^^^^^
42
+
43
+
* Updates and bug fixes in post-processing.
44
+
45
+
Fixed
46
+
^^^^^
47
+
48
+
* Fixed a bug when defining ``param_plot_lims`` in ``xpsi/PostProcessing/_corner.py`` caused by ``tight_gap_fraction`` being only defined in the customized GetDist version that is not used anymore. That parameter is now defined in X-PSI instead (T.S., Y.K., S.G.).
49
+
50
+
* Fixed a bug when combining multiple runs in ``xpsi/PostProcessing/_runs.py``, which caused the combination sometimes fail since PolyChord (instead of MultiNest) default was used for the initial live point likelihoods in dead-birth files. This bug appeared after switching to use a non-customized version of NestCheck (after X-PSI version 2.0.0). Now the newest NestCheck version allows to change this value, and this change is now done within X-PSI. If trying to use an older NestCheck version, an error is raised (T.S., Y.K.).
51
+
52
+
* Fixed the hyphens in the file names in ``xpsi/PostProcessing/_backends.py`` when reading MultiNest output files with the newest NestCheck version from GitHub, although trying still to read the filenames also with the older syntax to allow older NestCheck versions for other things than combining runs (T.S.).
53
+
54
+
Added
55
+
^^^^^
56
+
* Added a keyword argument in ``xpsi/PostProcessing/_corner.py`` to allow user to define the decimal precisions for all the credible intervals printed in the figures (T.S.).
57
+
58
+
* Added a photosphere setter in ``xpsi/Star.py`` which should allow producing residual and signal plots for models with multiple photosphere objects as explained in ``https://github.com/xpsi-group/xpsi/issues/304`` (Y.K, T.S.).
59
+
60
+
* Added minor ticks back to corner plots in ``xpsi/PostProcessing/_corner.py``. Previously, these ticks were produced by the customized older GetDist version (T.S.).
Copy file name to clipboardExpand all lines: xpsi/PostProcessing/_corner.py
+52-11Lines changed: 52 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,13 @@ def plot(self,
148
148
distributions. If ``bootstrap and not separate_plots`` then
149
149
the density distribution linewidth is set to zero if not
150
150
explicitly specified with kwarg ``lw_1d``.
151
-
In addition, keyword arguments for avoiding unnecessary re-drawing of prior samples (``force_draw``, ``prior_samples_fnames`` and ``priors_identical``).
151
+
In addition, keyword arguments for avoiding unnecessary re-drawing of prior samples
152
+
(``force_draw``, ``prior_samples_fnames`` and ``priors_identical``).
153
+
Param``precisions`` (a list of integers or Nones) can be used to define the decimal number
154
+
precision for each credible interval plotted. In case of 2 parameters, one can do e.g.
155
+
precisions=[2,None] to use 2 digit decimal precision for the first parameter and use the
0 commit comments