Get min and max values based on p5 and p95

master
Dan Howe 3 years ago
parent d5e8274061
commit b1ea85bd5a

@ -47,8 +47,8 @@ percentiles = dff.columns.values / 100
for i, row in dff.iterrows(): for i, row in dff.iterrows():
values = row.values values = row.values
x_min = values.min() - 0.2 x_min = row[5] + (row[5] - row[50])
x_max = values.max() + 0.2 x_max = row[95] + (row[95] - row[50])
x = np.linspace(x_min, x_max, num=1000) x = np.linspace(x_min, x_max, num=1000)
# Fit distribution # Fit distribution

Loading…
Cancel
Save