Change request #1176

Introduce GCTAPointings container class to handle pointing tables

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

Status:NewStart date:03/13/2014
Priority:NormalDue date:
Assigned To:-% Done:

0%

Category:-
Target version:-
Duration:

Description

Conceptually, GCTAPointing is a single pointing, but for the moment it contains an entire table of pointings. It would be better to introduce a pointing container class GCTAPointings to handle pointings as function of time. The GCTAPointings class would then deal with loading and saving of pointing tables, and interpolation, and could have an operator that returns a GCTAPointing object as function of time or index:

const GCTAPointing& operator[](const int& index) const;
GCTAPointing&       operator[](const int& index);
GCTAPointing        operator()(const GTime& time) const;


Recurrence

No recurrence.


Related issues

Related to GammaLib - Action #1113: Use pointing table from a FITS file in GCTAPointing Rejected 01/28/2014

Also available in: Atom PDF