update: skew_stats (width distribution for selected skew measurements)

- add historgram of widths of rise up in a measurements for each ps
  boards
This commit is contained in:
Wataru Otsubo 2024-10-07 10:45:49 +09:00
parent 4f0dad1c03
commit f961ad7f4c
2 changed files with 35 additions and 7 deletions

File diff suppressed because one or more lines are too long

View file

@ -184,7 +184,7 @@ end
# ╔═╡ b38bbed4-8721-4e92-a546-f7926cc07dd3
md"""
## 立ち上がり時間の分布
## 立ち上がり時間の分布(生)
"""
# ╔═╡ 420dce0e-4757-48d9-84ec-7ddfac2fdff6
@ -457,9 +457,6 @@ skew結果として使った測定について、立ち上がり回数が1では
- 出荷済み
"""
# ╔═╡ 4d809d8c-35d5-44b9-89b9-a43dbc8e6206
PSBoardDataBase.ClockParser.count_riseup("../test/input/slavelogs/main/436_103_clk.txt")
# ╔═╡ 9f3f780d-da6e-44b4-a002-c2f088681e9c
df_skews_selected_sorted = let
df = sort(df_skews_selected, :skew)
@ -467,6 +464,35 @@ df_skews_selected_sorted = let
df
end
# ╔═╡ 07342d98-3889-4a19-8419-6d113fffb42e
md"""
#### 立ち上がり時間の分布
"""
# ╔═╡ 939aba6b-b03c-42b6-83b3-9cea5f4eb858
let
skew_widths = df_skews_selected.width |> skipmissing |> collect
bins = range(0, maximum(skew_widths), step = 1 / 57)# .- 0.01
hist(
skew_widths,
bins = bins,
bar_labels = :y,
label_size = 14,
label_formatter = x -> "$(round(Int, x))",
axis = (
title = "clock rise span distribution",
xlabel = "rise up span / ns",
ylabel = "counts",
limits = ((0, 0.18), (0, nothing)),
# xticks = (bins, string.(round.(bins, digits = 3))),
# xticklabelrotation = π / 3,
),
)
end
# ╔═╡ aa9b78bc-8d66-4df2-bd06-1cbf21190488
filter(:width => (x -> ismissing(x) || x < 0.06), df_skews_selected)
# ╔═╡ 6c3c7669-d594-425d-bf05-9aa217c7656e
md"""
## turn on curves
@ -607,7 +633,9 @@ end
# ╠═f5bc8b1a-3fee-48ed-9910-367a1cda632e
# ╠═106b8abe-0040-48f1-b663-c00ca7673520
# ╠═a06d16ee-a4be-40de-8dac-fd818754373c
# ╠═4d809d8c-35d5-44b9-89b9-a43dbc8e6206
# ╠═9f3f780d-da6e-44b4-a002-c2f088681e9c
# ╠═07342d98-3889-4a19-8419-6d113fffb42e
# ╠═939aba6b-b03c-42b6-83b3-9cea5f4eb858
# ╠═aa9b78bc-8d66-4df2-bd06-1cbf21190488
# ╠═6c3c7669-d594-425d-bf05-9aa217c7656e
# ╠═e9b3f541-d87d-4424-8b82-be1b7b3273d8