Commit acd73602c638e767d8d8db0b9170c1f84ff02a73

Authored by knodlseder
1 parent 09762620

correct radius and width parameters

Showing 1 changed file with 3 additions and 3 deletions
scripts/cssens.py
... ... @@ -356,7 +356,7 @@ class cssens(GApplication):
356 356 spatial["DEC"].fix()
357 357 source = GModelPointSource(spatial, spectrum)
358 358 elif type == "gauss":
359   - radial = GModelRadialGauss(location, self.radius)
  359 + radial = GModelRadialGauss(location, self.m_radius)
360 360 if fitpos:
361 361 radial["RA"].free()
362 362 radial["DEC"].free()
... ... @@ -367,7 +367,7 @@ class cssens(GApplication):
367 367 radial["Sigma"].fix()
368 368 source = GModelExtendedSource(radial, spectrum)
369 369 elif type == "disk":
370   - radial = GModelRadialDisk(location, self.radius)
  370 + radial = GModelRadialDisk(location, self.m_radius)
371 371 if fitpos:
372 372 radial["RA"].free()
373 373 radial["DEC"].free()
... ... @@ -378,7 +378,7 @@ class cssens(GApplication):
378 378 radial["Radius"].fix()
379 379 source = GModelExtendedSource(radial, spectrum)
380 380 elif type == "shell":
381   - radial = GModelRadialShell(location, self.radius, self.width)
  381 + radial = GModelRadialShell(location, self.m_radius, self.m_width)
382 382 if fitpos:
383 383 radial["RA"].free()
384 384 radial["DEC"].free()
... ...