update(examples): skew_stats plots (add psbid1215 as invalid measurements)

This commit is contained in:
Wataru Otsubo 2024-12-14 23:42:54 +09:00
parent 1f87e8122d
commit e4628322f8
4 changed files with 1536 additions and 1227 deletions

View file

@ -339,7 +339,11 @@ fig_skew_stats = let
df_skew_stats.std_skew,
marker = :x,
color = (Makie.wong_colors()[1], 0.8),
axis = (title = "skew mean vs std", xlabel = "mean", ylabel = "std"),
axis = (
title = "mean vs std of multiple skew measurements for same PS-Boards",
xlabel = "mean / ns",
ylabel = "std / ns",
),
)
text!(
ax,
@ -362,9 +366,9 @@ let
marker = :x,
color = (Makie.wong_colors()[1], 0.8),
axis = (
title = "skew mean vs std",
xlabel = "mean",
ylabel = "std",
title = "mean vs std of multiple skew measurements for same PS-Boards",
xlabel = "mean / ns",
ylabel = "std / ns",
limits = ((-0.6, 1.2), (-0.01, 0.09)),
),
)
@ -406,7 +410,11 @@ let
df.std_skew,
marker = :x,
color = (Makie.wong_colors()[1], 0.8),
axis = (title = "skew mean vs std", xlabel = "mean", ylabel = "std"),
axis = (
title = "mean vs std of multiple skew measurements for same PS-Boards",
xlabel = "mean / ns",
ylabel = "std / ns",
),
)
text!(
ax,
@ -545,12 +553,16 @@ end
# ╔═╡ d92e0f9f-ed53-4ad6-a390-5a395e8ab8bc
md"""
#### 異常に小さい値 (psbid: 444)
#### 異常に小さい値 (psbid: 444, 1215)
psbid: 444
- 出荷済み
psbid: 1215
- QSPIp fail
- 未出荷
"""
# ╔═╡ e9964184-1a2a-4ab9-bc22-2705a25393ec
filter(:skew => (x -> !ismissing(x) && x < -3), df_skews_selected)
filter(:skew => (x -> !ismissing(x) && x < -2), df_skews_selected)
# ╔═╡ bedf8dff-e109-4757-82e5-3232fcad752d
md"""
@ -836,7 +848,7 @@ md"""
"""
# ╔═╡ 2a24c277-6679-49f3-b387-6937b7661a25
invalid_measurements = [215, 291, 442, 460, 462, 545, 799, 802, 444, 255, 435, 1213]
invalid_measurements = [215, 291, 442, 460, 462, 545, 799, 802, 444, 255, 435, 1213, 1215]
# ╔═╡ 13b4112f-96ab-41a1-8ef1-d940771f6ece
df_skews_selected_valids = let
@ -1059,11 +1071,11 @@ let
fig = Figure()
ax = Axis(
fig[1, 1],
title = "rise up span",
title = "distribution of rise up spans",
xlabel = "time / ns",
xticks = (
bins,
string.(round.(bins, digits = 3)),# .* "," .* string.(round.(Int64, bins * 56)),
string.(round.(bins, digits = 3)),
),
xticklabelrotation = π / 3,
)