Class black body photons, inherited from Radiation.hh.
More...
#include <BBody.hpp>
|
| | BBody (size_t size=40) |
| |
| virtual void | set_temp_kev (double T) |
| | Methods to set BB quantities.
|
| |
| virtual void | set_temp_k (double T) |
| |
| virtual void | set_temp_hz (double nu) |
| |
| virtual void | set_lum (double L) |
| |
| virtual void | bb_spectrum () |
| | Method to set BB spectrum.
|
| |
| virtual double | temp_kev () const |
| |
| virtual double | temp_k () const |
| |
| virtual double | temp_hz () const |
| |
| virtual double | lum () const |
| |
| virtual double | norm () const |
| |
| virtual double | Urad (double d) const |
| |
| virtual void | test () |
| |
| | Radiation (size_t size) |
| |
| virtual const std::vector< double > & | get_energy () const |
| |
| virtual const std::vector< double > & | get_nphot () const |
| |
| virtual const std::vector< double > & | get_energy_obs () const |
| |
| virtual const std::vector< double > & | get_nphot_obs () const |
| |
| virtual size_t | get_size () const |
| |
| virtual double | get_volume () const |
| |
| virtual double | integrated_luminosity (double numin, double numax) |
| |
| virtual void | set_beaming (double theta, double speed, double doppler) |
| | Methods to set viewing angle, beaming and geometry of emission region.
|
| |
| virtual void | set_inclination (double theta) |
| |
| virtual void | set_geometry (const std::string &geom, double l1, double l2) |
| |
| virtual void | set_geometry (const std::string &geom, double l1) |
| |
| virtual void | set_counterjet (bool flag) |
| | Method to include a counterjet in cyclosycnchrotron/Compton classes.
|
| |
| virtual void | test_arrays () |
| | Simple method to check arrays; only meant for debugging.
|
| |
|
| double | Tbb |
| |
| double | Lbb |
| |
| double | normbb |
| |
| std::vector< double > | en_phot |
| | array of photon energies
|
| |
| std::vector< double > | num_phot |
| | array of number of photons in units of erg/s/Hz
|
| |
| std::vector< double > | en_phot_obs |
| | same as above but in observer frame
|
| |
| std::vector< double > | num_phot_obs |
| | same as above but in observer frame
|
| |
| double | r |
| |
| double | z |
| | Dimensions of emitting region.
|
| |
| double | vol |
| | Volume of emitting region.
|
| |
| double | beta |
| | speed of the emitting region
|
| |
| double | dopfac |
| |
| double | angle |
| | Viewing angle/Doppler factor of emitting region.
|
| |
| double | dopnum |
| | Doppler boosting exponent, depends on geometry.
|
| |
| bool | counterjet |
| | boolean switch if user wants to include counterjet emission
|
| |
| std::string | geometry |
| | string to track geometry of emitting region
|
| |
Class black body photons, inherited from Radiation.hh.
◆ BBody()
| kariba::BBody::BBody |
( |
size_t |
size = 40 | ) |
|
◆ bb_spectrum()
| void kariba::BBody::bb_spectrum |
( |
| ) |
|
|
virtual |
Method to set BB spectrum.
◆ lum()
| double kariba::BBody::lum |
( |
| ) |
const |
|
virtual |
◆ norm()
| double kariba::BBody::norm |
( |
| ) |
const |
|
virtual |
◆ set_lum()
| void kariba::BBody::set_lum |
( |
double |
L | ) |
|
|
virtual |
◆ set_temp_hz()
| void kariba::BBody::set_temp_hz |
( |
double |
nu | ) |
|
|
virtual |
◆ set_temp_k()
| void kariba::BBody::set_temp_k |
( |
double |
T | ) |
|
|
virtual |
◆ set_temp_kev()
| void kariba::BBody::set_temp_kev |
( |
double |
T | ) |
|
|
virtual |
Methods to set BB quantities.
◆ temp_hz()
| double kariba::BBody::temp_hz |
( |
| ) |
const |
|
virtual |
◆ temp_k()
| double kariba::BBody::temp_k |
( |
| ) |
const |
|
virtual |
◆ temp_kev()
| double kariba::BBody::temp_kev |
( |
| ) |
const |
|
virtual |
Methods to return BB temperature, luminosity, energy density at a given distance d (or for a given radius d of the source)
◆ test()
| void kariba::BBody::test |
( |
| ) |
|
|
virtual |
◆ Urad()
| double kariba::BBody::Urad |
( |
double |
d | ) |
const |
|
virtual |
◆ Lbb
| double kariba::BBody::Lbb |
|
protected |
◆ normbb
| double kariba::BBody::normbb |
|
protected |
◆ Tbb
| double kariba::BBody::Tbb |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/kariba/kariba/src/kariba/BBody.hpp
- /home/runner/work/kariba/kariba/src/BBody.cpp