This documentation is for astroML version 0.2

This page


astroML Mailing List

GitHub Issue Tracker


Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)


If you use the software, please consider citing astroML.

11.11.1. astroML.lumfunc.Cminus

astroML.lumfunc.Cminus(x, y, xmax, ymax)[source]

Lynden-Bell’s C-minus method

Parameters :

x : array_like

array of x values

y : array_like

array of y values

xmax : array_like

array of maximum x values for each y value

ymax : array_like

array of maximum y values for each x value

Returns :

Nx, Ny, cuml_x, cuml_y: ndarrays :

Nx and cuml_x are in the order of the sorted x array Ny and cuml_y are in the order of the sorted y array