mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-07-03 18:20:39 +09:00
update: existing example notebooks
This commit is contained in:
parent
9520a2021e
commit
d0058f7f7b
2 changed files with 44 additions and 6 deletions
|
@ -13,6 +13,8 @@ begin
|
|||
using Tables
|
||||
using DataFrames
|
||||
using Dates
|
||||
using Statistics
|
||||
using Printf
|
||||
using CairoMakie
|
||||
end
|
||||
|
||||
|
@ -103,14 +105,26 @@ end
|
|||
# ╔═╡ b23f3f63-4c6f-476f-aab8-22069940325e
|
||||
let
|
||||
skews = skews_for_each_board.lvds_tx_skew |> skipmissing |> collect
|
||||
stephist(
|
||||
fig, ax, shist = stephist(
|
||||
skews,
|
||||
bins = range(minimum(skews), maximum(skews), step = 1 / 57),
|
||||
bins = range(minimum(skews), maximum(skews), step = 4 / 57),
|
||||
axis = (;
|
||||
title = "skews of latest measurement for each board",
|
||||
title = "skews of the latest measurements for each board",
|
||||
xlabel = "skew / ns",
|
||||
)
|
||||
)
|
||||
Legend(
|
||||
fig[1, 1],
|
||||
[shist,],
|
||||
["n = $(length(skews)), μ = $(@sprintf "%.2g" mean(skews)), σ = $(@sprintf "%.2g" std(skews))",],
|
||||
tellheight = false,
|
||||
tellwidth = false,
|
||||
margin = (10, 10, 10, 10),
|
||||
halign = :left,
|
||||
valign = :top,
|
||||
)
|
||||
|
||||
fig
|
||||
end
|
||||
|
||||
# ╔═╡ 1306b44d-781f-4948-ba39-734c92dc6b8c
|
||||
|
@ -207,7 +221,9 @@ DBInterface = "a10d1c49-ce27-4219-8d33-6db1a4562965"
|
|||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
|
||||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
|
||||
PlutoUI = "7f904dfe-b85e-4ff6-b463-dae2292396a8"
|
||||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
|
||||
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
|
||||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
|
||||
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
|
||||
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"
|
||||
|
||||
|
@ -227,7 +243,7 @@ PLUTO_MANIFEST_TOML_CONTENTS = """
|
|||
|
||||
julia_version = "1.10.5"
|
||||
manifest_format = "2.0"
|
||||
project_hash = "7b74b76d2fac94a9453c783e4adc8c6725fe2d03"
|
||||
project_hash = "520d318d0e1f3d66476b72d20eb4bb96d48f16d8"
|
||||
|
||||
[[deps.AbstractFFTs]]
|
||||
deps = ["LinearAlgebra"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue