redback.utils.cdf

redback.utils.cdf(x, plot=True, *args, **kwargs)[source]

Cumulative distribution function

Parameters:
  • x – samples

  • plot – whether to plot the cdf

  • args – extra args passed to plt.plot

  • kwargs – extra kwargs passed to plt.plot

Returns:

x, y or plot