Calculate histogram bin edges and counts from data
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | data(:) | |||
integer, | intent(in) | :: | n_bins | |||
logical, | intent(in) | :: | normalize_density | |||
real(kind=wp), | intent(out), | allocatable | :: | bin_edges(:) | ||
real(kind=wp), | intent(out), | allocatable | :: | bin_counts(:) |