get_width_stats
- zdm.misc_functions.get_width_stats(s, g)[source]
gets the probability of detecting tau or w for a given survey and grid
- Parameters:
s – survey
g – correspondiong grid object
- Returns:
Rate (per day) of detecting intrinsic width w Rtau (np.ndarray): Rate (per day) of detecting scattering time tau Nw (np.ndarray): Total number of FRBs as a function of total width Nwz (np.ndarray): Number of FRBs as a function of total width and redshift Nwdm (np.ndarray): Number of FRBs as a function of total width and DM
- Return type:
Rw (np.ndarray)