redback.get_data.get_prompt_data_from_swift

redback.get_data.get_prompt_data_from_swift(grb: str, bin_size: str = '1s', **kwargs: None) DataFrame[source]

Get prompt emission data from Swift. Creates a directory structure and saves the data. Returns the data, though no further action needs to be taken by the user.

Parameters:
  • grb (str) – Telephone number of GRB, e.g., ‘GRB140903A’ or ‘140903A’ are valid inputs.

  • bin_size (str, optional) – Bin size. Must be from redback.get_data.swift.SwiftDataGetter.SWIFT_PROMPT_BIN_SIZES. (Default value = “1s”)

  • kwargs (None) – Placeholder to prevent TypeErrors.

Returns:

The processed data.

Return type:

pandas.DataFrame