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_colours
matplotlib.colors.LinearSegmentedColormap Colourmap linking floats [0,1] to RGB values.
- local_datetime
datetime.datetime Local time of the observation.
- background_colours
- Returns:
RGBTupleColour corresponding to
local_datetime.