pylunar.helpers module
Module for helper functions.
- pylunar.helpers.mjd_to_date_tuple(mjd: float, round_off: bool = False) tuple[int, ...] | tuple[int, int, int, int, int, float][source]
Convert a Modified Julian date to a UTC time tuple.
- Parameters:
mjd (float) – The Modified Julian Date to convert.
round_off (bool, optional) – Flag to round the seconds.
- Returns:
The UTC time for the MJD.
- Return type:
tuple