Commit 43b0a9b74c95d422a36e694c0cf485caa2e4931f
1 parent
59c569a8
Update after implementation of new GTime interface.
Showing
2 changed files
with
21 additions
and
2 deletions
ChangeLog
| 1 | -2012-12-15 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | |
| 1 | +2012-12-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | |
| 2 | 2 | |
| 3 | 3 | * Version 0.7.0 released |
| 4 | 4 | ======================== |
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | Add handling of undefined and NaN values to GPar class |
| 17 | 17 | Add GPhotons photon container class |
| 18 | 18 | Implement mc(), flux() and eflux() for all spectral models |
| 19 | + Rework GTime interface and introduce GTimeReference class | |
| 19 | 20 | |
| 20 | 21 | 2012-09-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 21 | 22 | ... | ... |
NEWS
| ... | ... | @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 |
| 2 | 2 | |
| 3 | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | |
| 5 | -December, 15th, 2012 | |
| 5 | +December, 17th, 2012 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | 1. Introduction |
| ... | ... | @@ -95,6 +95,18 @@ The GPhotons photon container class has been added. It replaces the |
| 95 | 95 | old std::vector<GPhoton> GPhotons typedef that was used formerly to |
| 96 | 96 | implement a photon container. |
| 97 | 97 | |
| 98 | +The GTime interface has been reworked. GTime now stores time in a reference | |
| 99 | +that is native to GammaLib. The zero point of GammaLib's time has been | |
| 100 | +defined as January 1, 2010, 00:00:00 (TT). Times are stored in seconds, | |
| 101 | +and the time system is Terrestrial Time (TT). Conversion methods are | |
| 102 | +provided to transform GTime times into any arbitrary time reference. A | |
| 103 | +time reference is implemented using the GTimeReference class. | |
| 104 | + | |
| 105 | +The GGti class now stores the time reference, so that GTI's can be read | |
| 106 | +and written in any arbitrary time reference. In storage, however, GGti | |
| 107 | +stores all time using GTime objects, i.e. storage is in the native | |
| 108 | +GammaLib time reference. | |
| 109 | + | |
| 98 | 110 | |
| 99 | 111 | 10. Optimization module |
| 100 | 112 | ----------------------- |
| ... | ... | @@ -137,6 +149,9 @@ The MWL response was adapted to the new response interface. |
| 137 | 149 | ---------------------- |
| 138 | 150 | The Fermi-LAT response was adapted to the new response interface. |
| 139 | 151 | |
| 152 | +The event list reader now takes care of the time conversion from the | |
| 153 | +Fermi-LAT time reference to the GammaLib time reference. | |
| 154 | + | |
| 140 | 155 | |
| 141 | 156 | 17. CTA interface |
| 142 | 157 | ----------------- |
| ... | ... | @@ -148,6 +163,9 @@ This allows now an easy adaption and extension of the response classes. |
| 148 | 163 | |
| 149 | 164 | The CTA response was also adapted to the new response interface. |
| 150 | 165 | |
| 166 | +The CTA event list reader now takes care of the time conversion from the | |
| 167 | +CTA time reference to the GammaLib time reference. | |
| 168 | + | |
| 151 | 169 | |
| 152 | 170 | 18. COMPTEL interface |
| 153 | 171 | ----------------- | ... | ... |