Skip to content

Change shift summary plot to look at lockloss by hour

Camilla Compton requested to merge camilla.compton/locklost:add_hour_plot into master

Closes #162 (closed)

The color coding doesn't take into account daylight savings time.

Creates a dictionary to store lockloss counts in using:

    shifts = defaultdict(lambda: defaultdict(int))
    for x in range(3):
        for time in shift_times[config.IFO][x]:
            shifts[shift_names[x]][time] = 0

so dictionary starts as shifts = {'owl': {1: 0, 2: 0, 3: 0, 4: 0 ...}, 'day': {8: 0, 9: 0, ...}}

Example for LHO: Lockloss_by_hour-3

Example for LLO (only using few data points): Lockloss_by_hour-2

Edited by Camilla Compton

Merge request reports