From 3742578246031ddd2ba3204d69f51168ce854ead Mon Sep 17 00:00:00 2001 From: Aymeric Galan Date: Tue, 16 Apr 2024 09:49:39 +0200 Subject: [PATCH] gits Allow negative convergence sheet --- coolest/template/classes/profiles/mass.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coolest/template/classes/profiles/mass.py b/coolest/template/classes/profiles/mass.py index b5f59ad..d64acd9 100644 --- a/coolest/template/classes/profiles/mass.py +++ b/coolest/template/classes/profiles/mass.py @@ -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: @@ -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}$" ), }