Action #2210

Implement ARF integration in CTAOnOffObservation

Added by Knödlseder Jürgen over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:10/09/2017
Priority:NormalDue date:
Assigned To:Martin Pierrick% Done:

100%

Category:-Estimated time:10.00 hours
Target version:1.5.0
Duration:

test_OnOff_8th.py Magnifier (32.6 KB) Martin Pierrick, 10/13/2017 09:23 AM


Recurrence

No recurrence.

History

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

  • Assigned To set to Martin Pierrick

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

  • Subject changed from Implement ARF integration in @CTAOnOffObservation@ to Implement ARF integration in CTAOnOffObservation

#3 Updated by Martin Pierrick over 6 years ago

Integration of ARF, RMF, and BGD over the ON-OFF regions should now be done properly. But there are still some bugs in the code because the attached self-contained test script for a simple reflected region case does not yield the expected output.

#4 Updated by Martin Pierrick over 6 years ago

  • % Done changed from 0 to 50
  • Estimated time set to 10.00

#5 Updated by Knödlseder Jürgen over 6 years ago

  • Status changed from New to Feedback
  • Target version set to 1.5.0
  • % Done changed from 50 to 90

I integrated the code into GammaLib and did some minor bug fixes. From my perspective the code is okay.

I put the status to feedback in case you want to double check.

#6 Updated by Martin Pierrick over 6 years ago

I found out that I made a mistake in the way I handled the RMF for the computation of the expected ON counts, and then realized that I should have done a proper integration over the bin width instead of using the log-mean value. Apparently you did correct these two points in the new version so everything should work fine now. I will test it with my script and let you know.

#7 Updated by Knödlseder Jürgen over 6 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF