GammaLib
2.1.0.dev
|
Abstract spectral model base class. More...
#include <GModelSpectral.hpp>
Public Member Functions | |
GModelSpectral (void) | |
Void constructor. More... | |
GModelSpectral (const GModelSpectral &model) | |
Copy constructor. More... | |
virtual | ~GModelSpectral (void) |
Destructor. More... | |
virtual GModelSpectral & | operator= (const GModelSpectral &model) |
Assignment operator. More... | |
virtual GModelPar & | operator[] (const int &index) |
Returns model parameter. More... | |
virtual const GModelPar & | operator[] (const int &index) const |
Returns model parameter (const version) More... | |
virtual GModelPar & | operator[] (const std::string &name) |
Returns reference to model parameter. More... | |
virtual const GModelPar & | operator[] (const std::string &name) const |
Returns reference to model parameter (const version) More... | |
virtual void | clear (void)=0 |
Clear object. More... | |
virtual GModelSpectral * | clone (void) const =0 |
Clones object. More... | |
virtual std::string | classname (void) const =0 |
Return class name. More... | |
virtual std::string | type (void) const =0 |
virtual double | eval (const GEnergy &srcEng, const GTime &srcTime=GTime(), const bool &gradients=false) const =0 |
virtual double | flux (const GEnergy &emin, const GEnergy &emax) const =0 |
virtual double | eflux (const GEnergy &emin, const GEnergy &emax) const =0 |
virtual GEnergy | mc (const GEnergy &emin, const GEnergy &emax, const GTime &time, GRan &ran) const =0 |
virtual void | read (const GXmlElement &xml)=0 |
virtual void | write (GXmlElement &xml) const =0 |
virtual std::string | print (const GChatter &chatter=NORMAL) const =0 |
Print content of object. More... | |
GModelPar & | at (const int &index) |
Returns model parameter. More... | |
const GModelPar & | at (const int &index) const |
Returns model parameter (const version) More... | |
bool | has_par (const std::string &name) const |
Checks if parameter name exists. More... | |
int | size (void) const |
Return number of parameters. More... | |
void | autoscale (void) |
Autoscale parameters. 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 GModelSpectral &model) |
Copy class members. More... | |
void | free_members (void) |
Delete class members. More... | |
Protected Attributes | |
std::vector< GModelPar * > | m_pars |
Parameter pointers. More... | |
Abstract spectral model base class.
This class implements the spectral component of the factorized source model
\[ S_{\rm E}(E | t) \]
where \(E\) is the true photon energy, and \(t\) is the true photon arrival time.
The spectral component describes the spatially integrated time dependent spectral distribution of the source. It satisfies
\[ \int_{E} S_{\rm E}(E | t) dE = \Phi \]
for all \(t\), where \(\Phi\) is the spatially and spectrally integrated total source flux. The spectral component does not impact the temporal properties of the integrated flux \(\Phi\).
Definition at line 68 of file GModelSpectral.hpp.
GModelSpectral::GModelSpectral | ( | void | ) |
GModelSpectral::GModelSpectral | ( | const GModelSpectral & | model | ) |
Copy constructor.
[in] | model | Spectral model. |
Definition at line 70 of file GModelSpectral.cpp.
References copy_members(), and init_members().
|
virtual |
GModelPar & GModelSpectral::at | ( | const int & | index | ) |
Returns model parameter.
[in] | index | Parameter index [0,...,size()[. |
GException::out_of_range | Parameter index is out of range. |
Returns model parameter with index
range checking.
Definition at line 206 of file GModelSpectral.cpp.
const GModelPar & GModelSpectral::at | ( | const int & | index | ) | const |
Returns model parameter (const version)
[in] | index | Parameter index [0,...,size()[. |
GException::out_of_range | Parameter index is out of range. |
Returns model parameter with index
range checking.
Definition at line 229 of file GModelSpectral.cpp.
void GModelSpectral::autoscale | ( | void | ) |
Autoscale parameters.
Sets the scale factors for all parameters so that the values are unity.
Definition at line 273 of file GModelSpectral.cpp.
References m_pars.
Referenced by GModelSpectralBrokenPlaw::GModelSpectralBrokenPlaw(), GModelSpectralExpInvPlaw::GModelSpectralExpInvPlaw(), GModelSpectralExpPlaw::GModelSpectralExpPlaw(), GModelSpectralGauss::GModelSpectralGauss(), GModelSpectralLogParabola::GModelSpectralLogParabola(), GModelSpectralPlaw::GModelSpectralPlaw(), GModelSpectralSmoothBrokenPlaw::GModelSpectralSmoothBrokenPlaw(), and GModelSpectralSuperExpPlaw::GModelSpectralSuperExpPlaw().
|
pure virtual |
Return class name.
Returns the class name for non-abstract classes in a human readable way.
Implements GBase.
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GCOMIaq::set().
|
pure virtual |
Clear object.
Sets the object to a clean initial state. After calling the method the object will be in the same state as it were if an empty instance of the object would have been created.
Implements GBase.
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
|
pure virtual |
Clones object.
Creates a deep copy of the object and returns a pointer to the object.
Implements GBase.
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSpectralComposite::append(), GModelSpectralMultiplicative::append(), GCTAModelSpatialGaussSpectrum::copy_members(), GCTAModelIrfBackground::copy_members(), GCTAModelAeffBackground::copy_members(), GCTAModelCubeBackground::copy_members(), GCTAModelRadialAcceptance::copy_members(), GCTAModelBackground::copy_members(), GCTAModelSkyCube::copy_members(), GModelSky::copy_members(), GModelSpectralExponential::exponent(), GCTAModelAeffBackground::GCTAModelAeffBackground(), GCTAModelBackground::GCTAModelBackground(), GCTAModelCubeBackground::GCTAModelCubeBackground(), GCTAModelIrfBackground::GCTAModelIrfBackground(), GCTAModelRadialAcceptance::GCTAModelRadialAcceptance(), GCTAModelSkyCube::GCTAModelSkyCube(), GModelSky::GModelSky(), GCTAModelSpatialGaussSpectrum::sigma(), GCTAModelIrfBackground::spectral(), GCTAModelAeffBackground::spectral(), GCTAModelCubeBackground::spectral(), GCTAModelRadialAcceptance::spectral(), GCTAModelBackground::spectral(), GCTAModelSkyCube::spectral(), and GModelSky::spectral().
|
protected |
Copy class members.
[in] | model | Spectral model. |
Definition at line 311 of file GModelSpectral.cpp.
References m_pars.
Referenced by GModelSpectral(), and operator=().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSky::eflux().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSky::eflux(), GCTAModelIrfBackground::eval(), GCTAModelSpatialGaussSpectrum::eval(), GCTAModelAeffBackground::eval(), GModelSpectralExponential::eval(), GCTAModelCubeBackground::eval(), GCTAModelRadialAcceptance::eval(), GCTAModelBackground::eval(), GCTAModelSkyCube::eval(), GModelSpectralExponential::flux_kern::eval(), cta_nroi_kern::eval(), GModelSky::flux_kern::eval(), GResponse::eval_prob(), GResponse::eval_probs(), GModelSky::flux(), GModelSpectralBins::GModelSpectralBins(), GModelSpectralFunc::GModelSpectralFunc(), GModelSpectralNodes::GModelSpectralNodes(), GModelSky::gradients(), GCTAModelIrfBackground::mc(), GCTAModelAeffBackground::mc(), GModelSky::mc(), GCTAOnOffObservation::N_bgd(), GCTAOnOffObservation::N_gamma(), GCTAModelIrfBackground::npred(), GCTAModelAeffBackground::npred(), GCTAModelCubeBackground::npred(), GCTAModelRadialAcceptance::npred(), GCTAModelBackground::npred(), GCTAModelSkyCube::npred(), GCTAResponseIrf::nroi(), and GModelSky::value().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSky::flux(), GCTAModelIrfBackground::mc(), GCTAModelRadialAcceptance::mc(), GCTAModelBackground::mc(), GModelSky::mc(), GCTAOnOffObservation::N_gamma(), and GCOMIaq::set().
|
protected |
Delete class members.
Definition at line 324 of file GModelSpectral.cpp.
Referenced by GModelSpectralComposite::clear(), GModelSpectralMultiplicative::clear(), GModelSpectralExponential::clear(), GModelSpectralBins::clear(), GModelSpectralTable::clear(), GModelSpectralConst::clear(), GModelSpectralFunc::clear(), GModelSpectralGauss::clear(), GModelSpectralPlaw::clear(), GModelSpectralExpPlaw::clear(), GModelSpectralLogParabola::clear(), GModelSpectralBrokenPlaw::clear(), GModelSpectralSuperExpPlaw::clear(), GModelSpectralExpInvPlaw::clear(), GModelSpectralPlawEnergyFlux::clear(), GModelSpectralPlawPhotonFlux::clear(), GModelSpectralNodes::clear(), GModelSpectralSmoothBrokenPlaw::clear(), operator=(), and ~GModelSpectral().
bool GModelSpectral::has_par | ( | const std::string & | name | ) | const |
Checks if parameter name exists.
[in] | name | Parameter name. |
name
exists.Searches all parameter names for a match with the specified name
. If the specified name has been found, true is returned.
Definition at line 250 of file GModelSpectral.cpp.
References m_pars, and size().
Referenced by GCTAOnOffObservation::N_gamma().
|
protected |
Initialise class members.
Definition at line 296 of file GModelSpectral.cpp.
References m_pars.
Referenced by GModelSpectralComposite::clear(), GModelSpectralMultiplicative::clear(), GModelSpectralExponential::clear(), GModelSpectralBins::clear(), GModelSpectralTable::clear(), GModelSpectralConst::clear(), GModelSpectralFunc::clear(), GModelSpectralGauss::clear(), GModelSpectralPlaw::clear(), GModelSpectralExpPlaw::clear(), GModelSpectralLogParabola::clear(), GModelSpectralBrokenPlaw::clear(), GModelSpectralSuperExpPlaw::clear(), GModelSpectralExpInvPlaw::clear(), GModelSpectralPlawEnergyFlux::clear(), GModelSpectralPlawPhotonFlux::clear(), GModelSpectralNodes::clear(), GModelSpectralSmoothBrokenPlaw::clear(), GModelSpectral(), and operator=().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GCTAModelIrfBackground::mc(), GCTAModelRadialAcceptance::mc(), GCTAModelBackground::mc(), and GModelSky::mc().
|
virtual |
Assignment operator.
[in] | model | Spectral model. |
Definition at line 108 of file GModelSpectral.cpp.
References copy_members(), free_members(), and init_members().
Referenced by GModelSpectralComposite::operator=(), GModelSpectralMultiplicative::operator=(), GModelSpectralExponential::operator=(), GModelSpectralBins::operator=(), GModelSpectralTable::operator=(), GModelSpectralConst::operator=(), GModelSpectralFunc::operator=(), GModelSpectralGauss::operator=(), GModelSpectralPlaw::operator=(), GModelSpectralExpPlaw::operator=(), GModelSpectralLogParabola::operator=(), GModelSpectralBrokenPlaw::operator=(), GModelSpectralExpInvPlaw::operator=(), GModelSpectralSuperExpPlaw::operator=(), GModelSpectralPlawPhotonFlux::operator=(), GModelSpectralPlawEnergyFlux::operator=(), GModelSpectralNodes::operator=(), and GModelSpectralSmoothBrokenPlaw::operator=().
|
inlinevirtual |
Returns model parameter.
[in] | index | Parameter index [0,...,size()-1]. |
Returns model parameter without index
range checking.
Definition at line 128 of file GModelSpectral.hpp.
References m_pars.
|
inlinevirtual |
Returns model parameter (const version)
[in] | index | Parameter index [0,...,size()-1]. |
Returns model parameter without index
range checking.
Definition at line 143 of file GModelSpectral.hpp.
References m_pars.
|
virtual |
Returns reference to model parameter.
[in] | name | Parameter name. |
GException::invalid_argument | Parameter with specified name not found. |
Definition at line 137 of file GModelSpectral.cpp.
|
virtual |
Returns reference to model parameter (const version)
[in] | name | Parameter name. |
GException::invalid_argument | Parameter with specified name not found. |
Definition at line 167 of file GModelSpectral.cpp.
Print content of object.
[in] | chatter | Chattiness (defaults to NORMAL). |
Formats the content in a standard way and puts this content in a C++ string that is returned.
Implements GBase.
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSpectralRegistry::alloc().
|
inline |
Return number of parameters.
Returns the number of parameters in the spectral model component.
Definition at line 157 of file GModelSpectral.hpp.
References m_pars.
Referenced by at(), GResponse::convolve(), GModelSpectralComposite::copy_members(), GModelSpectralMultiplicative::copy_members(), GModelSpectralTable::create_par_table(), GResponse::edisp_kerns::edisp_kerns(), GCTAModelIrfBackground::eval(), GCTAModelSpatialGaussSpectrum::eval(), GCTAModelAeffBackground::eval(), GModelSpectralExponential::eval(), GCTAModelCubeBackground::eval(), GCTAModelRadialAcceptance::eval(), GCTAModelBackground::eval(), GCTAModelSkyCube::eval(), GResponse::eval_prob(), GResponse::eval_probs(), GModelSpectralExponential::exponent(), has_par(), operator[](), GModelSpectralTable::par_index(), GCTAModelSpatialGaussSpectrum::print(), GCTAModelIrfBackground::print(), GCTAModelAeffBackground::print(), GCTAModelCubeBackground::print(), GModelSpectralComposite::print(), GModelSpectralMultiplicative::print(), GCTAModelRadialAcceptance::print(), GModelSpectralExponential::print(), GCTAModelBackground::print(), GModelSpectralBins::print(), GCTAModelSkyCube::print(), GModelSpectralConst::print(), GModelSpectralTable::print(), GModelSpectralFunc::print(), GModelSpectralGauss::print(), GModelSpectralPlaw::print(), GModelSpectralExpPlaw::print(), GModelSpectralLogParabola::print(), GModelSpectralBrokenPlaw::print(), GModelSpectralExpInvPlaw::print(), GModelSpectralSuperExpPlaw::print(), GModelSpectralPlawPhotonFlux::print(), GModelSpectralPlawEnergyFlux::print(), GModelSpectralNodes::print(), GModelSpectralSmoothBrokenPlaw::print(), GModelSky::print(), GCTAModelSpatialGaussSpectrum::set_pointers(), GCTAModelIrfBackground::set_pointers(), GCTAModelAeffBackground::set_pointers(), GCTAModelCubeBackground::set_pointers(), GCTAModelRadialAcceptance::set_pointers(), GCTAModelBackground::set_pointers(), GCTAModelSkyCube::set_pointers(), GModelSky::set_pointers(), GModelSky::signal_analytical_gradients(), GResponse::size_edisp_vector(), GModelSpectralTable::table_par(), GModelSpectralExponential::update_mc_cache(), GModelSpectralComposite::update_mc_cache(), GModelSpectralMultiplicative::update_mc_cache(), GModelSpectralComposite::write(), and GModelSpectralMultiplicative::write().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GModelSpectralRegistry::GModelSpectralRegistry(), and GCTAModelSpatialGaussSpectrum::print().
|
pure virtual |
Implemented in GModelSpectralSmoothBrokenPlaw, GModelSpectralNodes, GModelSpectralPlawEnergyFlux, GModelSpectralPlawPhotonFlux, GModelSpectralExpInvPlaw, GModelSpectralSuperExpPlaw, GModelSpectralBrokenPlaw, GModelSpectralLogParabola, GModelSpectralExpPlaw, GModelSpectralPlaw, GModelSpectralGauss, GModelSpectralFunc, GModelSpectralConst, GModelSpectralTable, GModelSpectralBins, GModelSpectralExponential, GModelSpectralMultiplicative, and GModelSpectralComposite.
Referenced by GCTAModelSpatialGaussSpectrum::write(), GCTAModelIrfBackground::write(), GCTAModelAeffBackground::write(), GModelSpectralComposite::write(), GCTAModelCubeBackground::write(), GCTAModelRadialAcceptance::write(), GModelSpectralMultiplicative::write(), GModelSpectralExponential::write(), GCTAModelBackground::write(), GCTAModelSkyCube::write(), and GModelSky::write().
|
protected |
Parameter pointers.
Definition at line 115 of file GModelSpectral.hpp.
Referenced by GModelSpectralComposite::append(), GModelSpectralMultiplicative::append(), at(), autoscale(), GModelSpectralMultiplicative::copy_members(), GModelSpectralComposite::copy_members(), GModelSpectralConst::copy_members(), GModelSpectralGauss::copy_members(), GModelSpectralPlaw::copy_members(), copy_members(), GModelSpectralFunc::copy_members(), GModelSpectralExpPlaw::copy_members(), GModelSpectralLogParabola::copy_members(), GModelSpectralBrokenPlaw::copy_members(), GModelSpectralExpInvPlaw::copy_members(), GModelSpectralSuperExpPlaw::copy_members(), GModelSpectralPlawEnergyFlux::copy_members(), GModelSpectralPlawPhotonFlux::copy_members(), GModelSpectralSmoothBrokenPlaw::copy_members(), GModelSpectralPlaw::eval(), GModelSpectralExponential::exponent(), has_par(), GModelSpectralConst::init_members(), GModelSpectralGauss::init_members(), GModelSpectralPlaw::init_members(), init_members(), GModelSpectralFunc::init_members(), GModelSpectralExpPlaw::init_members(), GModelSpectralLogParabola::init_members(), GModelSpectralBrokenPlaw::init_members(), GModelSpectralExpInvPlaw::init_members(), GModelSpectralSuperExpPlaw::init_members(), GModelSpectralPlawEnergyFlux::init_members(), GModelSpectralPlawPhotonFlux::init_members(), GModelSpectralSmoothBrokenPlaw::init_members(), operator[](), GModelSpectralComposite::print(), GModelSpectralMultiplicative::print(), GModelSpectralExponential::print(), GModelSpectralBins::print(), GModelSpectralConst::print(), GModelSpectralTable::print(), GModelSpectralFunc::print(), GModelSpectralGauss::print(), GModelSpectralPlaw::print(), GModelSpectralExpPlaw::print(), GModelSpectralLogParabola::print(), GModelSpectralBrokenPlaw::print(), GModelSpectralExpInvPlaw::print(), GModelSpectralSuperExpPlaw::print(), GModelSpectralPlawPhotonFlux::print(), GModelSpectralPlawEnergyFlux::print(), GModelSpectralNodes::print(), GModelSpectralSmoothBrokenPlaw::print(), GModelSpectralTable::set_par_pointers(), size(), GModelSpectralExponential::update_mc_cache(), GModelSpectralMultiplicative::update_mc_cache(), GModelSpectralComposite::update_mc_cache(), GModelSpectralBins::update_pars(), and GModelSpectralNodes::update_pars().