26 #ifndef __GyotoPowerLawSynchrotronSpectrum_H_ 27 #define __GyotoPowerLawSynchrotronSpectrum_H_ 33 class PowerLawSynchrotron;
70 using Gyoto::Spectrum::Generic::operator();
77 virtual double operator()(double nu) const;
86 #ifndef GYOTO_SWIGIMPORTED 87 virtual double operator()(double nu,double ,double ds) const;
92 double numberdensityCGS() const;
93 void numberdensityCGS(double rho);
94 double angle_B_pem() const;
95 void angle_B_pem(double rho);
96 double cyclotron_freq() const;
97 void cyclotron_freq(double rho);
98 double PLindex() const;
99 void PLindex(double ind);
100 bool angle_averaged() const;
101 void angle_averaged(bool ang);
102 double gamma_min() const;
103 void gamma_min(double gmin);
104 double gamma_max() const;
105 void gamma_max(double gmax);
113 double
jnuCGS(double nu) const;
127 double const nu_ems[],
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition: GyotoPowerLawSynchrotronSpectrum.h:55
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition: GyotoPowerLawSynchrotronSpectrum.h:53
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition: GyotoPowerLawSynchrotronSpectrum.h:52
double PLindex_
Power law index: electron spectrum gamma^-PLindex_.
Definition: GyotoPowerLawSynchrotronSpectrum.h:56
double alphanuCGS(double nu) const
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
virtual PowerLawSynchrotron * clone() const
Cloner.
Spectrum of a simple object (e.g. Star)
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Powerlaw synchrotron spectrum.
Definition: GyotoPowerLawSynchrotronSpectrum.h:49
Pointers performing reference counting.
Definition: GyotoProperty.h:45
bool angle_averaged_
Boolean for angle averaging.
Definition: GyotoPowerLawSynchrotronSpectrum.h:57
double jnuCGS(double nu) const
Spectrum emitted by an Astrobj.
Definition: GyotoSpectrum.h:134
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition: GyotoPowerLawSynchrotronSpectrum.h:54
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.