pytimber.SparkLoggingDB.search_fundamentals
- SparkLoggingDB.search_fundamentals(fundamental: str | Fundamentals, t1: str | datetime | datetime64 | timedelta | int | int64 | float, t2: str | datetime | datetime64 | timedelta | int | int64 | float | None = None) List[str]
Searches for fundamental variables names that match the specified pattern within the specified time range.
- Parameters:
fundamental – A string or a Fundamentals object representing the pattern to search for,
example (for) – “ACCELERATOR:CYCLE%:USER%” Fundamentals(“ACCELERATOR:CYCLE%:USER%”, [“DEST0”])
t1 – The start time of the search range, as str, datetime, datetime64, timedelta, int, int64.
t2 – The end time of the search range, as str, datetime, datetime64, timedelta, int, int64. Defaults to the current time if not specified.
- Returns:
A list of names of the matching fundamental variables.