Releases: OstapHEP/ostap
Releases · OstapHEP/ostap
v1.6.6.0
v1.6.6.0
New features:
- add new test/example 'test_fitting_resolution3.py' with relativerly realistic exmapel of simultaneous firtrting of "data" and "MC", propagating uncertainuty from MC resoltuoion shape to results of fit to dat ausing simultaneous fit
- add
array.array
andnumpy/.ndarray
into list oflistlike_types
forostap.core.ostapo_types
module - make use of
fudge
argument fortest_fitting_resolution3.py
- add keys
remove
(default isTrue
) andkeep
(defautl isFalse
) for temporary databases. The first one forces immediate rmoeval of the file (instead of the end-of-the-task action), the second forces temproary file to be non-deleted - add more printout for the
ostap.utils.cleanup
module - add more constructors for
Ostap::Math::Interpolation::Table
- disable some serialisaton tests for ROOT<6 and python3 < 3.7 (seg fault)
- implement serialization/deserialisation for matrtices&vectors
- improve interpoaltion stuff, maknig it more efficient + extend tests
Backward incompatible
Bug fixes:
- fix the bug in
ostap.plotting.fit_draw
for parsing of drawing styles/options - fix minor bug with ordering
v1.6.5.0
v1.6.5.0
New features:
- add
reduce
method for polynomial and spline classes - largerly rewrite and extend all interpolation stuff
- more improvemements for serialization of polynomial-like stuff
- add generic python interpolators with tests for matrices
- more agressively decorate new instances for linear algebr aclasses
- add method
shoot
for 1D, 2D and 3D histograms
Backward incompatible
Bug fixes:
- fix bugs in
tree.py
(Thanks to Daria Savrina) - fix newly introduiced bug in (python) constructor of bernstein polynomoals
v1.6.4.2
v1.6.4.2
New features:
- add more decorators for
TCollection
andTSeqCollection
:get
, 'getitem' , 'contains' - few tweaks for
ostap.plotting.canvas
module - add
+=
operator forROOT.TCollection
- allow to specify colors by names for
xxx.draw ( ... , <xxx>_color=<XXX> )
commands - add analytic non-symmetric expression for 3-body phase space via elliptic integrals
- small fix for
reweighter
(thanks to Daria Savrina)
Backward incompatible
Bug fixes:
- fix failing tests
v1.6.4.1
v1.6.4.1
New features:
- Add local functions for calculation of symmetric Carlson forms
- Add test for symmetric Carlson forms
- split histo parameterization tests
- add function parameterization test
- Add Das fnuction:
Ostap::Math::Das
,Ostap::Models::Das
,Das_pdf
,ResoDas
- gaussian with exponential tails - Add asymmetry parameters for many resolution functions
- add test for ``asymmetric resolutions''
- change pickling/unpickling for
RooRealVar
- more steps toward better pickling/unpickling
- add
params
,limits
andrefit
arguments for histogram parameterrization utilities
Backward incompatible changes:
Bug fixes:
- fit two small typos in
ostap/math/derivative.py
(Thanks to Dmitry Golubkov) - fix the issue with
BernsteinEven
- fix call for
RooFormulaVar::formula
for old versions of ROOT - fix efficiency tests
v1.6.4.0
v1.6.4.0
New features
- Add
slice
androws
mehtods forTTree
andRooAbsData
- Extendd functinality to adding data columns to
TTree
andRooAbsData
- Add reweighting with
GBReweighter
- Add generalized Hyperboilic function, PDF and resolution model:
Ostap::Math::GenHyperbolic
,Ostap::Models::GenHyperbolic
,GenHyperbolic_pdf
,ResoGenHyperbolic
- add tests for generalised hyperbolic functions
- update "parallel" tests
- add
Hypatia_pdf
Backward incompatible changes:
Bug fixes:
- fix typo in CMakeROOT_6_23.txt (thanks to Pavel Krokovny)
- fix "parallel" tests
- disable some parallel tests for ROOT<6.24/06
v1.6.3.0
v1.6.3.0
New features
- reenable
pathos
for (3.6<=python & 0.3<=dill ) - add
statVars
forRooAbsData
- largely reshuffle code for
statVar/statVars
- extend
Ostap::DataFrame
- add
StatVar
andWStatVar
lazy actions for DataFrame - make user-fiennly frame -> histogram projetctions
- add
frame_table
, 'frame_project',frame_statVar
and other functions - simplify
trees/data_utils.py
make it more robust and reduce number of aliveTChain
instances - Extend a bit sumamry plot with simple
Point
andInterval
objects - add
pip install
forCMAKE
- fix
numpy.bool
warning for newer versions ofnumpy
- add
Ostap::Math::A2
- add
(pi^2)/4*(2pi)^-5
factor forOstap.Math.GammaBW3
- add
Ostap::usedVariables
- fix
Ostap::usedVariabled
for old versions of ROOT
Backward incompatible changes:
Bug fixes:
- bug fix in
canvas >> '...'
- make proper replacement for
random.choices
for python < 3.6 - fix marker color for default style
- fix a bug in fraction naming for non-extedned fits (thanks to Dima Pereima)
v1.6.2.0
v1.6.2.0
New features
- make names of created
PDF
andRooAbsPdf
objects unique.. It is not yet 100%, but a good step in this direction. - add "cut-off" functions and PDFs
- improve treatment of "tags" for C++ models.
- improve spline <--> graph relations
- add
da_combine
functions to combine two datasets with weights - add
Ostap::Utils::storeError
, 'Ostap::Utils::storeAsymnError' helper functions - add methods
wname
,store_error
andstore_asym_errors
toROOT.RooDataSet
1, addPSSmear2_pdf
generic smearing of the left edge of the phase space - more coherency for different
Ostap::Math::PhaseSpace*
classes - extend and improve
PSLeftExpoPol_pdf
andPSLeft_pdf
, make them more coherent - add functionality for jackknife and bootstrap analyses for fit biases and error estimates
- better output report from Jackknife and Boostrap studies
- add parameter
frequency
to roys, toys2, jackknife and boostrap toolsostap/fitting/toys.py
- propagare
more_vars
to the output reports of Jackknife and Boostrap studies - allow derived quantitites to be added into the output table of
RooFitResult
- add
getitem
stuff forRooFitResult
to allow interchange with dictionaries - add
split_range
generator to splti large range into smaller chunks - make creation and managemenbt of temporary files and directories more robust, probably more efficient, use better namings, ...
- add
timeout
parameter forsqlitedict
andsqliteshelve
- make use of
berkeleydb
for 3.6<=python
Backward incompatible changes:
Bug fixes:
- fix asserion statement in
dalitz.py
- fix a bug in analytic three-body phase space for cases with zero masses
- fix a bug in numerical three-body phase space for case with all zero masses
- fix a bug in
__getitem__
for range/slice/index sequecne for the weighted datasets - the event weigth was propagates incorrectly. Thanks to Dmitry Pereima.
v1.6.1.0
v1.6.1.0
New features
- Add
Ostap::Math::Hyperbolic
hyperbolic distribition - Add
Ostap::Models::Hyperbolic
hyperbolic distribition - Add
Hyperbilic_pdf
hyperbolic distribition - Add
ROOT.TGraph.merge
- Improve treatment of GSL errors
Backward incompatible changes:
Bug fixes:
- Fix some tiny incorrectnesses in
Ostap/MatrixUtils2.h
- Fix small problem in
ostap.utils.utils.KeepCWD
context manager - Tiny fix in
graph_summary
v1.6.0.0
v1.6.0.0
New features
- Add
FlattePS_pdf
- similar toBWPS_pdf
- Make few important steps towards ROOT 6.23/01 ("New PYROOT"). Full adaptation is not yet achieved, there are some pending problems with effective inheritance from C++ classes (namely
TSelector
,PyPDF
,PyVAR
, ...). There are also some puzzling crashes... - rename tests, make test selection more transparent and easy to navigate back
- rename
ostap/fitting/selectors.py
toostap/fitting/pyselectors.py
to avoid the name clash forpython3
- add helper script
pplaunch
to launch remote pp-servers via ssh tunnels - update
PyVar
,PyVar2
,PyPdf
,PyPdf2
- (almost) complete update for new PyROOT
- fix
test_fitting_minuit_weighted
- thanks to Dima Golubkov - make more coherent treatment of ROOT issues
- fix
minuit
for new PyROOT (signature ofFCN
is different!) - minor update for
minuit
: from now allow access by parameter name:
minuit = ...
minuit['p2'] = 10
minuit.minos ('p1','p2',...)
minuit.release ('p3')
- update
pptunnel
+pplaunch
with better and more informative output - add
Ostap::Math::BW3L
,Ostap::Models::BW3L
,BW3L_pdf
and extend testostap/fitting/tests/tests_fitting_breiwigner.py
- resurrected version of the Breit-Wigner profile from 3-body decays - add check for
more_itertools
, provide replacement forchunked
whenmore_itertools
is not available - update
Ostap::Math::NSphere
andOstap::Math::Positive
such that for null-parameters the reusltin poisitve function is a constant. The trick is based on properties of Chebyshev polynomials of 1st,. 2nd, 3rd and 4th kind. ostap.logger.table
add parameteralignment
that specifies the column alignment.ostap.parallel.task
add parameterbatch
, that allows to execute the tasks inbatch
mode- re-add generic Breit-wigner channel
Ostap::Math::ChannelGeneric
(for ROOT>=6.23/01 only) - add method
amplitude
forOstap::Math::ChannelBW
- re-remove generic Breit-wigner channel
Ostap::Math::ChannelGeneric
- change the default
sample
argument forPDF.generate
fromFalse
toTrue
- tiny fix for the table column alignment
- add
#include <string>
forNSphere.h
- for certain configuration it prevents compile error (thanks to Abdul-Kerim Gusseinov) - Add parameter
accept_fun
fortoys
- that allows to (re)define the accepance criteria, the default corresponds toaccept_fit
function fromostap.fitting.toys
module, that checks the fit status (0) and covariance matrix status ( 3 or -1) - Add parameter
fit_fun
fortoys
- that allows to (re)define the default "fit"-policy - Add parameter
gen_fun
fortoys
- that allows to (re)define the default "generation"-policy test_plotting_summary_graph.py
: add call forROOT.gPad.RedrawAxis
- thanks to Tom Blake- add
**kwargs
for allparallel
-methods, arguments are used forWorkManager
- remove
evaluateBatch
form all PDFs (folloiimng evolution of ROOT). We need to gradually introduceevaluateSpan
Ostap::Math::GammaBW3
: use 1/s factor instead of 1/s^3/2. thanks to Misha Mikhasenko!- Add symmetic Sinh-Asinh resolution model
ResoSinhAsinh
- Add symmetic Jonhson's SU resolution model
ResoJohnsonSU
- fix for the new signature of
TDirectory::CurrentDirectory()
method - fix/rewrite/improve
ostap.histos.compare
module - improve reweighting machinery: make it more tunable (and less automatic) and more suitable for multidimensional reweighting.
- Add new context manager
SETPARS
and use it inPDF.wilks
,PDF.wilks2
,PDF.draw_nll
,PDF.graph_nll
,PDF.graph_profile
- Add logistic/"sech-squared" resolution model
ResoLogistic
- Improve
PDG.graph_profile/PDF.graph_nll
: adddraw
argument to draw the graph in progress - Better (but not perfect yet) treatment/assignement of the unique names for many intermediate objects
Backward incompatible changes:
- Reweighting machinery: different signature of
makeWeights
function - new argumentmake_plots
, different meaning of argumentpower
, different return value
Bug fixes:
- fix bugs in
Ostap::Math::BWPS
v1.5.0.4
v1.5.0.4
New features
- add
Ostap::Math::BWPS
,Ostap::Models::BWPS
andBWPS_pdf
- fnuction for Breit-Wigner profile, modulated with additional phase-space factors and polynpomial degrees of freedom.
Backward incompatible changes:
- Change parameter name
mean
tom0
forBreitWigner_pdf
,BWMC_pdf
,Voigt_pdf
,PseudoVoigt_pdf
, ...