firecrown.generators.two_point.log_linear_ells

firecrown.generators.two_point.log_linear_ells#

firecrown.generators.two_point.log_linear_ells(*, minimum, midpoint, maximum, n_log)[source]#

Create an array of ells to sample the power spectrum.

This is used for for real-space predictions. The result will contain each integral value from min to mid. Starting from mid, and going up to max, there will be n_log logarithmically spaced values.

All values are rounded to the nearest integer.

Parameters:
  • minimum (int) – The low edge of the first bin.

  • midpoint (int) – The high edge of the last in the linear range.

  • maximum (int) – The high edge of the last bin.

  • n_log (int) – The number of bins in the log section of the range.

Return type:

ndarray[tuple[int, ...], dtype[int64]]