GammaLib 2.1.0.dev
|
#include <GModelSpatial.hpp>
Public Member Functions | |
circle_int_kern_rho (const GModelSpatial *model, const GSkyRegion ®ion, const GSkyDir ¢re, const GEnergy &srcEng, const GTime &srcTime) | |
double | eval (const double &rho) |
Kernel for spatial model radial integration. | |
![]() | |
GFunction (void) | |
Void constructor. | |
GFunction (const GFunction &function) | |
Copy constructor. | |
virtual | ~GFunction (void) |
Destructor. | |
GFunction & | operator= (const GFunction &function) |
Assignment operator. | |
Public Attributes | |
const GModelSpatial * | m_model |
Spatial model. | |
const GSkyRegion & | m_region |
Sky region. | |
const GSkyDir & | m_centre |
Model centre. | |
GEnergy | m_srcEng |
Photon energy. | |
GTime | m_srcTime |
Photon time. | |
Additional Inherited Members | |
![]() | |
void | init_members (void) |
Initialise class members. | |
void | copy_members (const GFunction &function) |
Copy class members. | |
void | free_members (void) |
Delete class members. | |
Definition at line 131 of file GModelSpatial.hpp.
|
inline |
Definition at line 133 of file GModelSpatial.hpp.
|
virtual |
Kernel for spatial model radial integration.
[in] | rho | Radial distance from model centre (radians). |
\int_{\rho_{\rm min}}^{\rho_{\rm max}} K(\rho | E, t) d\rho
of a spatial model over a circular region. The eval() method computes
K(\rho | E, t) = \sin \rho \times \int_{\omega} M(\rho, \omega | E, t) d\omega
where M(\rho, \omega | E, t) is the spatial model, \rho is the distance from the model centre, and \omega is the azimuth angle around the model centre.
Implements GFunction.
Definition at line 452 of file GModelSpatial.cpp.
References GModelSpatial::flux(), m_centre, m_model, m_region, m_srcEng, m_srcTime, GIntegral::romberg(), and gammalib::twopi.
const GSkyDir& GModelSpatial::circle_int_kern_rho::m_centre |
const GModelSpatial* GModelSpatial::circle_int_kern_rho::m_model |
const GSkyRegion& GModelSpatial::circle_int_kern_rho::m_region |
GEnergy GModelSpatial::circle_int_kern_rho::m_srcEng |
GTime GModelSpatial::circle_int_kern_rho::m_srcTime |