Skip to content

Commit

Permalink
Merge pull request #63 from aymgal/pr-convergence-profile
Browse files Browse the repository at this point in the history
Allow negative convergence for ConvergenceSheet profile
  • Loading branch information
aymgal authored Apr 16, 2024
2 parents e379d0f + 3742578 commit 569af82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion coolest/template/classes/profiles/mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ def __init__(self):
class ConvergenceSheet(AnalyticalProfile):
"""Convergence 'sheet', infinite and uniform mass density profile.
The 'origin' of the convergence sheet is by convention fixed to coordinates (0, 0).
The sheet is allowed to be negative, e.g. can describe an arbitrary
mass-sheet transformation.
This profile is described by the following parameters:
Expand All @@ -286,7 +288,7 @@ def __init__(self):
parameters = {
'kappa_s': NonLinearParameter(
"Convergence value of the uniform mass density sheet",
DefinitionRange(min_value=0., max_value=1e8),
DefinitionRange(min_value=-1e8, max_value=1e8),
latex_str=r"$\kappa_{\rm s}$"
),
}
Expand Down

0 comments on commit 569af82

Please sign in to comment.