get_vvmax

zdm.vvmax.get_vvmax(BeamBs, BeamOs, Bfrb, sfrb, z0, DM0, DMcosmic0, w0, freqMHz, tsamp, macquartz, macquartDM, alpha, Vsplines, LimZ)[source]

Calculates the values of V and Vmax [Mpc^3 dtau] for the given inputs

INPUTS:

BeamBs [np.ndarray (floats)]: list of relative beam values B BeamOs [np.ndarray (floats)]: list of solid angles for B Bfrb [float]: value of B at which the FRB is detected sfrb [float]: value of s=SNR/SNRth at which the FRB is detected z0 [float]: measured FRB redshift DM0 [float]: measured FRB total dispersion measures [pc cm^-3] DMcosmic0: estimated FRB cosmic dispersion measures [pc cm^-3] w0 [float]: measured FRB width [ms] freqMHz [float]: frequency of detection [MHz] tsamp [float]: integration time of data [ms] Macquartz [float]: redshift estimated from the Macquart relation MacquartDM [float]: cosmic dispersion measure estimated from the Macquart relation alpha [float]: frequency dependence of FRBs - Fnu ~ nu^lpha Vsplines [cubic spline interpolation]: precalcuated cubic spline interpolation

of volume as a function of redshift (for speed!)

LimZ [None or float]: maximum redshift for V/Vmax calculations