generate_utc_times

pywwt.windows.generate_utc_times(num_steps, step_size, start_time=None)[source]

Generate a series of equally linearly spaced times in UTC.

Parameters
num_stepsint

The number of times to generate.

step_sizedict

A dictionary corresponding to the step size between the times, with keys referring to the unit (seconds, minutes, days, etc.) and the values of the step in that unit.

start_datestr, optional

A string corresponding to a time in the local time zone at which to start the timesteps. Default: the current system time. Acceptable formats (month/day/year): "1/1/2010 11:00:00 PM", "1/1/2010 11:30 AM", "1/1/2010 11 am", "1/1/2000", "1/2000",

Returns
timeslist

A list of formatted date/time strings in UTC readable by WorldWide Telescope.