make_cum_dist
- zdm.misc_functions.make_cum_dist(data)[source]
Gets cumulative distribution of the data ready for plotting
- Parameters:
data (list or np.ndarray) – data for the distribution
- Returns:
x values of cumulative distribution yvals (np.ndarray): x values of cumulative distribution
- Return type:
xvals (np.ndarray)