Planck-Tapered Conditional Ratio Power Law
planck_tapered_conditional_ratio_power_law
¶
Conditional ratio power law sampler with Planck tapering.
Functions¶
planck_tapered_conditional_ratio_power_law
¶
planck_tapered_conditional_ratio_power_law(key: Array, n_samples: int, denominator: Array, beta: float, numerator_minimum: float, taper_range: float, minimum: float, maximum: float, n_grids: int) -> Array
Sample mass ratios with conditional power law and Planck tapering.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key
|
Array
|
JAX random key. |
required |
n_samples
|
int
|
Number of samples to generate. |
required |
denominator
|
Array
|
Denominator (scalar or array). |
required |
beta
|
float
|
Spectral index of the ratio. |
required |
numerator_minimum
|
float
|
Minimum of the numerator. |
required |
taper_range
|
float
|
Range of the tapering. |
required |
minimum
|
float
|
Minimum of the ratio. |
required |
maximum
|
float
|
Maximum of the ratio. |
required |
n_grids
|
int
|
Number of grid points to evaluate the CDF. |
required |
Returns:
| Type | Description |
|---|---|
Array
|
Array of sampled mass ratios. |