From f6eb8861f5103a064843bedfb842ba8ff8bc7bb7 Mon Sep 17 00:00:00 2001 From: Robel Geda Date: Mon, 22 Aug 2022 13:20:35 -0400 Subject: [PATCH 1/2] add galfit ref in docs --- petrofit/modeling/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/petrofit/modeling/models.py b/petrofit/modeling/models.py index bfc4ea1..08fb8e5 100644 --- a/petrofit/modeling/models.py +++ b/petrofit/modeling/models.py @@ -598,6 +598,7 @@ class GenSersic2D(models.Sersic2D): References ---------- .. [1] http://ned.ipac.caltech.edu/level5/March05/Graham/Graham2.html + .. [2] https://ui.adsabs.harvard.edu/abs/2010AJ....139.2097P/abstract """ c_0 = Parameter(default=0, description="General boxiness of isophote") From 6ebf2650c886218c38f4208d0e70dc3633659468 Mon Sep 17 00:00:00 2001 From: Robel Geda Date: Mon, 22 Aug 2022 13:21:32 -0400 Subject: [PATCH 2/2] Change c_0 bounds to 0 to 2 --- petrofit/modeling/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petrofit/modeling/models.py b/petrofit/modeling/models.py index 08fb8e5..8891976 100644 --- a/petrofit/modeling/models.py +++ b/petrofit/modeling/models.py @@ -35,7 +35,7 @@ def get_default_sersic_bounds(override={}): def get_default_gen_sersic_bounds(override={}): bounds = get_default_sersic_bounds() - bounds['c_0'] = (-1.0, 1.0) + bounds['c_0'] = (0, 2.0) bounds.update(override) return bounds