Releases: OstapHEP/ostap
Releases · OstapHEP/ostap
v1.5.0.3
v1.5.0.3
New features
- add argument
callable
for models plotting and their conversion toTF1
. 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
- add tiny utilities
lrange
andlog_range
(in addition to existingvrange
) intoostap/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"
- add methods
amp_real
,amp_imag
,amp_phase
for the Breit-Wigner-like models - add Argand plot for the Breit-Wigner-like models
bw = Ostap.Math.BreitWigner(... )
ap = bw.argand ( xmin = ... , xmax = ... , npx = 500 )
ap.draw('alc')
- add utilities for better visuzalisation of Dalitz densities
- more improvements for Dalitz plot vizualization
- more tweaks for
Ostap::Math::DalitzIntegrator
- more tweaks for
Ostap::Math::BW
- add
bb
("bounding box") method forROOT.TGraph
-like objects. - more tweaks for
ROOT.RooMinimizer
, in particular better control over printout - add
PDF.minuit
: add FCN scaling for weighted dataset - re-add checks for
SumW2/Asymptotic
checks for thePDF.fitTo
for weighed datasets - add new test
test_fitting_minuit_weighted
- add two specific cases for
Ostap::Math::PhaseSpaceNL
Backward incompatible changes:
Bug fixes:
v1.5.0.2
v1.5.0.2
New features
- Simplify interface for
Ostap::Math::Integrator
andOstap::Math::DalitzIntegrator
classes: essentially remove large duplication, the tag/label argumetn for caching is now the last one and "optional" - add methods to create
Ostap::Math::ChebyshevSum
fromOstap::Math::ChebyshevApproximation
Backward incompatible changes
Bug fixes:
- fix a bit strange "feature" with "derived" variable in
RooDataSet
(thanks to Alexander Artamonov for rereporting). It happens thatRooDataSet::addColumn
RooDataSet::addColumns` behave a bit differently. the first one issues the error message and variable behaves weirdly.
v1.5.0.1
v1.5.0.1
New features
parallel/task.py
: change master/slave to main/secondary (request from Bogdan Popovici)- Modify a bit printout for
Ostap::StatEntity
andOstap::WStarEntity
classes (request from Alexey Dzyuba) - tiny tweak for
ostap.fitting.badic.all_args
- add
all_integers
,all_numerics
andall_strings
toostap/core/ostap_types.py
Backward incompatible changes
Bug fixes:
- fix a bit strange "feature" in the function
make_dataset
fromostap/fitting/selectors.py
(thanks to Alexander Artamonov for reporting it)
v1.5.0.0
v1.5.0.0
New features
- Make
Ostap::Math::Choose
a bit more efficient - add
Ostap::Math::choose_array
to get array of binomial coefficients (compile time) - add templated central moments
Ostap::Math::Moment_<N>
- add their python decorators
ostap.stats.moment
- add test for moment-counters
test_stats_moment.py
- add templated weighted moment counters
Ostap::Math::WMoment_<N>
- large modificatons in
Ostap::Kinematics::Dalitz
fitting.basic
: add intermediate mase classMASSMEAN
that does not holdsigma
- add
mean_name
,mena_title
,sigma_name
andsigma_title
forMASSMEAN
andMASS
base classes : it allows to remove many ugly lines with post-fix for the variable names - make use of
mean_name
,meean_title
,sigma_name
,sigma_title
for manyPDFs
- Remove
sigma
(gamma
) fromFlatte_pdf
- extend interface for
ostap.fitting.simfit.SimFit
, allowinng usage of it for toys - add test
test_fitting_toys_simfit.py
- further extend
Ostap::Math::DaltzIntegrator
- further extend
Ostap::Kinematics::Daltz0
andOstap::Kinematics::Daltz
(add more invariants) - extend
Ostap::Math::ChebyshevApproximation
(add scale and bias operators) - add
Ostap::Math::Piecewise
function - Improve
Ostap::Math::ChebyshevApproximation
- further extend
Ostap::Math::DaltzIntegrator
- extend generic functions, add generic PDFs
- add
binnig
functions to createRooBinning
- add
ostap.fitting.morphing_pdf
with two PDFs for morphing - add test for new morphing PDF
- add possiility to use regex for
compressed_shalve.ikeys
method - add integration over s,s2 variables in
Ostap::Math::DalitzIntegrator
- add datetime to the logger format for non-isatty output, e.g. log-files...
- add
Ostap::Math::KramersKronig
helper class - tiny tweaks for
tootshelve
- suppress error prints from
selectors.valid_formula
Backward incompatible changes
- rewrite
Ostap::Math::DalitzIntegrator
- rewrite
Ostap::Math::Integrator
1.Flatte_pdf
: rename arguments and attributes - rename
ostap.fitting.basic.Resoluton
toostap.fitting.basic.CheckMean
and invert its argument - total re-write of all Breit-Wigner related stuff and in particular temporarily remove all beast like LASS, Bugg, etc...
- fix but with parsing arguments of
PDF.fitTo
: fro certain number of argument the creation ofRooFit::MultiArg
was incorrect (thanks to Pavel Krokovny)
Bug fixes:
- fix missing
hID
inostap/fittin/variables.py
(thanks to Alexander Berezhnoy)
v1.4.9.1
v1.4.9.1
New features
- improve banner
- extend
ostap/__init__.py.in
- add new test for splot
test_fitting_splot.py
- extent option
minos
, allow to specify variable name or sequence of names
model.fitTo ( .... , minos = 'S', ...)
model.fitTo ( .... , minos = ('S','B') , ... )
- add new test/example
test_fitting_components2.py
`
Backward incompatible changes
Bug fixes:
- fix
truediv
for python3 in several files
v1.4.9.0
v1.4.9.0
New features
- add new cass
P2Quantile
that interfaces P^2 algortuhm from GSL for running quatile (approximate) - Add methods
Ostap::Statvar::p2quantile
,Ostap::StatVar::p2quantiles
andOstap::StatVar::p2interval
. These are much faster (but approximate) versions ofOstap::StatVar::quantile
,Ostap::StatVar::quantiles
andOstap::StatVar::interval
, using P^2 algorithm. - update
ostap.stat.statvar
for modifiedOstap::StatVar
methods - allow uisng sqlite3 dbase for compresed shelves
- extend compressed shelves to keep some metainformation on database (creating/modification date, versions of ostap, ROOT and python versions
- add creation/modification date for the items in compressed shelves
- add new test for splot
test_fitting_splot
Backward incompatible changes
- change return type from
Ostap::StatVar::quantile
,Ostap::StatVar::quantiles
andOstap::StatVar::intrval
method, adding also number fo events used for quantile/interval estimation. It allows to judge abotu the precision
Bug fixes:
- fix really stupid bug in
ValueWithError
- Tiny fix in
Ostap.DataFrame.ProgressBar
- fixed
in_range
option for the case when fit variables are defined asRooRealVar
v1.4.8.7
v1.4.8.7
New features
- implement true
read-only mode for
sqldict(and therefore for
sqlliteshelve` - tune the names of temporary files/directories for
compress_shelve
Backward incompatible changes
Bug fixes:
- couple of minor fixes in
compressed_shelve
anddbase
../ReleaseNotes/v1.4.8.7.md (END)
v1.4.8.5
v1.4.8.5
New features
- improve
compress_shelve
for (much) better treatment of "other' databases, in particular those with several on-disk files - fix unesessary complains/warnings on redefined varibales
- allow implicit name duplicationn for cloning© of
FUNC
/PDF
objects (Is it a good idea???) - update
test_fitting_models
Backward incompatible changes
Bug fixes:
v1.4.8.6
v1.4.8.6
New features
- improve
compress_shelve
for (much) better treatment of "other' databases, in particular those with several on-disk files - fix unesessary complains/warnings on redefined varibales
- allow implicit name duplicationn for cloning© of
FUNC
/PDF
objects (Is it a good idea???) - update
test_fitting_models
Backward incompatible changes
Bug fixes:
v1.4.8.4
v1.4.8.4
New features
- improvea bot the printout for
compressed_shelve
- add new module
ostap.math.covtransform
for transformation of covariance matrices - add tests for
contransfrmm
- extend (part of) linear algebra for
SVectorWithError
- add
io.dbase
module allowing to usebdsdb3
if available
`
Backward incompatible changes
Bug fixes:
- fix bug for
PDF
/FUNC
evalaution with uncertainty - fix bug for
Ostap::Math::SMatrixWithError
- fix travis-CI tests