11.11.2. astroML.lumfunc.binned_Cminus

astroML.lumfunc.binned_Cminus(x, y, xmax, ymax, xbins, ybins, normalize=False)[source]

Compute the binned distributions using the Cminus method

Parameters
xarray_like

array of x values

yarray_like

array of y values

xmaxarray_like

array of maximum x values for each y value

ymaxarray_like

array of maximum y values for each x value

xbinsarray_like

array of bin edges for the x function: size=Nbins_x + 1

ybinsarray_like

array of bin edges for the y function: size=Nbins_y + 1

normalizeboolean

if true, then returned distributions are normalized. Default is False.

Returns
dist_x, dist_yndarrays

distributions of size Nbins_x and Nbins_y