1

このトピックは以前にも出てきたと確信していますが、本当の解決策を見つけることができないようです。

ご存知のように、条件を課してエッジが指定されている場合、numpy.histogram はバグがあります。

edges = array, where the array (or list) contains the coordinates of the edges.

ドキュメントでは、"Density" = True を使用することをお勧めします。ただし、numpy Web サイトでは、適切な正規化されたヒストグラムの条件は次のとおりです。

 "Note that the sum of the histogram values will not be equal to 1 unless bins of unity width are chosen"

それで、誰もリストを作成する方法を知っていますか

 values = histogram(list, bins = array (or list))

正規化された分布から?

ありがとう

ブレーズ

4

1 に答える 1