Flat Lambda CDM
flat_lambda_cdm
¶
Functions to compute cosmological quantities under flat lambda CDM model.
Functions¶
compute_normalized_hubble_parameter
¶
compute_normalized_hubble_parameter(redshift: Array, omega_m: Array) -> Array
Compute the normalized Hubble parameter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
redshift
|
Array
|
Redshift. |
required |
omega_m
|
Array
|
Matter density. |
required |
Returns:
| Type | Description |
|---|---|
Array
|
Normalized Hubble parameter. |
compute_hubble_parameter
¶
compute_hubble_parameter(redshift: Array, hubble_constant: Array, omega_m: Array) -> Array
Compute the Hubble parameter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
redshift
|
Array
|
Redshift. |
required |
hubble_constant
|
Array
|
Hubble constant in km / s / Mpc. |
required |
omega_m
|
Array
|
Matter density. |
required |
Returns:
| Type | Description |
|---|---|
Array
|
Hubble parameter in km / s/ Mpc. |
compute_comoving_distance
¶
compute_comoving_distance(redshift: Array, hubble_constant: Array, omega_m: Array, n_grid: int = 1000) -> Array
Compute the comoving distance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
redshift
|
Array
|
Redshift to evaluate the comoving distance. |
required |
hubble_constant
|
Array
|
Hubble constant in km / s / Mpc. |
required |
omega_m
|
Array
|
Matter density. |
required |
n_grid
|
int
|
Number of grid points to perform the numerical integration. |
1000
|
Returns:
| Type | Description |
|---|---|
Array
|
Comoving distance in Mpc. |
compute_differential_comoving_volume
¶
compute_differential_comoving_volume(redshift: Array, hubble_constant: Array, omega_m: Array, n_grid: int = 1000) -> Array
Compute the differential comoving volume.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
redshift
|
Array
|
Redshift. |
required |
hubble_constant
|
Array
|
Hubble constant in km / s / Mpc. |
required |
omega_m
|
Array
|
Matter density. |
required |
n_grid
|
int
|
Number of grid points to perform the numerical integration. |
1000
|
Returns:
| Type | Description |
|---|---|
Array
|
Differential comoving volume in Mpc^{3}. |