26#ifndef __GyotoPowerLawSynchrotronSpectrum_H_
27#define __GyotoPowerLawSynchrotronSpectrum_H_
33 class PowerLawSynchrotron;
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 rho);
94 double cyclotron_freq() const;
95 void cyclotron_freq(double rho);
96 double PLindex() const;
97 void PLindex(double ind);
98 bool angle_averaged() const;
99 void angle_averaged(bool ang);
121 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
Powerlaw synchrotron spectrum.
Definition: GyotoPowerLawSynchrotronSpectrum.h:49
SmartPointer< Spectrum::BlackBody > spectrumBB_
blackbody emission
Definition: GyotoPowerLawSynchrotronSpectrum.h:52
bool angle_averaged_
Boolean for angle averaging.
Definition: GyotoPowerLawSynchrotronSpectrum.h:57
double PLindex_
Power law index: electron spectrum \propto gamma^-PLindex_.
Definition: GyotoPowerLawSynchrotronSpectrum.h:56
double alphanuCGS(double nu) const
double angle_B_pem_
Angle between Bfield and emission direction (rad)
Definition: GyotoPowerLawSynchrotronSpectrum.h:54
double numberdensityCGS_
Number density in CGS UNITS (careful)
Definition: GyotoPowerLawSynchrotronSpectrum.h:53
double jnuCGS(double nu) const
virtual PowerLawSynchrotron * clone() const
Cloner.
void radiativeQ(double jnu[], double anu[], double const nu_ems[], size_t nbnu)
double cyclotron_freq_
Cyclotron frequency (e*B / 2*pi*me*c)
Definition: GyotoPowerLawSynchrotronSpectrum.h:55
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43