Action #3455

Vectorise ctmodel

Added by Knödlseder Jürgen about 2 years ago. Updated 11 months ago.

Status:In ProgressStart date:11/21/2020
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

10%

Category:-
Target version:-
Duration:

Description

The ctmodel tool should make use of the vectorised response functions.


Recurrence

No recurrence.

History

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

  • Status changed from New to In Progress
  • Priority changed from Immediate to Normal
  • % Done changed from 0 to 10

The first thing that was needed was the addition of a GModels::eval() method that evaluates the model value for all events in a given observation.

ctmodel needs then to be modified depending on the type of input observation that is provided.

ctmodel::fill_cube() currently emulates event bins of the target cube for the model evaluation, and with the vectorised interface, ctmodel::fill_cube() would need to emulate a binned observation.

It is not clear how the ROI for unbinned observations can be handled in this case, hence in a first instance, the current ctmodel::fill_cube() could be used for unbinned observations.

For binned and stacked analysis, one needs to make sure that the response is properly copied over from the input observation to the emulated observation. Maybe this could also work for an unbinned observation by post-processing a cube, setting all pixels outside the ROI to zero. Yet it’s not clear whether this is actually efficient.

#2 Updated by Knödlseder Jürgen 11 months ago

  • Target version deleted (2.0.0)

Also available in: Atom PDF