27#ifndef __GyotoPowerLawSpectrum_H_
28#define __GyotoPowerLawSpectrum_H_
77 std::vector<double>
cutoff(std::string const &unit) const;
78 void
cutoff(std::vector<double> const &v, std::string const &unit);
80 void
cutoff(std::vector<double> const &v);
82 using Gyoto::Spectrum::Generic::operator();
83 virtual double operator()(double nu) const;
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
Spectrum of a simple object (e.g. Star)
Pointers performing reference counting.
Definition: GyotoSmartPointer.h:135
Spectrum emitted by an Astrobj.
Definition: GyotoSpectrum.h:137
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:53
double maxfreq_
Upper-frequency cutoff (emits at nu<=maxfreq_)
Definition: GyotoPowerLawSpectrum.h:59
double constant() const
Get constant_.
double exponent_
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:57
double constant_
I_nu=constant_*nu^exponent_.
Definition: GyotoPowerLawSpectrum.h:56
double exponent() const
Get exponent_.
double minfreq_
Lower-frequency cutoff (emits at nu>=minfreq_)
Definition: GyotoPowerLawSpectrum.h:58
std::vector< double > cutoff() const
Get cutoffs, in Hz.
virtual PowerLaw * clone() const
Cloner.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43