Bug #3440

Make sure that the spatial model value or normalisation is always taken correctly into account

Added by Knödlseder Jürgen over 3 years ago. Updated about 2 years ago.

Status:ClosedStart date:11/07/2020
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:2.0.0
Duration:

Description

It seems that the spatial model value is not always taken into account, for example when simulation photons from a diffuse cube model.

All spatial model methods should be checked to verify that the spatial model value is correctly taken into account. The same holds for the GSkyModel::flux() and GSkyModel::eflux() methods.


Recurrence

No recurrence.


Related issues

Related to GammaLib - Action #3439: Add GSkyModel::flux() method that returns correct flux fo... Closed 11/07/2020

History

#1 Updated by Knödlseder Jürgen over 3 years ago

  • Related to Action #3439: Add GSkyModel::flux() method that returns correct flux for diffuse cube models added

#2 Updated by Knödlseder Jürgen about 2 years ago

  • Status changed from New to In Progress
  • Assigned To set to Knödlseder Jürgen
  • % Done changed from 0 to 50
I checked the following models by inspecting the code:
  • GModelSpatialDiffuseConst
  • GModelSpatialDiffuseCube
  • GModelSpatialDiffuseMap
The following models have no normalisation parameter:
  • GModelSpatialEllipticalDisk
  • GModelSpatialEllipticalGauss
  • GModelSpatialEllipticalGeneralGauss
  • GModelSpatialPointSource
  • GModelSpatialRadialDisk
  • GModelSpatialRadialGauss
  • GModelSpatialRadialGeneralGauss
  • GModelSpatialRadialProfileDMBurkert
  • GModelSpatialRadialProfileDMEinasto
  • GModelSpatialRadialProfileDMZhao
  • GModelSpatialRadialProfileGauss
  • GModelSpatialRadialRing
  • GModelSpatialRadialShell

#3 Updated by Knödlseder Jürgen about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF