fruitbat.catalogue

fruitbat.catalogue.create_analysis_catalogue(filename='fruitbat_analysis_catalogue', dataset='default', method='Inoue2004', cosmology='Planck18')[source]

Analyses an FRB dataset and produces a CSV file containing the estimated redshift, fluence, energy and luminosity for each FRB in additional to its measured quantities.

Parameters:
  • filename (str, optional) – The output file name. Default: ‘fruitbat_analysis_catalogue’
  • dataset (str, optional) – The path to the FRBCAT dataset. The dataset is required to have the following columns: ‘frb_name’, ‘utc’, ‘telescope’, ‘rop_raj’, ‘rop_decj’, ‘rop_gl’, ‘rop_gb’, ‘rop_bandwidth’, ‘rop_centre_frequency’, ‘rmp_dm’, ‘rmp_width’, ‘rmp_snr’, ‘rmp_flux’. If dataset='default' then the builtin dataset will be used. The builtin dataset was last updated: 2019-04-08. Default: ‘default’
  • method (str, optional) – The dispersion measure - redshift relation to use when calculating the redshift. Avaliable methods: [‘Ioka2003’, ‘Inoue2004’, ‘Zhang2018’]. Default: ‘Inoue2004’
  • cosmology (str, optional) – The cosmology to assume when calculating redshift. Avaliable cosmologies: [‘WMAP5’, ‘WMAP7’, ‘WMAP9’, ‘Planck13’, ‘Planck15’, ‘Planck18’, ‘EAGLE’]. Default: ‘Planck18’

Generates

A csv file with the output of the of the analysis.

fruitbat.catalogue.create_methods_catalogue(filename='fruitbat_methods_catalogue', dataset='default', cosmology='Planck18')[source]

Analyses an FRB dataset and produces a CSV file containing the estimated redshift for each method.

Parameters:
  • filename (str, optional) – The output file name. Default: ‘fruitbat_methods_catalogue’
  • dataset (str, optional) – The path to the FRBCAT dataset. The dataset is required to have the following columns: ‘frb_name’, ‘utc’, ‘telescope’, ‘rop_raj’, ‘rop_decj’, ‘rop_gl’, ‘rop_gb’, ‘rmp_dm’. If dataset='default' then the builtin dataset will be used. The builtin dataset was last updated: 2019-04-08. Default: ‘default’
  • cosmology (str, optional) – The cosmology to assume when calculating redshift. Avaliable cosmologies: [‘WMAP5’, ‘WMAP7’, ‘WMAP9’, ‘Planck13’, ‘Planck15’, ‘Planck18’, ‘EAGLE’]. Default: ‘Planck18’

Generates

A csv file with the output of the of the analysis.

fruitbat.catalogue.read_frb_row(row)[source]

Reads the row of a DataFrame and retrieves the data in the correct format.

Parameters:row (Series) – The series containing FRB data.
Returns:A dictionary containing the FRB paramemters