From f73d8ba552c5720b680ed10ef1f9c4b8edab7d9c Mon Sep 17 00:00:00 2001 From: Karl Gordon Date: Thu, 15 Aug 2024 17:23:18 -0400 Subject: [PATCH] removing min when using bounds --- dust_extinction/shapes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dust_extinction/shapes.py b/dust_extinction/shapes.py index 3bc6c76..33f3cee 100644 --- a/dust_extinction/shapes.py +++ b/dust_extinction/shapes.py @@ -238,8 +238,8 @@ class FM90(Fittable1DModel): C2 = Parameter(description="linear term: slope", default=0.70, bounds=(-0.1, 5.0)) C3 = Parameter(description="bump: amplitude", default=3.23, bounds=(-1.0, 6.0)) C4 = Parameter(description="FUV rise: amplitude", default=0.41, bounds=(-0.5, 1.5)) - xo = Parameter(description="bump: centroid", default=4.59, min=0.0, bounds=(4.5, 4.9)) - gamma = Parameter(description="bump: width", default=0.95, min=0.0, bounds=(0.6, 1.7)) + xo = Parameter(description="bump: centroid", default=4.59, bounds=(4.5, 4.9)) + gamma = Parameter(description="bump: width", default=0.95, bounds=(0.6, 1.7)) x_range = x_range_FM90 @@ -406,8 +406,8 @@ class FM90_B3(Fittable1DModel): C2 = Parameter(description="linear term: slope", default=0.70, bounds=(-0.1, 5.0)) B3 = Parameter(description="bump: amplitude", default=3.23, bounds=(-1.0, 6.0)) C4 = Parameter(description="FUV rise: amplitude", default=0.41, bounds=(-0.5, 1.5)) - xo = Parameter(description="bump: centroid", default=4.59, min=0.0, bounds=(4.5, 4.9)) - gamma = Parameter(description="bump: width", default=0.95, min=0.0, bounds=(0.6, 1.7)) + xo = Parameter(description="bump: centroid", default=4.59, bounds=(4.5, 4.9)) + gamma = Parameter(description="bump: width", default=0.95, bounds=(0.6, 1.7)) x_range = x_range_FM90