Skip to content

Releases: OstapHEP/ostap

v1.6.6.0

01 Dec 14:28
Compare
Choose a tag to compare

v1.6.6.0

New features:

  1. 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
  2. add array.array and numpy/.ndarray into list of listlike_types for ostap.core.ostapo_types module
  3. make use of fudge argument for test_fitting_resolution3.py
  4. add keys remove (default is True) and keep (defautl is False) 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
  5. add more printout for the ostap.utils.cleanup module
  6. add more constructors for Ostap::Math::Interpolation::Table
  7. disable some serialisaton tests for ROOT<6 and python3 < 3.7 (seg fault)
  8. implement serialization/deserialisation for matrtices&vectors
  9. improve interpoaltion stuff, maknig it more efficient + extend tests

Backward incompatible

Bug fixes:

  1. fix the bug in ostap.plotting.fit_draw for parsing of drawing styles/options
  2. fix minor bug with ordering

v1.6.5.0

22 Nov 16:36
Compare
Choose a tag to compare

v1.6.5.0

New features:

  1. add reduce method for polynomial and spline classes
  2. largerly rewrite and extend all interpolation stuff
  3. more improvemements for serialization of polynomial-like stuff
  4. add generic python interpolators with tests for matrices
  5. more agressively decorate new instances for linear algebr aclasses
  6. add method shoot for 1D, 2D and 3D histograms

Backward incompatible

Bug fixes:

  1. fix bugs in tree.py (Thanks to Daria Savrina)
  2. fix newly introduiced bug in (python) constructor of bernstein polynomoals

v1.6.4.2

11 Nov 12:18
Compare
Choose a tag to compare

v1.6.4.2

New features:

  1. add more decorators for TCollection and TSeqCollection: get, 'getitem' , 'contains'
  2. few tweaks for ostap.plotting.canvas module
  3. add += operator for ROOT.TCollection
  4. allow to specify colors by names for xxx.draw ( ... , <xxx>_color=<XXX> ) commands
  5. add analytic non-symmetric expression for 3-body phase space via elliptic integrals
  6. small fix for reweighter (thanks to Daria Savrina)

Backward incompatible

Bug fixes:

  1. fix failing tests

v1.6.4.1

28 Oct 08:26
Compare
Choose a tag to compare

v1.6.4.1

New features:

  1. Add local functions for calculation of symmetric Carlson forms
  2. Add test for symmetric Carlson forms
  3. split histo parameterization tests
  4. add function parameterization test
  5. Add Das fnuction: Ostap::Math::Das, Ostap::Models::Das, Das_pdf, ResoDas - gaussian with exponential tails
  6. Add asymmetry parameters for many resolution functions
  7. add test for ``asymmetric resolutions''
  8. change pickling/unpickling for RooRealVar
  9. more steps toward better pickling/unpickling
  10. add params, limits and refit arguments for histogram parameterrization utilities

Backward incompatible changes:

Bug fixes:

  1. fit two small typos in ostap/math/derivative.py (Thanks to Dmitry Golubkov)
  2. fix the issue with BernsteinEven
  3. fix call for RooFormulaVar::formula for old versions of ROOT
  4. fix efficiency tests

v1.6.4.0

06 Oct 12:31
Compare
Choose a tag to compare

v1.6.4.0

New features

  1. Add slice and rows mehtods for TTree and RooAbsData
  2. Extendd functinality to adding data columns to TTree and RooAbsData
  3. Add reweighting with GBReweighter
  4. Add generalized Hyperboilic function, PDF and resolution model: Ostap::Math::GenHyperbolic, Ostap::Models::GenHyperbolic, GenHyperbolic_pdf, ResoGenHyperbolic
  5. add tests for generalised hyperbolic functions
  6. update "parallel" tests
  7. add Hypatia_pdf

Backward incompatible changes:

Bug fixes:

  1. fix typo in CMakeROOT_6_23.txt (thanks to Pavel Krokovny)
  2. fix "parallel" tests
  3. disable some parallel tests for ROOT<6.24/06

v1.6.3.0

31 Aug 07:33
Compare
Choose a tag to compare

v1.6.3.0

New features

  1. reenable pathos for (3.6<=python & 0.3<=dill )
  2. add statVars for RooAbsData
  3. largely reshuffle code for statVar/statVars
  4. extend Ostap::DataFrame
  5. add StatVar and WStatVar lazy actions for DataFrame
  6. make user-fiennly frame -> histogram projetctions
  7. add frame_table, 'frame_project', frame_statVar and other functions
  8. simplify trees/data_utils.py make it more robust and reduce number of alive TChain instances
  9. Extend a bit sumamry plot with simple Point and Interval objects
  10. add pip install for CMAKE
  11. fix numpy.bool warning for newer versions of numpy
  12. add Ostap::Math::A2
  13. add (pi^2)/4*(2pi)^-5 factor for Ostap.Math.GammaBW3
  14. add Ostap::usedVariables
  15. fix Ostap::usedVariabled for old versions of ROOT

Backward incompatible changes:

Bug fixes:

  1. bug fix in canvas >> '...'
  2. make proper replacement for random.choices for python < 3.6
  3. fix marker color for default style
  4. fix a bug in fraction naming for non-extedned fits (thanks to Dima Pereima)

v1.6.2.0

16 May 14:02
Compare
Choose a tag to compare

v1.6.2.0

New features

  1. make names of created PDF and RooAbsPdf objects unique.. It is not yet 100%, but a good step in this direction.
  2. add "cut-off" functions and PDFs
  3. improve treatment of "tags" for C++ models.
  4. improve spline <--> graph relations
  5. add da_combine functions to combine two datasets with weights
  6. add Ostap::Utils::storeError, 'Ostap::Utils::storeAsymnError' helper functions
  7. add methods wname, store_error and store_asym_errors to ROOT.RooDataSet
    1, add PSSmear2_pdf generic smearing of the left edge of the phase space
  8. more coherency for different Ostap::Math::PhaseSpace* classes
  9. extend and improve PSLeftExpoPol_pdf and PSLeft_pdf, make them more coherent
  10. add functionality for jackknife and bootstrap analyses for fit biases and error estimates
  11. better output report from Jackknife and Boostrap studies
  12. add parameter frequency to roys, toys2, jackknife and boostrap tools ostap/fitting/toys.py
  13. propagare more_vars to the output reports of Jackknife and Boostrap studies
  14. allow derived quantitites to be added into the output table of RooFitResult
  15. add getitem stuff for RooFitResult to allow interchange with dictionaries
  16. add split_range generator to splti large range into smaller chunks
  17. make creation and managemenbt of temporary files and directories more robust, probably more efficient, use better namings, ...
  18. add timeout parameter for sqlitedict and sqliteshelve
  19. make use of berkeleydb for 3.6<=python

Backward incompatible changes:

Bug fixes:

  1. fix asserion statement in dalitz.py
  2. fix a bug in analytic three-body phase space for cases with zero masses
  3. fix a bug in numerical three-body phase space for case with all zero masses
  4. 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

22 Mar 17:03
Compare
Choose a tag to compare

v1.6.1.0

New features

  1. Add Ostap::Math::Hyperbolic hyperbolic distribition
  2. Add Ostap::Models::Hyperbolic hyperbolic distribition
  3. Add Hyperbilic_pdf hyperbolic distribition
  4. Add ROOT.TGraph.merge
  5. Improve treatment of GSL errors

Backward incompatible changes:

Bug fixes:

  1. Fix some tiny incorrectnesses in Ostap/MatrixUtils2.h
  2. Fix small problem in ostap.utils.utils.KeepCWD context manager
  3. Tiny fix in graph_summary

v1.6.0.0

15 Mar 10:06
Compare
Choose a tag to compare

v1.6.0.0

New features

  1. Add FlattePS_pdf - similar to BWPS_pdf
  2. 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...
  3. rename tests, make test selection more transparent and easy to navigate back
  4. rename ostap/fitting/selectors.py to ostap/fitting/pyselectors.py to avoid the name clash for python3
  5. add helper script pplaunch to launch remote pp-servers via ssh tunnels
  6. update PyVar, PyVar2, PyPdf,PyPdf2
  7. (almost) complete update for new PyROOT
  8. fix test_fitting_minuit_weighted - thanks to Dima Golubkov
  9. make more coherent treatment of ROOT issues
  10. fix minuit for new PyROOT (signature of FCN is different!)
  11. minor update for minuit : from now allow access by parameter name:
minuit        = ...
minuit['p2']  = 10 
minuit.minos   ('p1','p2',...)
minuit.release ('p3')
  1. update pptunnel + pplaunch with better and more informative output
  2. add Ostap::Math::BW3L, Ostap::Models::BW3L, BW3L_pdf and extend test ostap/fitting/tests/tests_fitting_breiwigner.py - resurrected version of the Breit-Wigner profile from 3-body decays
  3. add check for more_itertools, provide replacement for chunked when more_itertools is not available
  4. update Ostap::Math::NSphere and Ostap::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.
  5. ostap.logger.table add parameter alignment that specifies the column alignment.
  6. ostap.parallel.task add parameter batch, that allows to execute the tasks in batch mode
  7. re-add generic Breit-wigner channel Ostap::Math::ChannelGeneric (for ROOT>=6.23/01 only)
  8. add method amplitude for Ostap::Math::ChannelBW
  9. re-remove generic Breit-wigner channel Ostap::Math::ChannelGeneric
  10. change the default sample argument for PDF.generate from False to True
  11. tiny fix for the table column alignment
  12. add #include <string> for NSphere.h - for certain configuration it prevents compile error (thanks to Abdul-Kerim Gusseinov)
  13. Add parameter accept_fun for toys - that allows to (re)define the accepance criteria, the default corresponds to accept_fit function from ostap.fitting.toys module, that checks the fit status (0) and covariance matrix status ( 3 or -1)
  14. Add parameter fit_fun for toys - that allows to (re)define the default "fit"-policy
  15. Add parameter gen_fun for toys - that allows to (re)define the default "generation"-policy
  16. test_plotting_summary_graph.py : add call for ROOT.gPad.RedrawAxis - thanks to Tom Blake
  17. add **kwargs for all parallel-methods, arguments are used for WorkManager
  18. remove evaluateBatch form all PDFs (folloiimng evolution of ROOT). We need to gradually introduce evaluateSpan
  19. Ostap::Math::GammaBW3: use 1/s factor instead of 1/s^3/2. thanks to Misha Mikhasenko!
  20. Add symmetic Sinh-Asinh resolution model ResoSinhAsinh
  21. Add symmetic Jonhson's SU resolution model ResoJohnsonSU
  22. fix for the new signature of TDirectory::CurrentDirectory() method
  23. fix/rewrite/improve ostap.histos.compare module
  24. improve reweighting machinery: make it more tunable (and less automatic) and more suitable for multidimensional reweighting.
  25. Add new context manager SETPARS and use it in PDF.wilks , PDF.wilks2 , PDF.draw_nll, PDF.graph_nll, PDF.graph_profile
  26. Add logistic/"sech-squared" resolution model ResoLogistic
  27. Improve PDG.graph_profile/PDF.graph_nll : add draw argument to draw the graph in progress
  28. Better (but not perfect yet) treatment/assignement of the unique names for many intermediate objects

Backward incompatible changes:

  1. Reweighting machinery: different signature of makeWeights function - new argument make_plots, different meaning of argument power, different return value

Bug fixes:

  1. fix bugs in Ostap::Math::BWPS

v1.5.0.4

28 Aug 11:04
Compare
Choose a tag to compare

v1.5.0.4

New features

  1. add Ostap::Math::BWPS, Ostap::Models::BWPS and BWPS_pdf - fnuction for Breit-Wigner profile, modulated with additional phase-space factors and polynpomial degrees of freedom.

Backward incompatible changes:

  1. Change parameter name mean to m0 for BreitWigner_pdf, BWMC_pdf, Voigt_pdf, PseudoVoigt_pdf, ...

Bug fixes: