pytimber.LoggingDB.get_lhc_fills_by_time

LoggingDB.get_lhc_fills_by_time(from_time: Union[str, datetime, datetime64, timedelta, int, int64], to_time: Union[str, datetime, datetime64, timedelta, int, int64], beam_modes: Optional[Union[str, Iterable[str]]] = None) List[Dict[str, Any]]

Returns a list of LHC fills data that occurred within the specified time range.

Parameters:
  • from_time – The start time of the period of interest. Can be a string, datetime object, datetime64 object or int.

  • to_time – The end time of the period of interest. Can be a string, datetime object, datetime64 object or int.

  • beam_modes – A pattern or list of patterns to filter the beam modes to be included in the result. If None, all beam modes are included. Default is None.

Returns:

A list of dictionaries representing the LHC fills data that occurred within the specified time range. Each dictionary contains the following keys: fillNumber, startTime, endTime, beamModes (with mode, startTime and endTime).