frb.builds.build_path

Top-level module to build or re-build the JSON files for FRB host galaxies

frb.builds.build_path.run(frb_list: list, prior: dict, write: bool = False, show: bool = False, add_skipped: bool = False, override: bool = False)[source]

Main method for running PATH analysis for a list of FRBs

Args:
  • frb_list (list) – List of FRB names from the database

  • prior (dict) – Prior for PATH

  • write (bool, optional) – Write the results to a CSV file. Defaults to False. Uses the –options write_indiv option in the call

  • show (bool, optional) – Show the segmentation image. Defaults to False.

  • add_skipped (bool, optional) – Add skipped FRBs to the table. Defaults to False.

  • override (bool, optional) – Attempt to over-ride errors. Mainly for time-outs of public data. Defaults to False.

Raises:
  • e – [description]

  • ValueError – [description]

Returns:

Table of PATH values and a bit more

Return type:

pandas.DataFrame

frb.builds.build_path.main(options: str = None, frb: str = None)[source]

Driver of the analysis

Args:
  • options (str, optional) – [description]. Defaults to None.

  • frb (str, optional) – FRB name