Published July 26, 2019
| Version v1.1.3
Software
Open
1313e/PRISM: v1.1.3
Description
This is the v1.1.3 release of the PRISM package.
New additions:
- PRISM now has a Gitter chat room;
- Added a section on when (not) to use PRISM;
- The MCMC functions can now also take dicts as inputs;
- The Emulator class now has a new property called 'poly_terms', which is a user-convenience property that shows the 'poly_powers' and 'poly_coef' properties in a more readable way. It has no underlying counterpart;
- Added four Jupyter notebooks with tutorials on how to use PRISM. More will be coming soon.
Bugfixes:
- The requested emul_i is now properly used for calling
project()in the__call__()/run()-method; - The
get_walkers()-function now returns a copy ofpipe.impl_samto avoid modifications to the internally stored values.
Changes/Optimizations:
- Made several modifications to the documentation to better clarify what model parameters and model data means;
- PRISM now uses the
threadpoolctlpackage to control the number of OpenMP threads NumPy is allowed to use, depending on the current state of the pipeline; - The calculations of all grid pixels in the projection figures is much more efficient now;
- The number of grid bins in the projection figures now depends more on the chosen DPI and figsize. This ensures that the time required to interpolate for the figures is minimized;
- The calculation of the inverse covariance matrix now uses the Moore-Penrose generalized inverse, which heavily reduces the floating point errors in some calculations;
- The Emulator 'method' is now always saved in lowercase, therefore removing the need to transform it into lowercase every time it is checked;
- The
evaluate()-method now prints a requested 1D sample as a dict instead of a NumPy array; - The
_check_sam_set()-method of the ModelLink class is now more efficient and prints more helpful error messages; - Renamed the
get_lnpost_fn()-function toget_hybrid_lnpost_fn(), and made it more efficient in terms of memory consumption (the old function name will be removed completely in v1.2.0); - The unit_space input argument for the MCMC functions is now by default set to False;
- Overhauled a large part of the online documentation on hybrid sampling to be more clear about how exactly it works.
Files
1313e/PRISM-v1.1.3.zip
Files
(7.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:dd5357df042f0523d9b5efbfc6998e95
|
7.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/1313e/PRISM/tree/v1.1.3 (URL)