calc_effz
- zdm.vvmax.calc_effz(s0, DMcosmic0, z0, w0, DM0, freq, tsamp, alpha, ztrials, DMcosmicz)[source]
calculates s=SNR/SNRth that an FRB would have as a function of redshift
Includes luminosity distance and efficiency factors.
- INPUTS:
s0 [float]: measured SNR/SNRthresh of detected FRB DMcosmic0: estimated FRB cosmic dispersion measures [pc cm^-3] z0 [float]: measured FRB redshift w0 [float]: measured FRB width [ms] DM0 [float]: measured FRB total dispersion measures [pc cm^-3] freq [float]: frequency of detection [MHz] tsamp [float]: integration time of data [ms] ztrials [np.ndarray (floats)]: array of redshifts at which to calculate s alpha [float]: frequency dependence of FRBs - Fnu ~ nu^lpha
- Returns:
s as a function of ztrials eff0 [float]: efficiency at detected redshift effz [np.ndarray (float)]: efficiency as a function of ztrials modFz: fluence as a function of redshift
- Return type:
sz