GammaLib
2.1.0.dev
|
#include <GModelSpatial.hpp>
Public Member Functions | |
circle_int_kern_omega (const GModelSpatial *model, const GSkyRegion ®ion, const GSkyDir ¢re, const double &rho, const GEnergy &srcEng, const GTime &srcTime) | |
double | eval (const double &omega) |
Kernel for spatial model azimuth angle integration. More... | |
Public Member Functions inherited from GFunction | |
GFunction (void) | |
Void constructor. More... | |
GFunction (const GFunction &function) | |
Copy constructor. More... | |
virtual | ~GFunction (void) |
Destructor. More... | |
GFunction & | operator= (const GFunction &function) |
Assignment operator. More... | |
Public Attributes | |
const GModelSpatial * | m_model |
Spatial model. More... | |
const GSkyRegion & | m_region |
Sky region. More... | |
const GSkyDir & | m_centre |
Model centre. More... | |
double | m_rho |
Offset from center of the region. More... | |
GEnergy | m_srcEng |
Photon energy. More... | |
GTime | m_srcTime |
Photon time. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GFunction | |
void | init_members (void) |
Initialise class members. More... | |
void | copy_members (const GFunction &function) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Definition at line 153 of file GModelSpatial.hpp.
|
inline |
Definition at line 155 of file GModelSpatial.hpp.
|
virtual |
Kernel for spatial model azimuth angle integration.
[in] | omega | Azimuth angle (radians). |
\[ K(\omega | \rho, E, t) = M(\omega | \rho) \]
where \(M(\omega | \rho)\) 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 503 of file GModelSpatial.cpp.
References GSkyRegionCircle::contains(), GModelSpatial::flux(), GModelSpatial::m_region, and GSkyDir::rotate().
const GSkyDir& GModelSpatial::circle_int_kern_omega::m_centre |
Model centre.
Definition at line 171 of file GModelSpatial.hpp.
const GModelSpatial* GModelSpatial::circle_int_kern_omega::m_model |
Spatial model.
Definition at line 169 of file GModelSpatial.hpp.
const GSkyRegion& GModelSpatial::circle_int_kern_omega::m_region |
Sky region.
Definition at line 170 of file GModelSpatial.hpp.
double GModelSpatial::circle_int_kern_omega::m_rho |
Offset from center of the region.
Definition at line 172 of file GModelSpatial.hpp.
GEnergy GModelSpatial::circle_int_kern_omega::m_srcEng |
Photon energy.
Definition at line 173 of file GModelSpatial.hpp.
GTime GModelSpatial::circle_int_kern_omega::m_srcTime |
Photon time.
Definition at line 174 of file GModelSpatial.hpp.