Change request #1648

Handle the event list loading on request and off-loading in GCTAEventList class

Added by Knödlseder Jürgen about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:01/18/2016
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.1.0
Duration:

Description

To handle the case of a lot of event files on a machine with limited memory capabilities, I implemented in the past a logic in GCTAObservation that loads events only when they are needed. This had the side effect that I had to add additional methods that handle extraction of ROI, energy boundary and also GTI information independently of the GCTAEventList class. To avoid code duplication I put some of the code in GCTASupport, but still, the GCTAObservation::git() method duplicates code in the GCTAEventList::read() method, which is problematic for code maintenance.

It would be better that the loading upon request and off-loading logic is implement directly by the GCTAEventList class so that all event list attributes will be handled by this class in a unique manner.


Recurrence

No recurrence.

History

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

  • Subject changed from Handle the event list loading on request and off-loading in @GCTAEventList@ class to Handle the event list loading on request and off-loading in GCTAEventList class

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

  • Target version set to 1.1.0

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

  • Status changed from New to Closed
  • Assigned To set to Knödlseder Jürgen
  • % Done changed from 0 to 100

The event list disposal has now been implement at the level of the GCTAEventList class and the logic of event disposal in GCTAObservation has been removed. This avoids now the need for code duplication, for example in the gti() method.

Merged into devel.

Also available in: Atom PDF