Skip to content

Commit

Permalink
correct docstring indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Nov 14, 2024
1 parent 74170ab commit c7a85f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/yadism/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ def drop_cache(self):
def replace_nans_with_0(self, out):
""" Replace any NaNs in output with 0.0
The small-x (i.e. large eta) limit is not addressed in LeProHQ because
the high energy limit of the polarized case is not known and that is the
main purpose of LeProHQ. As a result LeProHQ may return NaNs in the
small-x limit, which this function replaces with 0.0.
Note that the value of x where this plays a role is below the
experimental regime and thus this does not affect the description of
data, but only e.g. the grids used for the FIATLUX photon computation.
The small-x (i.e. large eta) limit is not addressed in LeProHQ because
the high energy limit of the polarized case is not known and that is the
main purpose of LeProHQ. As a result LeProHQ may return NaNs in the
small-x limit, which this function replaces with 0.0.
Note that the value of x where this plays a role is below the
experimental regime and thus this does not affect the description of
data, but only e.g. the grids used for the FIATLUX photon computation.
"""

out2 = copy.deepcopy(out)
Expand Down

0 comments on commit c7a85f9

Please sign in to comment.