jupyter_analysis_tools.distrib.Distribution¶
- class jupyter_analysis_tools.distrib.Distribution(xvec, yvec, uvec, xlabel=None, maxPeakCount=None)[source]¶
Bases:
object
Methods
__init__
(xvec, yvec, uvec[, xlabel, ...])getBarWidth
(xvec)moments
()peakData
(peakRange)peakDistrPar
([plotAxes, plotAxisStart])plot
(ax, distPar[, name])plot complete distribution as loaded from file
plotPeak
(peakRange, mom, momLo, momHi, dp, ...)showFullRange: Set the x range to cover the whole distribution instead of the peak only.
uncertRatioMedian
(peakRange)Attributes
color
peaks
plotAxes
plotAxisIdx
u
x
xlabel
y