Skip to content

Commit 3a4ee63

Browse files
Update CLI tutorials
1 parent 3a5c2a9 commit 3a4ee63

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/cli-tutorials.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ neopdf read num_subgrids --pdf-name NNPDF40_nnlo_as_01180
6464
To get the knot values for a given subgrid:
6565

6666
```bash
67-
neopdf read subgrid-info --pdf-name NNPDF40_nnlo_as_01180 --member 0 --subgrid-index 1
67+
neopdf read subgrid-info --pdf-name NNPDF40_nnlo_as_01180 --member=0 --subgrid-index=1
6868
```
6969

7070
- `--pdf-name`: Name of the PDF set.
@@ -109,7 +109,7 @@ neopdf write metadata --path NNPDF40_nnlo_as_01180.neopdf.lz4 --key SetType --va
109109
To compute the interpolated function $xf(x, Q^2)$ for a given PDF set, member, and flavor:
110110

111111
```bash
112-
neopdf compute xfx_q2 --pdf-name NNPDF40_nnlo_as_01180 --member 0 --pid 21 1e-3 10.0
112+
neopdf compute xfx_q2 --pdf-name NNPDF40_nnlo_as_01180 --member=0 --pid=21 1e-3 10.0
113113
```
114114

115115
- `--pdf-name`: Name of the PDF set (can be a `NeoPDF` or `LHAPDF` set).
@@ -131,7 +131,7 @@ neopdf compute xfx_q2 --pdf-name NNPDF40_nnlo_as_01180 --member 0 --pid 21 1e-3
131131
To compute the strong coupling constant $\alpha_s(Q^2)$ for a given PDF set and member:
132132

133133
```bash
134-
neopdf compute alphas_q2 --pdf-name NNPDF40_nnlo_as_01180 --member 0 --q2 10
134+
neopdf compute alphas_q2 --pdf-name NNPDF40_nnlo_as_01180 --member=0 --q2=10
135135
```
136136

137137
- `--q2`: The $Q^2$ value at which to evaluate $\alpha_s$.
@@ -197,7 +197,7 @@ This will generate a `nNNPDF30_nlo_as_0118.neopdf.lz4` PDF grid that also contai
197197
dependence. One can now check the value of $xf(A, x, Q^2)$ for the Iron $^{56}_{26}\mathrm{Fe}$:
198198

199199
```bash
200-
neopdf compute xfx_q2 --pdf-name nNNPDF30_nlo_as_0118.neopdf.lz4 --member 0 --pid 21 56 1e-3 10.0
200+
neopdf compute xfx_q2 --pdf-name nNNPDF30_nlo_as_0118.neopdf.lz4 --member=0 --pid=21 56 1e-3 10.0
201201
```
202202

203203
### Combine multiple $\alpha_s$ LHAPDF sets
@@ -225,7 +225,7 @@ Note that the names of the PDF sets can be passed via the command line using the
225225
`--pdf--name`. We can then interpolate the $\alpha_s = 0.1180$ value:
226226

227227
```bash
228-
neopdf compute xfx_q2 --pdf-name NNPDF40_nnlo.neopdf.lz4 --member 0 --pid 21 0.1180 1e-3 10.0
228+
neopdf compute xfx_q2 --pdf-name NNPDF40_nnlo.neopdf.lz4 --member=0 --pid=21 0.1180 1e-3 10.0
229229
```
230230

231231
!!! danger "Warning"
@@ -265,7 +265,7 @@ first how many subgrids a given set member contains.
265265
We can look at the contents of the first subgrid for the **gluon** PDF:
266266

267267
```bash
268-
> neopdf read subgrid --pdf-name NNPDF40_nnlo_as_01180.neopdf.lz4 --member 0 --subgrid-index 0 --pid 21
268+
> neopdf read subgrid --pdf-name NNPDF40_nnlo_as_01180.neopdf.lz4 --member=0 --subgrid-index=0 --pid=21
269269
270270
[x | Q2] 2.72250e0 3.19494e0 3.77488e0 4.49175e0 5.38430e0 6.50400e0 7.91974e0
271271
1.00000e-9 1.48441e-1 -1.47266e0 -3.42816e0 -5.57841e0 -7.73893e0 -9.65268e0 -1.10375e1

0 commit comments

Comments
 (0)