get_source_counts

zdm.misc_functions.get_source_counts(grid, plot=None, Slabel=None)[source]

Calculates the source-counts function for a given grid It does this in terms of p(SNR)dSNR

WARNING: this function may not currently work, but is kept here as an example “how-to”