Skip to content

Commit

Permalink
gits
Browse files Browse the repository at this point in the history
Allow negative convergence sheet
  • Loading branch information
aymgal committed Apr 16, 2024
1 parent e379d0f commit 3742578
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 3742578

Please sign in to comment.