redback.get_data.get_bat_xrt_afterglow_data_from_swift
- redback.get_data.get_bat_xrt_afterglow_data_from_swift(grb: str, data_mode: str, **kwargs: None) DataFrame [source]
Get BAT+XRT afterglow 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.
data_mode (str) – Data mode must be from redback.get_data.swift.SwiftDataGetter.VALID_DATA_MODES.
kwargs (dict) – Placeholder to prevent TypeErrors.
- Returns:
The processed data.
- Return type:
pandas.DataFrame