hours_range_from¶
- gdt.core.time.hours_range_from(hours: int, *, from_time=<Time object: scale='utc' format='datetime' value=2026-06-01 23:58:20.053794>)[source]¶
Returns a collection of hours starting from the given hours but not including the current hour of from time.
- Parameters:
hours (int) – Number of hours from the given
from_timefrom_time (astropy.time.Time, optional) – The time from which the hours range is based (defaults to current time).
- Returns:
(list of astropy.time.Time)