Functions | |
def | dVC_dVL_for_z (z) |
Ratio between the comoving volume element dVC and a DL**2 prior at redshift z. More... | |
def | z_for_DL (DL) |
def | dVC_dVL_for_DL (DL) |
def | func (x) |
def | exact_dVC_dVL (DL) |
An alternate expression of dVC_dVL_for_DL. More... | |
Variables | |
parser = argparse.ArgumentParser() | |
choices | |
default | |
nargs | |
help | |
args = parser.parse_args() | |
cosmo | |
DL = np.logspace(0, 6, 32) | |
log_DL = np.log(DL) | |
def | dVC_dVL = dVC_dVL_for_DL(DL) |
log_dVC_dVL = np.log(dVC_dVL) | |
high_z_x0 = np.log(1e6) | |
def | high_z_y0 = func(high_z_x0) |
high_z_slope = scipy.misc.derivative(func, high_z_x0) | |
def | high_z_intercept = high_z_y0 - high_z_slope * high_z_x0 |
filename = os.path.basename(__file__) | |
sep | |
def bayestar_cosmology.dVC_dVL_for_z | ( | z | ) |
Ratio between the comoving volume element dVC and a DL**2 prior at redshift z.
Definition at line 41 of file bayestar_cosmology.py.
def bayestar_cosmology.z_for_DL | ( | DL | ) |
Definition at line 60 of file bayestar_cosmology.py.
def bayestar_cosmology.dVC_dVL_for_DL | ( | DL | ) |
Definition at line 65 of file bayestar_cosmology.py.
def bayestar_cosmology.func | ( | x | ) |
Definition at line 75 of file bayestar_cosmology.py.
def bayestar_cosmology.exact_dVC_dVL | ( | DL | ) |
An alternate expression of dVC_dVL_for_DL.
Definition at line 100 of file bayestar_cosmology.py.
bayestar_cosmology.parser = argparse.ArgumentParser() |
Definition at line 29 of file bayestar_cosmology.py.
bayestar_cosmology.choices |
Definition at line 31 of file bayestar_cosmology.py.
bayestar_cosmology.default |
Definition at line 32 of file bayestar_cosmology.py.
bayestar_cosmology.nargs |
Definition at line 32 of file bayestar_cosmology.py.
bayestar_cosmology.help |
Definition at line 32 of file bayestar_cosmology.py.
bayestar_cosmology.args = parser.parse_args() |
Definition at line 33 of file bayestar_cosmology.py.
bayestar_cosmology.cosmo |
Definition at line 35 of file bayestar_cosmology.py.
bayestar_cosmology.DL = np.logspace(0, 6, 32) |
Definition at line 69 of file bayestar_cosmology.py.
bayestar_cosmology.log_DL = np.log(DL) |
Definition at line 70 of file bayestar_cosmology.py.
def bayestar_cosmology.dVC_dVL = dVC_dVL_for_DL(DL) |
Definition at line 71 of file bayestar_cosmology.py.
bayestar_cosmology.log_dVC_dVL = np.log(dVC_dVL) |
Definition at line 72 of file bayestar_cosmology.py.
bayestar_cosmology.high_z_x0 = np.log(1e6) |
Definition at line 79 of file bayestar_cosmology.py.
Definition at line 80 of file bayestar_cosmology.py.
Definition at line 81 of file bayestar_cosmology.py.
def bayestar_cosmology.high_z_intercept = high_z_y0 - high_z_slope * high_z_x0 |
Definition at line 82 of file bayestar_cosmology.py.
bayestar_cosmology.filename = os.path.basename(__file__) |
Definition at line 84 of file bayestar_cosmology.py.
bayestar_cosmology.sep |
Definition at line 87 of file bayestar_cosmology.py.