frb.frb_surveys.chime

CHIME/FRB calculations

frb.frb_surveys.chime.check_frb_mr(outfile: str = 'mr_pdf.png', pdf_file: str = None)[source]

Generate a plot of the host galaxy M_r PDF

Args:
  • outfile (str, optional) – _description_. Defaults to ‘mr_pdf.png’.

  • pdf_file (str, optional) – _description_. Defaults to ‘pdf_Mr.npy’.

frb.frb_surveys.chime.calc_mr_dist(catalog_file: str = None, pdf_file: str = None, figfile: str = None, tblfile: str = 'CHIME_mr_5Jyms.csv', dm_mw_host: float = 200.0)[source]

Generate a distribution of m_r values for bright CHIME/FRBs

Args:
  • catalog_file (str, optional) – Filename for the CHIME/FRB catalog. Defaults to None.

  • pdf_file (str, optional) – Filename for the host galaxy M_r PDF. Defaults to None.

  • figfile (str, optional) – Filename for the output figure. Defaults to None.

  • tblfile (str, optional) – Filename for the output table. Defaults to ‘CHIME_mr_5Jyms.csv’

  • dm_mw_host (float, optional) – Aveage DM contribution from the Milky Way and Host. Defaults to 200.