Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: improve texts and check spelling #48

Merged
merged 15 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"pyproject.toml",
"read_json.jl"
],
"ignoreWords": ["formfactor"],
"language": "en-US",
"languageSettings": [
{
"dictionaries": ["julia", "physics", "project"],
"languageId": ["julia", "quarto", "text"]
}
],
"version": "0.2",
"ignoreWords": ["formfactor", "pdfs"]
"version": "0.2"
}
3 changes: 3 additions & 0 deletions .cspell/julia.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
colorbar
compat
eachslice
guidefonthalign
guidefontvalign
joinpath
latexstring
lims
minorticks
mlims
Mmap
quadgk
struct
textrm
xlab
xlim
ylab
Expand Down
7 changes: 2 additions & 5 deletions .cspell/project.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
calv
colorbar
latexstring
Mikhasenko
Misha
multline
Semileptonic
textrm
pdfs
semileptonic
6 changes: 3 additions & 3 deletions docs/julia/lb2pkg.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ end

## Deserialization of Objects to a Workspace

Model components are deserialized from a JSON file into computational objects within a workspace for further manipulation. First, functions representing lineshapes and form factors are built. Following this, distributions are processed and added to the workspace.
Model components are deserialized from a JSON file into computational objects within a workspace for further manipulation. First, functions representing lineshapes and form-factors are built. Following this, distributions are processed and added to the workspace.

```{julia}
input = open(joinpath(@__DIR__, "..", "..", "models", "Lb2pKg.json")) do io
Expand Down Expand Up @@ -134,8 +134,8 @@ let
_model = model
f(σs) = Kibble(σs, ms^2) > 0 ? NaN : unpolarized_intensity(model, σs)

calv = [f(Invariants(ms; σ3, σ2)) for σ2 in σ2v, σ3 in σ3v]
heatmap(σ3v, σ2v, calv, colorbar=false, c=:speed)
values = [f(Invariants(ms; σ3, σ2)) for σ2 in σ2v, σ3 in σ3v]
heatmap(σ3v, σ2v, values, colorbar=false, c=:speed)
plot!(border32(masses(model)),
l=(3, :black),
xlim=(σ3v[1], σ3v[end]), ylim=(σ2v[1], σ2v[end]),
Expand Down