redback.get_data.get_lasair_data
- redback.get_data.get_lasair_data(transient: str, transient_type: str, **kwargs: None) DataFrame [source]
Catch all data getting function for Lasair data. Creates a directory structure and saves the data. Returns the data, though no further action needs to be taken by the user.
- Parameters:
transient (str) – The name of the transient, e.g. ‘ZTF19aagqkrq’.
transient_type (str) – Type of the transient. Must be from redback.get_data.lasair.LasairDataGetter.VALID_TRANSIENT_TYPES.
kwargs (None) – Placeholder to prevent TypeErrors.
- Returns:
The processed data.
- Return type:
pandas.DataFrame