get_w_tau_dist
- zdm.misc_functions.get_w_tau_dist(grid, norm=True)[source]
This function determins the total width, tau, and intrinsic width distributions predicted by zDM. It returns histograms of each of these parameters, both 1D hists of total rates, and 2D hists projected onto the redshift axis.
- Parameters:
grid – zdm grid object. Not yet implemented for a repeating grid
- Returns:
array of width values pw [np.ndarray]: relative probabilities of observing those widths zvals [np.ndarray: nz]: grid.zvals pwz [np.ndarray: nw x nz]: probability of observing each width as a function of z dmvals [np.ndarray: ndm]: grid.dmvals pwdm [np.ndarray: nw x ndm]
- Return type:
wvals [np.ndarray]