GammaLib  1.7.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GModelSpatialDiffuseMap Class Reference

Spatial map model. More...

#include <GModelSpatialDiffuseMap.hpp>

Inheritance diagram for GModelSpatialDiffuseMap:
GModelSpatialDiffuse GModelSpatial GBase

Public Member Functions

 GModelSpatialDiffuseMap (void)
 Void constructor. More...
 
 GModelSpatialDiffuseMap (const bool &dummy, const std::string &type)
 Model type constructor. More...
 
 GModelSpatialDiffuseMap (const GXmlElement &xml)
 XML constructor. More...
 
 GModelSpatialDiffuseMap (const GFilename &filename, const double &value=1.0, const bool &normalize=true)
 File name constructor. More...
 
 GModelSpatialDiffuseMap (const GSkyMap &map, const double &value=1.0, const bool &normalize=true)
 Sky map constructor. More...
 
 GModelSpatialDiffuseMap (const GModelSpatialDiffuseMap &model)
 Copy constructor. More...
 
virtual ~GModelSpatialDiffuseMap (void)
 Destructor. More...
 
virtual GModelSpatialDiffuseMapoperator= (const GModelSpatialDiffuseMap &model)
 Assignment operator. More...
 
virtual void clear (void)
 Clear spatial map model. More...
 
virtual GModelSpatialDiffuseMapclone (void) const
 Clone spatial map model. More...
 
virtual std::string classname (void) const
 Return class name. More...
 
virtual std::string type (void) const
 Return spatial model type. More...
 
virtual double eval (const GPhoton &photon, const bool &gradients=false) const
 Return intensity of sky map. More...
 
virtual GSkyDir mc (const GEnergy &energy, const GTime &time, GRan &ran) const
 Returns MC sky direction. More...
 
virtual double mc_norm (const GSkyDir &dir, const double &radius) const
 Return normalization of diffuse map for Monte Carlo simulations. More...
 
virtual bool contains (const GSkyDir &dir, const double &margin=0.0) const
 Signals whether model contains sky direction. More...
 
virtual GSkyRegionregion (void) const
 Return boundary sky region. More...
 
virtual void read (const GXmlElement &xml)
 Read model from XML element. More...
 
virtual void write (GXmlElement &xml) const
 Write model into XML element. More...
 
virtual std::string print (const GChatter &chatter=NORMAL) const
 Print map information. More...
 
double value (void) const
 Get model value. More...
 
void value (const double &value)
 Set model value. More...
 
const GFilenamefilename (void) const
 Get file name. More...
 
void load (const GFilename &filename)
 Load skymap into the model class. More...
 
const GSkyMapmap (void) const
 Get map. More...
 
void map (const GSkyMap &map)
 Set map cube. More...
 
bool normalize (void) const
 Return normalization flag. More...
 
void set_mc_cone (const GSkyDir &centre, const double &radius) const
 Set Monte Carlo simulation cone. More...
 
- Public Member Functions inherited from GModelSpatialDiffuse
 GModelSpatialDiffuse (void)
 Void constructor. More...
 
 GModelSpatialDiffuse (const GModelSpatialDiffuse &model)
 Copy constructor. More...
 
virtual ~GModelSpatialDiffuse (void)
 Destructor. More...
 
virtual GModelSpatialDiffuseoperator= (const GModelSpatialDiffuse &model)
 Assignment operator. More...
 
virtual GClassCode code (void) const
 Return class code. More...
 
- Public Member Functions inherited from GModelSpatial
 GModelSpatial (void)
 Void constructor. More...
 
 GModelSpatial (const GModelSpatial &model)
 Copy constructor. More...
 
virtual ~GModelSpatial (void)
 Destructor. More...
 
virtual GModelSpatialoperator= (const GModelSpatial &model)
 Assignment operator. More...
 
virtual GModelParoperator[] (const int &index)
 Returns model parameter. More...
 
virtual const GModelParoperator[] (const int &index) const
 Returns model parameter (const version) More...
 
virtual GModelParoperator[] (const std::string &name)
 Returns model parameter. More...
 
virtual const GModelParoperator[] (const std::string &name) const
 Returns model parameter (const version) More...
 
GModelParat (const int &index)
 Returns model parameter. More...
 
const GModelParat (const int &index) const
 Returns model parameter (const version) More...
 
bool has_par (const std::string &name) const
 Checks if parameter name exists. More...
 
bool has_free_pars (void) const
 Checks if the spatial model has free parameters. More...
 
int size (void) const
 Return number of parameters. More...
 
void autoscale (void)
 Autoscale parameters. More...
 
double flux (const GSkyRegion *reg, const GEnergy &srcEng=GEnergy(), const GTime &srcTime=GTime()) const
 Returns model flux integrated in circular sky region. More...
 
- Public Member Functions inherited from GBase
virtual ~GBase (void)
 Destructor. More...
 

Protected Member Functions

void init_members (void)
 Initialise class members. More...
 
void copy_members (const GModelSpatialDiffuseMap &model)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 
void prepare_map (void)
 Prepare sky map after loading. More...
 
void set_region (void) const
 Set boundary sky region. More...
 
- Protected Member Functions inherited from GModelSpatialDiffuse
void init_members (void)
 Initialise class members. More...
 
void copy_members (const GModelSpatialDiffuse &model)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 
- Protected Member Functions inherited from GModelSpatial
void init_members (void)
 Initialise class members. More...
 
void copy_members (const GModelSpatial &model)
 Copy class members. More...
 
void free_members (void)
 Delete class members. More...
 

Protected Attributes

std::string m_type
 Model type. More...
 
GModelPar m_value
 Value. More...
 
GSkyMap m_map
 Skymap. More...
 
GFilename m_filename
 Name of skymap. More...
 
GSkyDir m_centre
 Centre of bounding circle. More...
 
double m_radius
 Radius of bounding circle. More...
 
bool m_normalize
 Normalize map (default: true) More...
 
bool m_has_normalize
 XML has normalize attribute. More...
 
GSkyRegionCircle m_region
 Bounding circle. More...
 
GSkyDir m_mc_centre
 Centre of MC cone. More...
 
double m_mc_radius
 Radius of MC cone. More...
 
double m_mc_one_minus_cosrad
 1-cosine of radius More...
 
double m_mc_norm
 Map normalization. More...
 
double m_mc_max
 Map maximum for MC. More...
 
- Protected Attributes inherited from GModelSpatial
std::vector< GModelPar * > m_pars
 Parameter pointers. More...
 

Detailed Description

Spatial map model.

This class implements the spatial component of the factorised source model for a skymap.

Definition at line 50 of file GModelSpatialDiffuseMap.hpp.

Constructor & Destructor Documentation

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( void  )

Void constructor.

Constructs empty spatial map model.

Definition at line 73 of file GModelSpatialDiffuseMap.cpp.

References init_members().

Referenced by clone().

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( const bool &  dummy,
const std::string &  type 
)

Model type constructor.

Parameters
[in]dummyDummy flag.
[in]typeModel type.

Constructs empty spatial map model by specifying a model type.

Definition at line 92 of file GModelSpatialDiffuseMap.cpp.

References init_members(), m_type, and type().

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( const GXmlElement xml)
explicit

XML constructor.

Parameters
[in]xmlXML element.

Constructs spatial map model by extracting information from an XML element. See the read() method for more information about the expected structure of the XML element.

Definition at line 116 of file GModelSpatialDiffuseMap.cpp.

References init_members(), and read().

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( const GFilename filename,
const double &  value = 1.0,
const bool &  normalize = true 
)

File name constructor.

Parameters
[in]filenameFile name.
[in]valueNormalization factor.
[in]normalizeNormalize map?

Constructs spatial map model by loading a sky map from the file specified by filename and by setting the value by which the map will be multiplied (or normalized).

Definition at line 141 of file GModelSpatialDiffuseMap.cpp.

References init_members(), load(), m_normalize, m_value, normalize(), and GOptimizerPar::value().

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( const GSkyMap map,
const double &  value = 1.0,
const bool &  normalize = true 
)

Sky map constructor.

Parameters
[in]mapSky map.
[in]valueNormalization factor.
[in]normalizeNormalize map.

Constructs spatial map model by setting the sky map and by setting the value by which the map will be multiplied (or normalized).

Definition at line 173 of file GModelSpatialDiffuseMap.cpp.

References init_members(), m_map, m_normalize, m_value, map(), normalize(), prepare_map(), and GOptimizerPar::value().

GModelSpatialDiffuseMap::GModelSpatialDiffuseMap ( const GModelSpatialDiffuseMap model)

Copy constructor.

Parameters
[in]modelSpatial map model.

Construct a spatial map model by copying another spatial map model.

Definition at line 205 of file GModelSpatialDiffuseMap.cpp.

References copy_members(), and init_members().

GModelSpatialDiffuseMap::~GModelSpatialDiffuseMap ( void  )
virtual

Destructor.

Definition at line 222 of file GModelSpatialDiffuseMap.cpp.

References free_members().

Member Function Documentation

std::string GModelSpatialDiffuseMap::classname ( void  ) const
inlinevirtual

Return class name.

Returns
String containing the class name ("GModelSpatialDiffuseMap").

Implements GModelSpatialDiffuse.

Definition at line 133 of file GModelSpatialDiffuseMap.hpp.

void GModelSpatialDiffuseMap::clear ( void  )
virtual
GModelSpatialDiffuseMap * GModelSpatialDiffuseMap::clone ( void  ) const
virtual

Clone spatial map model.

Returns
Pointer to deep copy of spatial map model.

Implements GModelSpatialDiffuse.

Definition at line 301 of file GModelSpatialDiffuseMap.cpp.

References GModelSpatialDiffuseMap().

bool GModelSpatialDiffuseMap::contains ( const GSkyDir dir,
const double &  margin = 0.0 
) const
virtual

Signals whether model contains sky direction.

Parameters
[in]dirSky direction.
[in]marginMargin to be added to sky direction (degrees)
Returns
True if the model contains the sky direction.

Signals whether a sky direction falls within the bounding circle of the diffuse map.

Implements GModelSpatialDiffuse.

Definition at line 471 of file GModelSpatialDiffuseMap.cpp.

References GSkyDir::dist_deg(), m_centre, and m_radius.

void GModelSpatialDiffuseMap::copy_members ( const GModelSpatialDiffuseMap model)
protected

Copy class members.

Parameters
[in]modelSpatial map cube model.

Definition at line 884 of file GModelSpatialDiffuseMap.cpp.

References m_centre, m_filename, m_has_normalize, m_map, m_mc_centre, m_mc_max, m_mc_norm, m_mc_one_minus_cosrad, m_mc_radius, m_normalize, GModelSpatial::m_pars, m_radius, m_region, m_type, and m_value.

Referenced by GModelSpatialDiffuseMap(), and operator=().

double GModelSpatialDiffuseMap::eval ( const GPhoton photon,
const bool &  gradients = false 
) const
virtual

Return intensity of sky map.

Parameters
[in]photonIncident photon.
[in]gradientsCompute gradients?
Returns
Sky map intensity ( \(\mbox{ph cm}^{-2}\mbox{sr}^{-1}\mbox{s}^{-1}\))

Returns the intensity of the sky map at the specified sky direction multiplied by the normalization factor. If the sky direction falls outside the sky map, an intensity of 0 is returned.

If the gradients flag is true the method will also evaluate the partial derivatives of the model.

Implements GModelSpatialDiffuse.

Definition at line 322 of file GModelSpatialDiffuseMap.cpp.

References GPhoton::dir(), GOptimizerPar::factor_gradient(), GOptimizerPar::is_free(), m_map, m_value, GOptimizerPar::scale(), and GOptimizerPar::value().

const GFilename & GModelSpatialDiffuseMap::filename ( void  ) const
inline

Get file name.

Returns
File name.

Returns the file name of the spatial map model.

Definition at line 190 of file GModelSpatialDiffuseMap.hpp.

References m_filename.

Referenced by load().

void GModelSpatialDiffuseMap::free_members ( void  )
protected

Delete class members.

Definition at line 916 of file GModelSpatialDiffuseMap.cpp.

Referenced by clear(), operator=(), and ~GModelSpatialDiffuseMap().

void GModelSpatialDiffuseMap::load ( const GFilename filename)

Load skymap into the model class.

Parameters
[in]filenameSky map file.

Loads skymap into the model class. The method calls the protected method prepare_map() that prepares the map for usage by the class.

If the filename is empty, no map will be loaded.

Definition at line 803 of file GModelSpatialDiffuseMap.cpp.

References GSkyMap::clear(), filename(), GFilename::is_empty(), GSkyMap::load(), m_filename, m_map, and prepare_map().

Referenced by GModelSpatialDiffuseMap(), and read().

const GSkyMap & GModelSpatialDiffuseMap::map ( void  ) const
inline

Get map.

Returns
Sky map.

Returns the sky map.

Definition at line 204 of file GModelSpatialDiffuseMap.hpp.

References m_map.

Referenced by GModelSpatialDiffuseMap(), map(), and gammalib::resolution().

void GModelSpatialDiffuseMap::map ( const GSkyMap map)
inline

Set map cube.

Parameters
[in]mapSky map.

Set the sky map.

Definition at line 218 of file GModelSpatialDiffuseMap.hpp.

References m_map, map(), and prepare_map().

GSkyDir GModelSpatialDiffuseMap::mc ( const GEnergy energy,
const GTime time,
GRan ran 
) const
virtual

Returns MC sky direction.

Parameters
[in]energyPhoton energy (ignored).
[in]timePhoton arrival time (ignored).
[in,out]ranRandom number generator.
Returns
Sky direction.
Exceptions
GException::invalid_valueNo sky map defined.
GException::invalid_return_valueSimulation cone not defined, does not overlap with map or map is empty.

Returns a random sky direction according to the intensity distribution of the model sky map. The method uses a rejection method to determine the sky direction. If no sky direction could be determined, the method throws an GException::invalid_return_value exception.

Implements GModelSpatialDiffuse.

Definition at line 363 of file GModelSpatialDiffuseMap.cpp.

References gammalib::acos(), G_MC, m_map, m_mc_centre, m_mc_max, m_mc_one_minus_cosrad, GSkyMap::npix(), gammalib::rad2deg, GSkyDir::rotate_deg(), GRan::uniform(), and value().

double GModelSpatialDiffuseMap::mc_norm ( const GSkyDir dir,
const double &  radius 
) const
virtual

Return normalization of diffuse map for Monte Carlo simulations.

Parameters
[in]dirCentre of simulation cone.
[in]radiusRadius of simulation cone (degrees).
Returns
Normalization.

Returns the normalization of a diffuse map. The normalization is given by the model value times the integrated flux in the sky map over a circular region.

Implements GModelSpatialDiffuse.

Definition at line 447 of file GModelSpatialDiffuseMap.cpp.

References m_mc_norm, norm(), set_mc_cone(), and value().

bool GModelSpatialDiffuseMap::normalize ( void  ) const
inline

Return normalization flag.

Returns
True if the map has been normalized, false otherwise.

Signals whether a map has been normalized or not.

Definition at line 234 of file GModelSpatialDiffuseMap.hpp.

References m_normalize.

Referenced by GModelSpatialDiffuseMap(), prepare_map(), and print().

GModelSpatialDiffuseMap & GModelSpatialDiffuseMap::operator= ( const GModelSpatialDiffuseMap model)
virtual

Assignment operator.

Parameters
[in]modelSpatial map model.
Returns
Spatial map model.

Assigns a spatial map model to another spatial map model.

Definition at line 246 of file GModelSpatialDiffuseMap.cpp.

References copy_members(), free_members(), init_members(), and GModelSpatialDiffuse::operator=().

void GModelSpatialDiffuseMap::prepare_map ( void  )
protected

Prepare sky map after loading.

Prepares a sky map after loading. Negative, infinite or undefined skymap pixels are set to zero intensity. The method also determine the centre and radius of a circle enclosing the map, and the Monte Carlo simulation cone is set to this circle.

If normalize() is true, the map is furthermore normalised so that the total flux in the map amounts to 1 ph/cm2/s. Negative skymap pixels are set to zero intensity.

Definition at line 935 of file GModelSpatialDiffuseMap.cpp.

References gammalib::centre(), GSkyDir::clear(), GSkyProjection::code(), GSkyDir::dist_deg(), GModelSpatial::flux(), GSkyMap::flux(), GSkyMap::inx2dir(), gammalib::is_infinite(), gammalib::is_notanumber(), m_centre, m_map, m_radius, normalize(), GSkyMap::npix(), GSkyMap::nx(), GSkyMap::ny(), GSkyMap::pix2dir(), GSkyMap::projection(), set_mc_cone(), and sum().

Referenced by GModelSpatialDiffuseMap(), load(), and map().

std::string GModelSpatialDiffuseMap::print ( const GChatter chatter = NORMAL) const
virtual

Print map information.

Parameters
[in]chatterChattiness.
Returns
String with diffuse map model information.

Implements GModelSpatialDiffuse.

Definition at line 757 of file GModelSpatialDiffuseMap.cpp.

References m_centre, m_filename, m_mc_norm, GModelSpatial::m_pars, m_radius, normalize(), gammalib::parformat(), GSkyDir::print(), SILENT, GModelSpatial::size(), and gammalib::str().

void GModelSpatialDiffuseMap::read ( const GXmlElement xml)
virtual

Read model from XML element.

Parameters
[in]xmlXML element.
Exceptions
GException::invalid_valueModel parameters not found in XML element.

Reads the spatial information for a diffuse map from an XML element. The expected format of the XML element is

<spatialModel type="DiffuseMap" file="myfile.fits" normalize="1">
  <parameter name="Normalization" ../>
</spatialModel>

The file attribute provides the filename of the diffuse map FITS file. The filename may be either an absolute filename (starting with '/') or a relative filename. If no access path is given, the file is expected to reside in the same location as the XML file.

The normalize attribute specifies whether the sky map should be normalized to unity flux or not. If the attribute is not given, the map will be automatically normalized. To prevent normalization, normalize="0" needs to be specified.

Implements GModelSpatialDiffuse.

Definition at line 521 of file GModelSpatialDiffuseMap.cpp.

References GXmlElement::attribute(), G_READ, GXmlElement::has_attribute(), load(), m_has_normalize, m_normalize, m_value, GModelPar::read(), gammalib::tolower(), gammalib::xml_file_expand(), gammalib::xml_get_par(), and gammalib::xml_has_par().

Referenced by GModelSpatialDiffuseMap().

GSkyRegion * GModelSpatialDiffuseMap::region ( void  ) const
inlinevirtual

Return boundary sky region.

Returns
Boundary sky region.

Returns a sky region that fully encloses the point source.

Implements GModelSpatialDiffuse.

Definition at line 248 of file GModelSpatialDiffuseMap.hpp.

References m_region, and set_region().

void GModelSpatialDiffuseMap::set_mc_cone ( const GSkyDir centre,
const double &  radius 
) const

Set Monte Carlo simulation cone.

Parameters
[in]centreSimulation cone centre.
[in]radiusSimulation cone radius (degrees).

Sets the simulation cone centre and radius that defines the directions that will be simulated using the mc() method and pre-computes the maximum intensity and the spatially integrated flux of the map within the simulation cone region.

Definition at line 667 of file GModelSpatialDiffuseMap.cpp.

References gammalib::centre(), cos(), gammalib::deg2rad, GSkyDir::dist_deg(), GModelSpatial::flux(), GSkyMap::flux(), m_map, m_mc_centre, m_mc_max, m_mc_norm, m_mc_one_minus_cosrad, m_mc_radius, m_normalize, GSkyMap::npix(), GSkyMap::pix2dir(), and sum().

Referenced by mc_norm(), and prepare_map().

void GModelSpatialDiffuseMap::set_region ( void  ) const
protected

Set boundary sky region.

Definition at line 1007 of file GModelSpatialDiffuseMap.cpp.

References GSkyRegionCircle::centre(), m_centre, m_radius, m_region, and GSkyRegionCircle::radius().

Referenced by region().

std::string GModelSpatialDiffuseMap::type ( void  ) const
inlinevirtual

Return spatial model type.

Returns
Model type.

Returns the type of the spatial map model.

Implements GModelSpatialDiffuse.

Definition at line 147 of file GModelSpatialDiffuseMap.hpp.

References m_type.

Referenced by GModelSpatialDiffuseMap(), and write().

double GModelSpatialDiffuseMap::value ( void  ) const
inline

Get model value.

Returns
Model value.

Returns the value of the spatial map model.

Definition at line 161 of file GModelSpatialDiffuseMap.hpp.

References m_value, and GOptimizerPar::value().

Referenced by mc(), and mc_norm().

void GModelSpatialDiffuseMap::value ( const double &  value)
inline

Set model value.

Parameters
[in]valueModel value.

Set the value of the spatial map model.

Definition at line 175 of file GModelSpatialDiffuseMap.hpp.

References m_value, and GOptimizerPar::value().

void GModelSpatialDiffuseMap::write ( GXmlElement xml) const
virtual

Write model into XML element.

Parameters
[in]xmlXML element.
Exceptions
GException::model_invalid_spatialExisting XML element is not of type "SpatialMap"
GException::model_invalid_parnumInvalid number of model parameters found in XML element.
GException::model_invalid_parnamesInvalid model parameter names found in XML element.

Writes the spatial information for a diffuse map into an XML element. The format of the XML element is

<spatialModel type="DiffuseMap" file="myfile.fits" normalize="1">
  <parameter name="Prefactor" value="1" min="0.1" max="10" scale="1" free="0"/>
</spatialModel>

The file attribute provides the filename of the diffuse map FITS file. The filename may be either an absolute filename (starting with '/') or a relative filename. If no access path is given, the file is expected to reside in the same location as the XML file.

The normalize attribute specifies whether the sky map should be normalized to unity flux or not. The attribute will only be written if the normalization is disabled.

Implements GModelSpatialDiffuse.

Definition at line 597 of file GModelSpatialDiffuseMap.cpp.

References GXmlNode::append(), GXmlElement::attribute(), GXmlNode::element(), GXmlNode::elements(), G_WRITE, m_filename, m_has_normalize, m_normalize, m_value, type(), GModelPar::write(), and gammalib::xml_file_reduce().

Member Data Documentation

GSkyDir GModelSpatialDiffuseMap::m_centre
protected

Centre of bounding circle.

Definition at line 112 of file GModelSpatialDiffuseMap.hpp.

Referenced by contains(), copy_members(), init_members(), prepare_map(), print(), and set_region().

GFilename GModelSpatialDiffuseMap::m_filename
protected

Name of skymap.

Definition at line 111 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), filename(), init_members(), load(), print(), and write().

bool GModelSpatialDiffuseMap::m_has_normalize
protected

XML has normalize attribute.

Definition at line 115 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), read(), and write().

GSkyMap GModelSpatialDiffuseMap::m_map
protected
GSkyDir GModelSpatialDiffuseMap::m_mc_centre
mutableprotected

Centre of MC cone.

Definition at line 119 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), mc(), and set_mc_cone().

double GModelSpatialDiffuseMap::m_mc_max
mutableprotected

Map maximum for MC.

Definition at line 123 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), mc(), and set_mc_cone().

double GModelSpatialDiffuseMap::m_mc_norm
mutableprotected

Map normalization.

Definition at line 122 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), mc_norm(), print(), and set_mc_cone().

double GModelSpatialDiffuseMap::m_mc_one_minus_cosrad
mutableprotected

1-cosine of radius

Definition at line 121 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), mc(), and set_mc_cone().

double GModelSpatialDiffuseMap::m_mc_radius
mutableprotected

Radius of MC cone.

Definition at line 120 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), and set_mc_cone().

bool GModelSpatialDiffuseMap::m_normalize
protected

Normalize map (default: true)

Definition at line 114 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), GModelSpatialDiffuseMap(), init_members(), normalize(), read(), set_mc_cone(), and write().

double GModelSpatialDiffuseMap::m_radius
protected

Radius of bounding circle.

Definition at line 113 of file GModelSpatialDiffuseMap.hpp.

Referenced by contains(), copy_members(), init_members(), prepare_map(), print(), and set_region().

GSkyRegionCircle GModelSpatialDiffuseMap::m_region
mutableprotected

Bounding circle.

Definition at line 116 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), init_members(), region(), and set_region().

std::string GModelSpatialDiffuseMap::m_type
protected

Model type.

Definition at line 108 of file GModelSpatialDiffuseMap.hpp.

Referenced by copy_members(), GModelSpatialDiffuseMap(), init_members(), and type().

GModelPar GModelSpatialDiffuseMap::m_value
protected

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