Commit e0a499b59179a2f24c6db117b8cbf98e697fe00f
1 parent
f0f3dc7f
Implement mc(), flux() and eflux() for all spectral models and add GPhotons container class.
Showing
2 changed files
with
14 additions
and
2 deletions
ChangeLog
| 1 | -2012-12-14 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | 1 | +2012-12-15 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 2 | 2 | ||
| 3 | * Version 0.7.0 released | 3 | * Version 0.7.0 released |
| 4 | ======================== | 4 | ======================== |
| @@ -14,6 +14,8 @@ | @@ -14,6 +14,8 @@ | ||
| 14 | File locking failures do no longer throw exceptions | 14 | File locking failures do no longer throw exceptions |
| 15 | Optimize GNodeArray computations and add unit tests | 15 | Optimize GNodeArray computations and add unit tests |
| 16 | Add handling of undefined and NaN values to GPar class | 16 | Add handling of undefined and NaN values to GPar class |
| 17 | + Add GPhotons photon container class | ||
| 18 | + Implement mc(), flux() and eflux() for all spectral models | ||
| 17 | 19 | ||
| 18 | 2012-09-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | 20 | 2012-09-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 19 | 21 |
NEWS
| @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 | @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 | ||
| 2 | 2 | ||
| 3 | Author(s) : Juergen Knoedlseder | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | ||
| 5 | -December, 14th, 2012 | 5 | +December, 15th, 2012 |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | 1. Introduction | 8 | 1. Introduction |
| @@ -64,6 +64,12 @@ None | @@ -64,6 +64,12 @@ None | ||
| 64 | --------------- | 64 | --------------- |
| 65 | The GSkyModel class has been adapted to the new IRF interface. | 65 | The GSkyModel class has been adapted to the new IRF interface. |
| 66 | 66 | ||
| 67 | +The mc(), flux() and eflux() methods have been implement now for all | ||
| 68 | +spectral models. In particular, simulation of an exponentially cut | ||
| 69 | +off power law is now possible. The methods now also verify that the | ||
| 70 | +minimum energy is smaller than the maximum energy. Otherwise, an | ||
| 71 | +exception is thrown. | ||
| 72 | + | ||
| 67 | 73 | ||
| 68 | 8. Numerics module | 74 | 8. Numerics module |
| 69 | ------------------ | 75 | ------------------ |
| @@ -85,6 +91,10 @@ considerably reduces the number of interface parameters, allows for an | @@ -85,6 +91,10 @@ considerably reduces the number of interface parameters, allows for an | ||
| 85 | easy and transparent interface extension, and prepares the path for | 91 | easy and transparent interface extension, and prepares the path for |
| 86 | optimizations. | 92 | optimizations. |
| 87 | 93 | ||
| 94 | +The GPhotons photon container class has been added. It replaces the | ||
| 95 | +old std::vector<GPhoton> GPhotons typedef that was used formerly to | ||
| 96 | +implement a photon container. | ||
| 97 | + | ||
| 88 | 98 | ||
| 89 | 10. Optimization module | 99 | 10. Optimization module |
| 90 | ----------------------- | 100 | ----------------------- |