frb.scripts.r_vs_dm
Estimate magnitude range for a host FRB given DM
- frb.scripts.r_vs_dm.grab_zlim()[source]
Computes the minimum and maximum FRB redshift limits within a confidence interval from DM
Returns z_min, z_max
- frb.scripts.r_vs_dm.r_vs_dm(outfile='fig_r_vs_z.png', flipy=True, known_hosts=False)[source]
Plots the intersection of galaxy apparent magnitude evolution with redshift and redshift range of the FRB and saves it.
- Args:
outfile (str) – name of the output file. Default “fig_r_vs_z.png”
flipy (bool) – flip order of y-axis (mag) values. Default True
known_hosts (bool) – wish to overplot m_r - z for known FRB hosts. Default False