Bug #1920

Fix cslightcrv script

Added by Knödlseder Jürgen almost 8 years ago. Updated over 7 years ago.

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

100%

Category:-
Target version:1.2.0
Duration:

Description

While trying to use cslightcrv on the 1DC test data a bug occured related to the extraction of parameters. It is also not clear whether the current script correctly handles stacked data. This should be clarified and the script should be adapted if needed.


Recurrence

No recurrence.

History

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

  • % Done changed from 0 to 50

It turned out that observations with zero livetime pose some problems. The GCTACubeBackground class had to be corrected to properly deal with zero livetimes. Now they are skipped in filling the cube. The same is true for GCTACubeExposure, GCTACubePsf and GCTACubeEdisp.

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

  • % Done changed from 50 to 90

The response cube parameters have been removed and the script no longer accepts a counts cube on input. The reason is that from a counts cube one cannot build a light curve, since the time information has been removed from the counts cube.

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

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

Seems to work now as expected

Also available in: Atom PDF