seismometer.seismogram.Seismogram.load_data¶
- Seismogram.load_data(*, predictions=None, events=None, reset=False)¶
Loads the seismogram data.
Uses the passed in frames if they are specified, otherwise uses configuration to load data. If data is already loaded, does not change state unless reset is true.
- Parameters:
predictions (pd.DataFrame, optional) – The fully prepared predictions dataframe, by default None. Uses this when specified, otherwise loads based on configuration.
events (pd.DataFrame, optional) – The pre-loaded events dataframe, by default None. Uses this when specified, otherwise loads based on configuration.
reset (bool, optional) – Flag when set to true will overwrite existing dataframe, by default False