orca.utils.datetimeutils ======================== .. py:module:: orca.utils.datetimeutils .. autoapi-nested-parse:: Date and time utilities for OVRO-LWA data processing. Provides timestamp manipulation functions and defines the standard integration time for Stage III data products. Attributes ---------- .. autoapisummary:: orca.utils.datetimeutils.STAGE_III_INTEGRATION_TIME Functions --------- .. autoapisummary:: orca.utils.datetimeutils.find_closest Module Contents --------------- .. py:data:: STAGE_III_INTEGRATION_TIME .. py:function:: find_closest(pivot: datetime.datetime, date_time_list: Iterable) -> datetime.datetime Find closest datetime to pivot in the list of date time. :param pivot: The datetime object to find the closest one to. :param date_time_list: The list of datetime objects. Returns: The datetime in the list that's closest to pivot.