synthesizer.components.blackhole¶
A module for holding blackhole emission models.
The class defined here should never be instantiated directly, there are only ever instantiated by the parametric/particle child classes. BlackholesComponent is a child class of Component.
Classes
- class synthesizer.components.blackhole.BlackholesComponent(fesc, mass=None, accretion_rate=None, epsilon=0.1, accretion_rate_eddington=None, inclination=unyt_quantity(0., 'degree'), spin=None, bolometric_luminosity=None, metallicity=None, ionisation_parameter_blr=0.1, hydrogen_density_blr=unyt_quantity(1.e+09, 'cm**(-3)'), covering_fraction_blr=0.1, velocity_dispersion_blr=unyt_quantity(2000, 'km/s'), ionisation_parameter_nlr=0.01, hydrogen_density_nlr=unyt_quantity(10000., 'cm**(-3)'), covering_fraction_nlr=0.1, velocity_dispersion_nlr=unyt_quantity(500, 'km/s'), theta_torus=unyt_quantity(10, 'degree'), **kwargs)[source]¶
The parent class for stellar components of a galaxy.
This class contains the attributes and spectra creation methods which are common to both parametric and particle stellar components.
This should never be instantiated directly, instead it provides the common functionality and attributes used by the child parametric and particle BlackHole/s classes.
- mass¶
The mass of each blackhole.
- Type:
array-like, float
- accretion_rate¶
The accretion rate of each blackhole.
- Type:
array-like, float
- epsilon¶
The radiative efficiency of the blackhole.
- Type:
array-like, float
- accretion_rate_eddington¶
The accretion rate expressed as a fraction of the Eddington accretion rate.
- Type:
array-like, float
- inclination¶
The inclination of the blackhole disc.
- Type:
array-like, float
- spin¶
The dimensionless spin of the blackhole.
- Type:
array-like, float
- bolometric_luminosity¶
The bolometric luminosity of the blackhole.
- Type:
array-like, float
- metallicity¶
The metallicity of the blackhole which is assumed for the line emitting regions.
- Type:
array-like, float
- Attributes (For EmissionModels):
- ionisation_parameter_blr (array-like, float)
The ionisation parameter of the broad line region.
- hydrogen_density_blr (array-like, float)
The hydrogen density of the broad line region.
- covering_fraction_blr (array-like, float)
The covering fraction of the broad line region (effectively the escape fraction).
- velocity_dispersion_blr (array-like, float)
The velocity dispersion of the broad line region.
- ionisation_parameter_nlr (array-like, float)
The ionisation parameter of the narrow line region.
- hydrogen_density_nlr (array-like, float)
The hydrogen density of the narrow line region.
- covering_fraction_nlr (array-like, float)
The covering fraction of the narrow line region (effectively the escape fraction).
- velocity_dispersion_nlr (array-like, float)
The velocity dispersion of the narrow line region.
- theta_torus (array-like, float)
The angle of the torus.
- torus_fraction (array-like, float)
The fraction of the torus angle to 90 degrees.
- calculate_accretion_rate_eddington()[source]¶
Calculate the black hole accretion in units of the Eddington rate.
- Returns
- unyt_array
The black hole accretion rate in units of the Eddington rate.
- calculate_bb_temperature()[source]¶
Calculate the black hole big bump temperature. This is used for the cloudy disc model.
- Returns
- unyt_array
The black hole bolometric luminosity
- calculate_bolometric_luminosity()[source]¶
Calculate the black hole bolometric luminosity. This is by itself useful but also used for some emission models.
- Returns
- unyt_array
The black hole bolometric luminosity