§ <ˆjA“ ã ó~ — d Z ddlZddlZddlZddlZddlZddlmZ g d¢Z ej ej d¬¦ « ZeZ d„ Zd„ Zd „ Zd „ Zd„ Zd„ Zd „ Zd„ Zd„ ZeeeeeeeedœZd„ Zd„ Zd„ Zd„ Zd„ Zdd„Z ee¦ « dd„¦ « Z dd„Z ee¦ « d d„¦ « Z dd„Z! ee!¦ « d d„¦ « Z"dS )!z Histogram-related functions é N)Ú overrides)Ú histogramÚhistogramddÚhistogram_bin_edgesÚnumpy)Úmodulec ój — t | ¦ « | ¦ « ¦ « S )a Peak-to-peak value of x. This implementation avoids the problem of signed integer arrays having a peak-to-peak value that cannot be represented with the array's data type. This function returns an unsigned value for signed integer arrays. )Ú_unsigned_subtractÚmaxÚmin)Úxs úK/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/lib/histograms.pyÚ_ptpr s$ € õ ˜aŸeše™gœg q§u¢u¡w¤wÑ/Ô/Ð/ó c óV — ~t | ¦ « t j | j ¦ « z S )a~ Square root histogram bin estimator. Bin width is inversely proportional to the data size. Used by many programs for its simplicity. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. )r ÚnpÚsqrtÚsize©r Úranges r Ú_hist_bin_sqrtr s" € ð" Ý�‰7Œ7•R”W˜QœV‘_”_Ñ$Ð$r c ó\ — ~t | ¦ « t j | j ¦ « dz z S )a Sturges histogram bin estimator. A very simplistic estimator based on the assumption of normality of the data. This estimator has poor performance for non-normal data, which becomes especially obvious for large data sets. The estimate depends only on size of the data. Parameters ---------- x : array_like Input data that is to be histogrammed, trimmed to range. May not be empty. Returns ------- h : An estimate of the optimal bin width for the given data. ç ð?)r r Úlog2r r s r Ú_hist_bin_sturgesr 5 s' € ð&