csep.core.regions.magnitude_bins

csep.core.regions.magnitude_bins(start_magnitude, end_magnitude, dmw)[source]

Returns array holding magnitude bin edges.

The output from this function is monotonically increasing and equally spaced bin edges that can represent magnitude bins.

Args:

start_magnitude (float) end_magnitude (float) dmw (float): magnitude spacing

Returns

bin_edges (numpy.ndarray)