|
Kariba
|
Class black body photons, inherited from Radiation.hh. More...
#include <BBody.hpp>
Public Member Functions | |
| BBody (size_t size=40) | |
| void | set_temp_kev (double T) |
| Methods to set BB quantities. | |
| void | set_temp_k (double T) |
| void | set_temp_hz (double nu) |
| void | set_lum (double L) |
| void | bb_spectrum () |
| Method to set BB spectrum. | |
| double | temp_kev () const |
| double | temp_k () const |
| double | temp_hz () const |
| double | lum () const |
| double | norm () const |
| double | Urad (double d) const |
| void | test () |
Public Member Functions inherited from kariba::Radiation | |
| Radiation (size_t size) | |
| const std::vector< double > & | get_energy () const |
| const std::vector< double > & | get_nphot () const |
| const std::vector< double > & | get_energy_obs () const |
| const std::vector< double > & | get_nphot_obs () const |
| size_t | get_size () const |
| double | get_volume () const |
| double | integrated_luminosity (double numin, double numax) |
| void | set_beaming (double theta, double speed, double doppler) |
| Methods to set viewing angle, beaming and geometry of emission region. | |
| void | set_inclination (double theta) |
| void | set_geometry (const std::string &geom, double l1, double l2) |
| void | set_geometry (const std::string &geom, double l1) |
| void | set_counterjet (bool flag) |
| Method to include a counterjet in cyclosycnchrotron/Compton classes. | |
| void | test_arrays () |
| Simple method to check arrays; only meant for debugging. | |
Protected Attributes | |
| double | Tbb |
| double | Lbb |
| double | normbb |
Protected Attributes inherited from kariba::Radiation | |
| 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.
| kariba::BBody::BBody | ( | size_t | size = 40 | ) |
| void kariba::BBody::bb_spectrum | ( | ) |
Method to set BB spectrum.
| double kariba::BBody::lum | ( | ) | const |
| double kariba::BBody::norm | ( | ) | const |
| void kariba::BBody::set_lum | ( | double | L | ) |
| void kariba::BBody::set_temp_hz | ( | double | nu | ) |
| void kariba::BBody::set_temp_k | ( | double | T | ) |
| void kariba::BBody::set_temp_kev | ( | double | T | ) |
Methods to set BB quantities.
| double kariba::BBody::temp_hz | ( | ) | const |
| double kariba::BBody::temp_k | ( | ) | const |
| double kariba::BBody::temp_kev | ( | ) | const |
Methods to return BB temperature, luminosity, energy density at a given distance d (or for a given radius d of the source)
| void kariba::BBody::test | ( | ) |
| double kariba::BBody::Urad | ( | double | d | ) | const |
|
protected |
|
protected |
|
protected |