deshima_sensitivity.galaxy module#
- flux_from_line_luminosity(z: Union[ndarray, List[float], List[int], float, int], d_l: Union[ndarray, List[float], List[int], float, int], f_obs: float, L: float) Union[ndarray, List[float], List[int], float, int] [source]#
Calculate line flux from luminosity.
- Parameters:
d_l (Union[ndarray, List[float], List[int], float, int]) – Luminosity distance. Units: Mpc.
f_obs (float) – Observing frequency. Units: GHz.
L (float) – Line luminosity. Units: L_Sun.
z (Union[ndarray, List[float], List[int], float, int]) –
- Returns:
Flux of line. Units: W m^-2.
- Return type:
flux
- lineflux(Lfir: float = 50000000000000.0, switch_dwarf: bool = False) Tuple[Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int], float, float, float, Union[ndarray, List[float], List[int], float, int]] [source]#
Calculate astronomical line fluxes, developed by Y. Tamura.
- Parameters:
Lfir (float) – Total infrared luminosity. Units: L_Sun.
switch_dwarf (bool) – Whether to use line-to-TIR ratios for dwarf galaxies (True) or not (False).
- Returns:
Fcii_DGS – Flux(es) of [CII]. Units: W m^-2.
Foiii_DGS – Flux(es) of [OIII]. Units: W m^-2.
Foi_DGS – Flux(es) of [OI]. Units: W m^-2.
f_cii – Frequency of [CII]. Units: GHz.
f_oiii – Frequency of [OIII]. Units: GHz.
f_oi – Frequency of [OI]. Units: GHz.
z – Redshift(s) at which fluxes are calculated.
- Return type:
Tuple[Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int], Union[ndarray, List[float], List[int], float, int], float, float, float, Union[ndarray, List[float], List[int], float, int]]