26 #ifndef __GyotoThermalSynchrotronSpectrum_H_ 27 #define __GyotoThermalSynchrotronSpectrum_H_ 33 class ThermalSynchrotron;
67 using Gyoto::Spectrum::Generic::operator();
74 virtual double operator()(double nu) const;
83 #ifndef GYOTO_SWIGIMPORTED 84 virtual double operator()(double nu,double ,double ds) const;
89 double temperature() const;
90 void temperature(double tt);
91 double numberdensityCGS() const;
92 void numberdensityCGS(double rho);
93 double angle_B_pem() const;
94 void angle_B_pem(double rho);
95 double cyclotron_freq() const;
96 void cyclotron_freq(double rho);
97 bool angle_averaged() const;
98 void angle_averaged(bool ang);
99 double besselK2() const;
100 void besselK2(double bessel);
108 double
jnuCGS(double nu) const;
122 double const nu_ems[],
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
double alphanuCGS(double nu) const
virtual ThermalSynchrotron * clone() const
Cloner.
Thermal synchrotron spectrum.
Definition: GyotoThermalSynchrotronSpectrum.h:49
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition: GyotoThermalSynchrotronSpectrum.h:55
bool angle_averaged_
Boolean for angle averaging.
Definition: GyotoThermalSynchrotronSpectrum.h:57
double bessel_K2_
Bessel K2 function.
Definition: GyotoThermalSynchrotronSpectrum.h:58
double T_
Temperature.
Definition: GyotoThermalSynchrotronSpectrum.h:53
Spectrum of a simple object (e.g. Star)
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition: GyotoThermalSynchrotronSpectrum.h:56
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition: GyotoThermalSynchrotronSpectrum.h:52
Pointers performing reference counting.
Definition: GyotoProperty.h:45
Spectrum emitted by an Astrobj.
Definition: GyotoSpectrum.h:134
double jnuCGS(double nu) const
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition: GyotoThermalSynchrotronSpectrum.h:54