v1.5.0.3
VanyaBelyaev
released this
26 Aug 12:36
·
2332 commits
to master
since this release
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