26 #ifndef __GyotoKappaDistributionSynchrotronSpectrum_H_ 27 #define __GyotoKappaDistributionSynchrotronSpectrum_H_ 33 class KappaDistributionSynchrotron;
69 using Gyoto::Spectrum::Generic::operator();
76 virtual double operator()(double nu) const;
85 #ifndef GYOTO_SWIGIMPORTED 86 virtual double operator()(double nu,double ,double ds) const;
91 double numberdensityCGS() const;
92 void numberdensityCGS(double rho);
93 double angle_B_pem() const;
94 void angle_B_pem(double aa);
95 double cyclotron_freq() const;
96 void cyclotron_freq(double ff);
97 double thetae() const;
98 void thetae(double th);
99 double kappaindex() const;
100 void kappaindex(double ind);
101 double hypergeometric() const;
102 void hypergeometric(double hh);
103 bool angle_averaged() const;
104 void angle_averaged(bool ang);
105 double gamma_max() const;
106 void gamma_max(double gammaMax);
114 double
jnuCGS(double nu) const;
128 double const nu_ems[],
#define GYOTO_OBJECT
Declare class::properties and class::getProperties()
Definition: GyotoObject.h:84
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:53
double hypergeometric_
Hypergeometric function evaluation.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:58
double alphanuCGS(double nu) const
Kappa-distribution synchrotron spectrum from Pandya et al. (2016)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:49
bool angle_averaged_
Boolean for angle averaging.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:59
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:55
double gamma_max_
Maximum gamma value to integer the distribution.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:60
virtual KappaDistributionSynchrotron * clone() const
Cloner.
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:52
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
Spectrum of a simple object (e.g. Star)
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:45
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:54
double kappaindex_
Kappa distribution index.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:57
Spectrum emitted by an Astrobj.
Definition: GyotoSpectrum.h:134
double thetae_
Dimensionless electron temperature.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:56
double jnuCGS(double nu) const
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.