Skip to content

Releases: OstapHEP/ostap

v1.5.0.3

26 Aug 12:36
Compare
Choose a tag to compare

v1.5.0.3

New features

  1. add argument callable for models plotting and their conversion to TF1. It allows to draw some derived quantitites
bw = Ostap.Math.BreitWigner( ... )
bw.draw ( xmin = ... , xmax = ... ) ## draw the Breit-Wigner lineshape
bw.draw ( xmin = ... , xmax = ... , callable = lambda x : bw.amp ( x ).real ) ## draw real part of amplitude
bw.draw ( xmin = ... , xmax = ... , callable = lambda x : bw.amp ( x ).imag ) ## draw real part of amplitude
bw.draw ( xmin = ... , xmax = ... , callable = lambda x : cmath.phase ( bw.amp ( x ) ) ## draw the phase 
  1. add tiny utilities lrange and log_range (in addition to existing vrange) into ostap/utils/utils.py
for x in vrange ( 0.0 , 10.0     , 10 ) : print x  ## "lin-range"
for x in lrange ( 1.0 , 10.0**10 , 10 ) : print x  ## "log-range"
  1. add methods amp_real, amp_imag, amp_phase for the Breit-Wigner-like models
  2. add Argand plot for the Breit-Wigner-like models
bw = Ostap.Math.BreitWigner(... )
ap = bw.argand ( xmin = ... , xmax = ... , npx = 500 )
ap.draw('alc')
  1. add utilities for better visuzalisation of Dalitz densities
  2. more improvements for Dalitz plot vizualization
  3. more tweaks for Ostap::Math::DalitzIntegrator
  4. more tweaks for Ostap::Math::BW
  5. add bb ("bounding box") method for ROOT.TGraph-like objects.
  6. more tweaks for ROOT.RooMinimizer, in particular better control over printout
  7. add PDF.minuit: add FCN scaling for weighted dataset
  8. re-add checks for SumW2/Asymptotic checks for the PDF.fitTo for weighed datasets
  9. add new test test_fitting_minuit_weighted
  10. add two specific cases for Ostap::Math::PhaseSpaceNL

Backward incompatible changes:

Bug fixes:

v1.5.0.2

10 Aug 12:05
Compare
Choose a tag to compare

v1.5.0.2

New features

  1. Simplify interface for Ostap::Math::Integrator and Ostap::Math::DalitzIntegrator classes: essentially remove large duplication, the tag/label argumetn for caching is now the last one and "optional"
  2. add methods to create Ostap::Math::ChebyshevSum from Ostap::Math::ChebyshevApproximation

Backward incompatible changes

Bug fixes:

  1. fix a bit strange "feature" with "derived" variable in RooDataSet (thanks to Alexander Artamonov for rereporting). It happens that RooDataSet::addColumnRooDataSet::addColumns` behave a bit differently. the first one issues the error message and variable behaves weirdly.

v1.5.0.1

05 Aug 10:29
Compare
Choose a tag to compare

v1.5.0.1

New features

  1. parallel/task.py : change master/slave to main/secondary (request from Bogdan Popovici)
  2. Modify a bit printout for Ostap::StatEntity and Ostap::WStarEntity classes (request from Alexey Dzyuba)
  3. tiny tweak for ostap.fitting.badic.all_args
  4. add all_integers, all_numerics and all_strings to ostap/core/ostap_types.py

Backward incompatible changes

Bug fixes:

  1. fix a bit strange "feature" in the function make_dataset from ostap/fitting/selectors.py (thanks to Alexander Artamonov for reporting it)

v1.5.0.0

04 Aug 09:46
Compare
Choose a tag to compare

v1.5.0.0

New features

  1. MakeOstap::Math::Choose a bit more efficient
  2. add Ostap::Math::choose_array to get array of binomial coefficients (compile time)
  3. add templated central moments Ostap::Math::Moment_<N>
  4. add their python decorators ostap.stats.moment
  5. add test for moment-counters test_stats_moment.py
  6. add templated weighted moment counters Ostap::Math::WMoment_<N>
  7. large modificatons in Ostap::Kinematics::Dalitz
  8. fitting.basic : add intermediate mase class MASSMEAN that does not hold sigma
  9. add mean_name, mena_title , sigma_name and sigma_title for MASSMEAN and MASS base classes : it allows to remove many ugly lines with post-fix for the variable names
  10. make use of mean_name, meean_title, sigma_name, sigma_title for many PDFs
  11. Remove sigma(gamma) from Flatte_pdf
  12. extend interface for ostap.fitting.simfit.SimFit, allowinng usage of it for toys
  13. add test test_fitting_toys_simfit.py
  14. further extend Ostap::Math::DaltzIntegrator
  15. further extend Ostap::Kinematics::Daltz0 and Ostap::Kinematics::Daltz (add more invariants)
  16. extend Ostap::Math::ChebyshevApproximation (add scale and bias operators)
  17. add Ostap::Math::Piecewise function
  18. Improve Ostap::Math::ChebyshevApproximation
  19. further extend Ostap::Math::DaltzIntegrator
  20. extend generic functions, add generic PDFs
  21. add binnig functions to create RooBinning
  22. add ostap.fitting.morphing_pdf with two PDFs for morphing
  23. add test for new morphing PDF
  24. add possiility to use regex for compressed_shalve.ikeys method
  25. add integration over s,s2 variables in Ostap::Math::DalitzIntegrator
  26. add datetime to the logger format for non-isatty output, e.g. log-files...
  27. add Ostap::Math::KramersKronig helper class
  28. tiny tweaks for tootshelve
  29. suppress error prints from selectors.valid_formula

Backward incompatible changes

  1. rewrite Ostap::Math::DalitzIntegrator
  2. rewrite Ostap::Math::Integrator
    1.Flatte_pdf: rename arguments and attributes
  3. rename ostap.fitting.basic.Resoluton to ostap.fitting.basic.CheckMean and invert its argument
  4. total re-write of all Breit-Wigner related stuff and in particular temporarily remove all beast like LASS, Bugg, etc...
  5. fix but with parsing arguments of PDF.fitTo : fro certain number of argument the creation of RooFit::MultiArg was incorrect (thanks to Pavel Krokovny)

Bug fixes:

  1. fix missing hID in ostap/fittin/variables.py (thanks to Alexander Berezhnoy)

v1.4.9.1

01 Jun 16:55
Compare
Choose a tag to compare

v1.4.9.1

New features

  1. improve banner
  2. extend ostap/__init__.py.in
  3. add new test for splot test_fitting_splot.py
  4. extent option minos, allow to specify variable name or sequence of names
model.fitTo ( ....   , minos = 'S', ...)
model.fitTo ( ....   , minos = ('S','B') , ... )
  1. add new test/example test_fitting_components2.py
    `

Backward incompatible changes

Bug fixes:

  1. fix truediv for python3 in several files

v1.4.9.0

31 May 10:59
Compare
Choose a tag to compare

v1.4.9.0

New features

  1. add new cass P2Quantile that interfaces P^2 algortuhm from GSL for running quatile (approximate)
  2. Add methods Ostap::Statvar::p2quantile, Ostap::StatVar::p2quantiles and Ostap::StatVar::p2interval. These are much faster (but approximate) versions of Ostap::StatVar::quantile, Ostap::StatVar::quantiles and Ostap::StatVar::interval, using P^2 algorithm.
  3. update ostap.stat.statvar for modified Ostap::StatVar methods
  4. allow uisng sqlite3 dbase for compresed shelves
  5. extend compressed shelves to keep some metainformation on database (creating/modification date, versions of ostap, ROOT and python versions
  6. add creation/modification date for the items in compressed shelves
  7. add new test for splot test_fitting_splot

Backward incompatible changes

  1. change return type from Ostap::StatVar::quantile , Ostap::StatVar::quantiles and Ostap::StatVar::intrval method, adding also number fo events used for quantile/interval estimation. It allows to judge abotu the precision

Bug fixes:

  1. fix really stupid bug in ValueWithError
  2. Tiny fix in Ostap.DataFrame.ProgressBar
  3. fixed in_range option for the case when fit variables are defined as RooRealVar

v1.4.8.7

20 May 19:11
Compare
Choose a tag to compare

v1.4.8.7

New features

  1. implement true read-only mode for sqldict(and therefore forsqlliteshelve`
  2. tune the names of temporary files/directories for compress_shelve

Backward incompatible changes

Bug fixes:

  1. couple of minor fixes in compressed_shelve and dbase
    ../ReleaseNotes/v1.4.8.7.md (END)

v1.4.8.5

19 May 15:32
Compare
Choose a tag to compare

v1.4.8.5

New features

  1. improve compress_shelve for (much) better treatment of "other' databases, in particular those with several on-disk files
  2. fix unesessary complains/warnings on redefined varibales
  3. allow implicit name duplicationn for cloning&copy of FUNC/PDF objects (Is it a good idea???)
  4. update test_fitting_models

Backward incompatible changes

Bug fixes:

v1.4.8.6

19 May 16:31
Compare
Choose a tag to compare

v1.4.8.6

New features

  1. improve compress_shelve for (much) better treatment of "other' databases, in particular those with several on-disk files
  2. fix unesessary complains/warnings on redefined varibales
  3. allow implicit name duplicationn for cloning&copy of FUNC/PDF objects (Is it a good idea???)
  4. update test_fitting_models

Backward incompatible changes

Bug fixes:

v1.4.8.4

16 May 20:52
Compare
Choose a tag to compare

v1.4.8.4

New features

  1. improvea bot the printout for compressed_shelve
  2. add new module ostap.math.covtransform for transformation of covariance matrices
  3. add tests for contransfrmm
  4. extend (part of) linear algebra for SVectorWithError
  5. add io.dbase module allowing to use bdsdb3 if available
    `

Backward incompatible changes

Bug fixes:

  1. fix bug for PDF/FUNC evalaution with uncertainty
  2. fix bug for Ostap::Math::SMatrixWithError
  3. fix travis-CI tests