#include <GCTAModelSpatial.hpp>
Definition at line 101 of file GCTAModelSpatial.hpp.
◆ npred_roi_kern_theta()
GCTAModelSpatial::npred_roi_kern_theta::npred_roi_kern_theta |
( |
const GCTAModelSpatial * | spatial, |
|
|
const GEnergy & | energy, |
|
|
const GTime & | time, |
|
|
const GCTAInstDir & | roi_centre, |
|
|
const int & | min_iter, |
|
|
const int & | max_iter ) |
|
inline |
◆ eval()
double GCTAModelSpatial::npred_roi_kern_theta::eval |
( |
const double & | theta | ) |
|
|
virtual |
Kernel for offset angle integration of spatial component.
- Parameters
-
[in] | theta | Offset angle from RoI centre (radians). |
Computes
\[
K(\rho | E, t) = \sin \theta \times
\int_{0}^{2\pi}
B(\theta,\phi | E, t) d\phi
\]
where \(B(\theta,\phi | E, t)\) is the spatial component of the background model for a specific observed energy \(E\) and time \(t\).
Implements GFunction.
Definition at line 495 of file GCTAModelSpatial.cpp.
References GIntegral::fixed_iter(), g_npred_resolution, gammalib::is_infinite(), gammalib::is_notanumber(), gammalib::iter_phi(), m_energy, m_max_iter, m_min_iter, m_roi_centre, m_spatial, m_time, GIntegral::romberg(), gammalib::str(), gammalib::twopi, and gammalib::warning().
◆ m_energy
GEnergy GCTAModelSpatial::npred_roi_kern_theta::m_energy |
|
protected |
◆ m_max_iter
int GCTAModelSpatial::npred_roi_kern_theta::m_max_iter |
|
protected |
◆ m_min_iter
int GCTAModelSpatial::npred_roi_kern_theta::m_min_iter |
|
protected |
◆ m_roi_centre
GCTAInstDir GCTAModelSpatial::npred_roi_kern_theta::m_roi_centre |
|
protected |
◆ m_spatial
◆ m_time
GTime GCTAModelSpatial::npred_roi_kern_theta::m_time |
|
protected |
The documentation for this class was generated from the following files: