Commit 4292eae17289edc62d3e2cdfebab0f41ed97f901
1 parent
6c5c214b
improve numerical Npred intergations to avoid Romberg integration convergence problems
Showing
2 changed files
with
14 additions
and
3 deletions
ChangeLog
| 1 | -2011-08-04 Juergen Knoedlseder <knodlseder@cesr.fr> | |
| 1 | +2011-08-09 Juergen Knoedlseder <knodlseder@cesr.fr> | |
| 2 | 2 | |
| 3 | 3 | * Version 0.4.11 released |
| 4 | 4 | ========================= |
| 5 | 5 | |
| 6 | 6 | Add set response() to observation classes |
| 7 | 7 | Expose GCTAResponse::offset_sigma() in python |
| 8 | - GCTAResponse::aeff() no longer returns negative areas. | |
| 8 | + GCTAResponse::aeff() no longer returns negative areas | |
| 9 | + Improve Npred integration for extended sources in GCTAResponse | |
| 9 | 10 | Implement environment variable expansion |
| 10 | 11 | Correctly fit unbinned for multiple observations |
| 11 | 12 | Add eflux() methods to spectral models | ... | ... |
NEWS
| ... | ... | @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-04-11 |
| 2 | 2 | |
| 3 | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | |
| 5 | -August 4, 2011 | |
| 5 | +August 9, 2011 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | 1. Introduction |
| ... | ... | @@ -135,3 +135,13 @@ variables in the path are expanded. |
| 135 | 135 | |
| 136 | 136 | GCTAResponse::aeff() does no longer return negative effective area |
| 137 | 137 | that occurred when extrapolating below the low-energy threshold. |
| 138 | + | |
| 139 | +The Npred computation has been improved in GCTAResponse for extended | |
| 140 | +sources so that Romberg integration convergence problems should no | |
| 141 | +longer occur. Integration will now be skipped for models that are too | |
| 142 | +far away from the ROI so that they can give any possible contribution. | |
| 143 | +Also, azimuthal model integration will be done over only the sector that | |
| 144 | +overlaps with the ROI+PSF radius. And finally, a simple Trapezoid rule | |
| 145 | +is used for small radial integration intervals in the PSF integration | |
| 146 | +(GCTAResponse::npsf). | |
| 147 | + | ... | ... |