R/constants.R

.c_to_mps = 299792458
.mps_to_c = 3.335641e-09

.lsol_to_erg= 3.828e33
.erg_to_lsol = 2.61233e-34

.pc_to_m = 3.08568e+16
.m_to_pc = 3.240777e-17

.kpc_to_m = 3.08568e+19
.m_to_kpc = 3.240777e-20

.mpc_to_m = 3.08568e+22
.m_to_mpc = 3.240777e-23

.mpc_to_cm = 3.08568e+24
.cm_to_mpc = 3.240777e-25

.msol_to_kg = 1.989e30
.kg_to_msol = 5.027652e-31

.lsol_to_w = 3.828e26
.w_to_lsol = 2.61233e-27

.jansky_to_cgs = 1e-23
.cgs_to_jansky = 1e23

.jansky_to_si = 1e-26
.si_to_jansky = 1e26

.cgs_to_si = 1e-3
.si_to_cgs = 1e3

.lsol_to_absolute = .lsol_to_erg/(4*pi*(.mpc_to_cm*1e-5)^2)
asgr/Viperfish documentation built on July 8, 2023, 12:30 a.m.