26#ifndef __GyotoKappaDistributionSynchrotronSpectrum_H_
27#define __GyotoKappaDistributionSynchrotronSpectrum_H_
33 class KappaDistributionSynchrotron;
68 using Gyoto::Spectrum::Generic::operator();
75 virtual double operator()(double nu) const;
84#ifndef GYOTO_SWIGIMPORTED
85 virtual double operator()(double nu,double ,double ds) const;
90 double numberdensityCGS() const;
91 void numberdensityCGS(double rho);
92 double angle_B_pem() const;
93 void angle_B_pem(double aa);
94 double cyclotron_freq() const;
95 void cyclotron_freq(double ff);
96 double thetae() const;
97 void thetae(double th);
98 double kappaindex() const;
99 void kappaindex(double ind);
100 double hypergeometric() const;
101 void hypergeometric(double hh);
102 bool angle_averaged() const;
103 void angle_averaged(bool ang);
125 double const nu_ems[],
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.
#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
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 alphanuCGS(double nu) const
double hypergeometric_
Hypergeometric function evaluation.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:58
virtual KappaDistributionSynchrotron * clone() const
Cloner.
double jnuCGS(double nu) const
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:52
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:54
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:55
double thetae_
Dimensionless electron temperature.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:56
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:53
double kappaindex_
Kappa distribution index.
Definition: GyotoKappaDistributionSynchrotronSpectrum.h:57
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43