========================
New features include PDFIntegrator for integrating over PDFs and the
ability to read compressed files in gvar.Dataset. Several bug fixes as well.
- New class PDFIntegrator for evaluating expectation values weighted
by the probability density function (PDF) for arbitrary multi-dimensional
Gaussian distributions. This class uses the vegas module to evaluate
the multi-dimensional integrals, and optimizes the integrands for vegas.
vegas uses adaptive Monte Carlo integration and so can handle fairly
high-dimension integrals (dim=10, 20, 50 ...) efficiently. The vegas
module must be installed separately. Three other modules are provided
in addition: PDF, PDFStatistics and PDFHistogram. See the section
on "Non-Gaussian Expectation Values" in the tutorial for an example.
- gvar.Dataset can now read gzipped and bzipped files. It looks for .gz
and .bz2 at the ends of file names to identify which files are
compressed.
- Made gvar.gvar(a, sd) substantially faster (30%) when a is a large array.
Replaced a Python list by a numpy array -- corrects an oversight from
before. This probably won't have a big effect on most codes since
gvar creation is usually a small part of the cost.
- Bug fixes in gvar.powerseries that make it work better with
coefficients that are numpy arrays.
- Bug fixes in gvar.cspline when spline is used outside of its range,
with extrap_order set to 0, 1 or 2. The array size returned
by the spline function (or derivatives) was not always correct.
Additional test code.
- Small change in BufferDict to help with legacy code issues.
- BufferDict(d) for d=dictionary no longer stores keys in sorted order. This
never made sense but also causes trouble in python3 when keys of mixed type
are used.