redback.get_data.getter.GRBDataGetter
- class redback.get_data.getter.GRBDataGetter(grb: str, transient_type: str)[source]
Bases:
DataGetter
- __call__(**kwargs)
Call self as a function.
Methods
__init__
(grb, transient_type)get_data
()Downloads the raw data and produces a processed .csv file.
Attributes
The GRB number with prepended 'GRB'.
The GRB number without prepended 'GRB'.
Checks if the transient type is valid when setting.
- get_data() DataFrame
Downloads the raw data and produces a processed .csv file.
- Returns:
The processed data
- Return type:
pandas.DataFrame
- property grb: str
The GRB number with prepended ‘GRB’. :rtype: str
- Type:
return
- property stripped_grb: str
The GRB number without prepended ‘GRB’. :rtype: str
- Type:
return
- property transient_type: str
Checks if the transient type is valid when setting.
- Returns:
The transient type.
- Return type:
str