Commit acd73602c638e767d8d8db0b9170c1f84ff02a73
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,7 +356,7 @@ class cssens(GApplication): | ||
| 356 | spatial["DEC"].fix() | 356 | spatial["DEC"].fix() |
| 357 | source = GModelPointSource(spatial, spectrum) | 357 | source = GModelPointSource(spatial, spectrum) |
| 358 | elif type == "gauss": | 358 | elif type == "gauss": |
| 359 | - radial = GModelRadialGauss(location, self.radius) | 359 | + radial = GModelRadialGauss(location, self.m_radius) |
| 360 | if fitpos: | 360 | if fitpos: |
| 361 | radial["RA"].free() | 361 | radial["RA"].free() |
| 362 | radial["DEC"].free() | 362 | radial["DEC"].free() |
| @@ -367,7 +367,7 @@ class cssens(GApplication): | @@ -367,7 +367,7 @@ class cssens(GApplication): | ||
| 367 | radial["Sigma"].fix() | 367 | radial["Sigma"].fix() |
| 368 | source = GModelExtendedSource(radial, spectrum) | 368 | source = GModelExtendedSource(radial, spectrum) |
| 369 | elif type == "disk": | 369 | elif type == "disk": |
| 370 | - radial = GModelRadialDisk(location, self.radius) | 370 | + radial = GModelRadialDisk(location, self.m_radius) |
| 371 | if fitpos: | 371 | if fitpos: |
| 372 | radial["RA"].free() | 372 | radial["RA"].free() |
| 373 | radial["DEC"].free() | 373 | radial["DEC"].free() |
| @@ -378,7 +378,7 @@ class cssens(GApplication): | @@ -378,7 +378,7 @@ class cssens(GApplication): | ||
| 378 | radial["Radius"].fix() | 378 | radial["Radius"].fix() |
| 379 | source = GModelExtendedSource(radial, spectrum) | 379 | source = GModelExtendedSource(radial, spectrum) |
| 380 | elif type == "shell": | 380 | elif type == "shell": |
| 381 | - radial = GModelRadialShell(location, self.radius, self.width) | 381 | + radial = GModelRadialShell(location, self.m_radius, self.m_width) |
| 382 | if fitpos: | 382 | if fitpos: |
| 383 | radial["RA"].free() | 383 | radial["RA"].free() |
| 384 | radial["DEC"].free() | 384 | radial["DEC"].free() |