From 468d2a70860afa7ee896e3cf38e7ece3e209f88d Mon Sep 17 00:00:00 2001 From: Karl Gordon Date: Fri, 3 Apr 2020 18:41:49 -0400 Subject: [PATCH] adding fm90 fitting limits --- dust_extinction/shapes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dust_extinction/shapes.py b/dust_extinction/shapes.py index 2a04898..83086e3 100644 --- a/dust_extinction/shapes.py +++ b/dust_extinction/shapes.py @@ -208,8 +208,8 @@ class FM90(Fittable1DModel): C2 = Parameter(description="linear term: slope", default=0.70) C3 = Parameter(description="bump: amplitude", default=3.23) C4 = Parameter(description="FUV rise: amplitude", default=0.41) - xo = Parameter(description="bump: centroid", default=4.60) - gamma = Parameter(description="bump: width", default=0.99) + xo = Parameter(description="bump: centroid", default=4.60, min=0.) + gamma = Parameter(description="bump: width", default=0.99, min=0.) x_range = x_range_FM90