aidapy.aidafunc.event_search module¶
-
aidapy.aidafunc.event_search.
event_search
(settings, start_time=None, end_time=None, plot=False, to_file=False)[source]¶ Threshold-based search for events of specific scientific processes
- Parameters
settings (dict) – Dictionnary containing the search parameters
start_time (datetime or Time) – Start time of the search
end_time (datetime or Time) – End time of the search
plot (bool, default False) – Whether to plot the found events
to_file (bool, default False) – Whether to write a file containing the list of found events
- Returns
data (xarray.Dataset) – Dataset of products considered in the settings
events (list) – List of events fulfilling the input criteria
-
aidapy.aidafunc.event_search.
plot_dataset
(ds, events)[source]¶ Line plot of considered data.
- Parameters
ds (xarray.Dataset) – Dataset containing the plasma data to plot
events (list) – List of events found using the event_search function