GammaLib 2.1.0.dev
Loading...
Searching...
No Matches
spi_elliptical_kerns_rho Class Reference

Kernel for rho angle integration of elliptical models. More...

#include <spi_helpers_response_vector.hpp>

Inheritance diagram for spi_elliptical_kerns_rho:
GFunctions

Public Member Functions

 spi_elliptical_kerns_rho (const GSPIEventCube *cube, const GSPIResponse *rsp, const GModelSpatialElliptical *elliptical, const int &ipt, const double *livetimes, const GMatrix &rot, const int &iter, GVector &irfs)
 
int size (void) const
 
GVector eval (const double &omega)
 Kernel for radial integration of elliptical models.
 
- Public Member Functions inherited from GFunctions
 GFunctions (void)
 Void constructor.
 
 GFunctions (const GFunctions &functions)
 Copy constructor.
 
virtual ~GFunctions (void)
 Destructor.
 
GFunctionsoperator= (const GFunctions &functions)
 Assignment operator.
 

Protected Attributes

const GSPIEventCubem_cube
 Pointer to event cube.
 
const GSPIResponsem_rsp
 Pointer to response.
 
const GModelSpatialEllipticalm_elliptical
 Elliptical spatial model.
 
const int & m_ipt
 Pointing index.
 
const double * m_livetimes
 Livetime array.
 
const GMatrixm_rot
 Rotation matrix.
 
const int & m_iter
 Number of azimuthal iterations.
 
GVectorm_irfs
 IRF vector to update.
 

Additional Inherited Members

- Protected Member Functions inherited from GFunctions
void init_members (void)
 Initialise class members.
 
void copy_members (const GFunctions &functions)
 Copy class members.
 
void free_members (void)
 Delete class members.
 

Detailed Description

Kernel for rho angle integration of elliptical models.

This class provides the kernel for the rho angle integration of elliptical sky models.

Definition at line 129 of file spi_helpers_response_vector.hpp.

Constructor & Destructor Documentation

◆ spi_elliptical_kerns_rho()

spi_elliptical_kerns_rho::spi_elliptical_kerns_rho ( const GSPIEventCube * cube,
const GSPIResponse * rsp,
const GModelSpatialElliptical * elliptical,
const int & ipt,
const double * livetimes,
const GMatrix & rot,
const int & iter,
GVector & irfs )
inline

Definition at line 131 of file spi_helpers_response_vector.hpp.

Member Function Documentation

◆ eval()

GVector spi_elliptical_kerns_rho::eval ( const double & rho)
virtual

Kernel for radial integration of elliptical models.

Parameters
[in]rhoRho angle (radians).
Returns
Azimuthally integrated elliptical model.

Implements GFunctions.

Definition at line 168 of file spi_helpers_response_vector.cpp.

References GIntegrals::fixed_iter(), m_cube, m_elliptical, m_ipt, m_irfs, m_iter, m_livetimes, m_rot, m_rsp, GIntegrals::romberg(), and gammalib::twopi.

◆ size()

int spi_elliptical_kerns_rho::size ( void ) const
inlinevirtual

Implements GFunctions.

Definition at line 147 of file spi_helpers_response_vector.hpp.

References m_irfs, and GVector::size().

Member Data Documentation

◆ m_cube

const GSPIEventCube* spi_elliptical_kerns_rho::m_cube
protected

Pointer to event cube.

Definition at line 150 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_elliptical

const GModelSpatialElliptical* spi_elliptical_kerns_rho::m_elliptical
protected

Elliptical spatial model.

Definition at line 152 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_ipt

const int& spi_elliptical_kerns_rho::m_ipt
protected

Pointing index.

Definition at line 153 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_irfs

GVector& spi_elliptical_kerns_rho::m_irfs
protected

IRF vector to update.

Definition at line 157 of file spi_helpers_response_vector.hpp.

Referenced by eval(), and size().

◆ m_iter

const int& spi_elliptical_kerns_rho::m_iter
protected

Number of azimuthal iterations.

Definition at line 156 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_livetimes

const double* spi_elliptical_kerns_rho::m_livetimes
protected

Livetime array.

Definition at line 154 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rot

const GMatrix& spi_elliptical_kerns_rho::m_rot
protected

Rotation matrix.

Definition at line 155 of file spi_helpers_response_vector.hpp.

Referenced by eval().

◆ m_rsp

const GSPIResponse* spi_elliptical_kerns_rho::m_rsp
protected

Pointer to response.

Definition at line 151 of file spi_helpers_response_vector.hpp.

Referenced by eval().


The documentation for this class was generated from the following files: