pytimber.LoggingDB.search_fundamentals

LoggingDB.search_fundamentals(fundamental: Union[str, Fundamentals], t1: Union[str, datetime, datetime64, timedelta, int, int64, float], t2: Optional[Union[str, datetime, datetime64, timedelta, int, int64, float]] = 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.