Bug #2838

Error in nbgd calculation for wstat

Added by Tibaldo Luigi almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:02/13/2019
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.6.0
Duration:

Description

In GCTAOnOffObservation, wstat_value, line 3272, currently reads

nbgd = 0;

It should be instead

nbgd = noff/alphap1;

The likelihood and gradients are calculated correctly, but this may have an impact on the calculation of residuals.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen almost 6 years ago

  • Project changed from ctools to GammaLib
  • Target version deleted (1.6.0)

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

  • Subject changed from error in nbgd calculation for wstat to Error in nbgd calculation for wstat
  • Status changed from New to In Progress
  • Assigned To set to Knödlseder Jürgen
  • Target version set to 1.6.0
  • % Done changed from 0 to 100

The code was modified according to the suggestion.

#3 Updated by Knödlseder Jürgen almost 6 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF