csep.utils.time_utils.timedelta_from_years

csep.utils.time_utils.timedelta_from_years(time_in_years)[source]

Returns python datetime.timedelta object based on the astronomical year in seconds.

Parameters:

time_in_years – positive fraction of years 0 <= time_in_years