From acd73602c638e767d8d8db0b9170c1f84ff02a73 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Tue, 9 Aug 2011 00:53:19 +0000 Subject: [PATCH] correct radius and width parameters --- scripts/cssens.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cssens.py b/scripts/cssens.py index eb7ecef..711c12f 100755 --- a/scripts/cssens.py +++ b/scripts/cssens.py @@ -356,7 +356,7 @@ class cssens(GApplication): spatial["DEC"].fix() source = GModelPointSource(spatial, spectrum) elif type == "gauss": - radial = GModelRadialGauss(location, self.radius) + radial = GModelRadialGauss(location, self.m_radius) if fitpos: radial["RA"].free() radial["DEC"].free() @@ -367,7 +367,7 @@ class cssens(GApplication): radial["Sigma"].fix() source = GModelExtendedSource(radial, spectrum) elif type == "disk": - radial = GModelRadialDisk(location, self.radius) + radial = GModelRadialDisk(location, self.m_radius) if fitpos: radial["RA"].free() radial["DEC"].free() @@ -378,7 +378,7 @@ class cssens(GApplication): radial["Radius"].fix() source = GModelExtendedSource(radial, spectrum) elif type == "shell": - radial = GModelRadialShell(location, self.radius, self.width) + radial = GModelRadialShell(location, self.m_radius, self.m_width) if fitpos: radial["RA"].free() radial["DEC"].free() -- libgit2 0.21.4