get_timed_background_colour#

skysim.populate.get_timed_background_colour(background_colours, local_datetime)[source]#

Get the background colour for the image based on the colour-time mapping.

Parameters:
background_coloursmatplotlib.colors.LinearSegmentedColormap

Colourmap linking floats [0,1] to RGB values.

local_datetimedatetime.datetime

Local time of the observation.

Returns:
RGBTuple

Colour corresponding to local_datetime.