Skip to content

Commit a7e265a

Browse files
committed
Correct docstring
1 parent de6497e commit a7e265a

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

validphys2/src/validphys/theorycovariance/higher_twist_functions.py

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -383,41 +383,42 @@ def func(y_values_d, y_values_p):
383383

384384
def DIS_F2C_pc(pc2_p_nodes, pc2_d_nodes, x, q2, pc_func_type: str = "step"):
385385
"""
386-
Builds the function used to compute the shifts for the charm
387-
structure function measured by EMC. The process involved is
386+
Builds the function used to compute the shifts for the charm structure
387+
function measured by EMC. The process involved is
388388
389389
mu^+ + Fe -> mu+^ + c cbar + X .
390390
391-
This function works exactly as the previous functions used to
392-
compute nuisance shifts. In this case, the constructed function
393-
(`func` below) requires two lists of parameters for the proton
394-
and the deuteron contribution. The reason being that in this process
395-
the muon scatters off an iron target, and the power correction
396-
contribution is a mixture of proton and deuteron nucleons. Hence, proton
397-
and deuteron contribution are weighted by the appropriate atomic factor.
391+
This function works exactly as the previous functions used to compute
392+
nuisance shifts. In this case, the constructed function (`func` below)
393+
requires two lists of parameters for the proton and the deuteron
394+
contribution. The reason being that in this process the muon scatters off an
395+
iron target, and the power correction contribution is a mixture of proton
396+
and deuteron nucleons. Hence, proton and deuteron contribution are weighted
397+
by the appropriate atomic factor.
398398
399399
Note that we are parametrising power corrections as proton and deuteron
400-
targets. If we were to parametrize such contributions using, say, proton
401-
and nucleon, than the weights would change.
400+
targets. If we were to parametrize such contributions using, say, proton and
401+
nucleon, than the weights would change.
402402
403403
404404
Nuclear target
405405
--------------
406-
The power corrections for nuclear observables, like in this case, are affected
407-
by the pc contribution of the protons and that of the neutrons.
408-
If we allow for the non-iscoscalarity of the target, and combining the two
409-
contributions in accordance with the atomic and mass number (A and Z), the
410-
power correction for the nuclear target can be written as (see eq.(4.2.5)
411-
in https://nnpdf.mi.infn.it/wp-content/uploads/2021/09/thesis_master_RP.pdf)
406+
The power corrections for nuclear observables, like in this case, are
407+
affected by the pc contribution of the protons and that of the neutrons. If
408+
we allow for the non-isoscalarity of the target, and combine the two
409+
contributions in accordance with the atomic and mass number (A and Z
410+
respectively), the power correction for the nuclear target can be written as
411+
(see eq.(4.2.5) in
412+
https://nnpdf.mi.infn.it/wp-content/uploads/2021/09/thesis_master_RP.pdf)
412413
413414
PC_N = 1/A (Z * PC_p + (A-Z) * PC_n) .
414415
415416
The deuteron is obtained using the isoscalarity, namely
416417
417-
PC_c = 1/2 (PC_p + PC_n) .
418+
PC_d = 1/2 (PC_p + PC_n) .
418419
419420
Since we parametrise the power corrections of the proton and the deuteron,
420-
we can combined the above equations and write
421+
we can combine the above equations and write
421422
422423
PC_N = 1/A * ( PC_p * (2Z - A) + 2 * PC_d * (A - Z) )
423424

0 commit comments

Comments
 (0)