You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pineappl_cli/tests/write.rs
+93-25Lines changed: 93 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -12,31 +12,58 @@ Arguments:
12
12
<OUTPUT> Path of the modified PineAPPL file
13
13
14
14
Options:
15
-
--cc <IDX> Charge conjugate the convolution with the specified index
16
-
--dedup-channels[=<ULPS>] Deduplicate channels assuming numbers differing by ULPS are the same
17
-
--delete-bins <BIN1-BIN2,...> Delete bins with the specified indices
18
-
--delete-channels <CH1-CH2,...> Delete channels with the specified indices
19
-
--delete-orders <O1-O2,...> Delete orders with the specified indices
20
-
--delete-key <KEY> Delete an internal key-value pair
21
-
--div-bin-norm-dims <DIM1,...> Divide each bin normalizations by the bin lengths for the given dimensions
22
-
--merge-bins <BIN1-BIN2,...> Merge specific bins together
23
-
--merge-channel-factors[=<ON>] Merge channel factors into the grid [possible values: true, false]
24
-
--mul-bin-norm <NORM> Multiply all bin normalizations with the given factor
25
-
--optimize[=<ENABLE>] Optimize internal data structure to minimize memory and disk usage [possible values: true, false]
26
-
--optimize-fk-table <OPTIMI> Optimize internal data structure of an FkTable to minimize memory and disk usage [possible values: Nf6Ind, Nf6Sym, Nf5Ind, Nf5Sym, Nf4Ind, Nf4Sym, Nf3Ind, Nf3Sym]
27
-
--repair[=<ENABLE>] Repair bugs saved in the grid [possible values: true, false]
28
-
--rewrite-channel <IDX> <CHAN> Rewrite the definition of the channel with index IDX
29
-
--rewrite-order <IDX> <ORDER> Rewrite the definition of the order with index IDX
30
-
--rotate-pid-basis <BASIS> Rotate the PID basis for this grid [possible values: PDG, EVOL]
31
-
-s, --scale <SCALE> Scales all grids with the given factor
32
-
--scale-by-bin <BIN1,BIN2,...> Scale each bin with a different factor
33
-
--scale-by-order <FAC1,FAC2,...> Scale subgrids with order-dependent factors
34
-
--set-bins <LIMITS> Set the bin limits
35
-
--set-key-value <KEY> <VALUE> Set an internal key-value pair
36
-
--set-key-file <KEY> <FILE> Set an internal key-value pair, with value being read from a file
37
-
--split-channels[=<ENABLE>] Split the grid such that each channel contains only a single PID combination [possible values: true, false]
38
-
--upgrade[=<ENABLE>] Convert the file format to the most recent version [possible values: true, false]
39
-
-h, --help Print help
15
+
--cc <IDX>
16
+
Charge conjugate the convolution with the specified index
17
+
--dedup-channels[=<ULPS>]
18
+
Deduplicate channels assuming numbers differing by ULPS are the same
19
+
--delete-bins <BIN1-BIN2,...>
20
+
Delete bins with the specified indices
21
+
--delete-channels <CH1-CH2,...>
22
+
Delete channels with the specified indices
23
+
--delete-orders <O1-O2,...>
24
+
Delete orders with the specified indices
25
+
--delete-key <KEY>
26
+
Delete an internal key-value pair
27
+
--div-bin-norm-dims <DIM1,...>
28
+
Divide each bin normalizations by the bin lengths for the given dimensions
29
+
--fix-convolution <XCONV> <PDF_SET>
30
+
Fix one of the convolutions with a PDF set
31
+
--merge-bins <BIN1-BIN2,...>
32
+
Merge specific bins together
33
+
--merge-channel-factors[=<ON>]
34
+
Merge channel factors into the grid [possible values: true, false]
35
+
--mul-bin-norm <NORM>
36
+
Multiply all bin normalizations with the given factor
37
+
--optimize[=<ENABLE>]
38
+
Optimize internal data structure to minimize memory and disk usage [possible values: true, false]
39
+
--optimize-fk-table <OPTIMI>
40
+
Optimize internal data structure of an FkTable to minimize memory and disk usage [possible values: Nf6Ind, Nf6Sym, Nf5Ind, Nf5Sym, Nf4Ind, Nf4Sym, Nf3Ind, Nf3Sym]
41
+
--repair[=<ENABLE>]
42
+
Repair bugs saved in the grid [possible values: true, false]
43
+
--rewrite-channel <IDX> <CHAN>
44
+
Rewrite the definition of the channel with index IDX
45
+
--rewrite-order <IDX> <ORDER>
46
+
Rewrite the definition of the order with index IDX
47
+
--rotate-pid-basis <BASIS>
48
+
Rotate the PID basis for this grid [possible values: PDG, EVOL]
49
+
-s, --scale <SCALE>
50
+
Scales all grids with the given factor
51
+
--scale-by-bin <BIN1,BIN2,...>
52
+
Scale each bin with a different factor
53
+
--scale-by-order <FAC1,FAC2,...>
54
+
Scale subgrids with order-dependent factors
55
+
--set-bins <LIMITS>
56
+
Set the bin limits
57
+
--set-key-value <KEY> <VALUE>
58
+
Set an internal key-value pair
59
+
--set-key-file <KEY> <FILE>
60
+
Set an internal key-value pair, with value being read from a file
61
+
--split-channels[=<ENABLE>]
62
+
Split the grid such that each channel contains only a single PID combination [possible values: true, false]
63
+
--upgrade[=<ENABLE>]
64
+
Convert the file format to the most recent version [possible values: true, false]
65
+
-h, --help
66
+
Print help
40
67
";
41
68
42
69
constCHANNEL_STR:&str = "c entry entry
@@ -444,6 +471,17 @@ const DELETE_ORDERS_STR: &str = "o order
0 commit comments