igwn_ligolw.utils.time_slide Module

Functions

get_time_slide_id(xmldoc, time_slide[, ...])

Return the time_slide_id corresponding to the offset vector described by time_slide, a dictionary of instrument/offset pairs.

time_slide_list_merge(slides1, slides2)

Merges two lists of offset dictionaries into a single list with no duplicate (equivalent) time slides.

time_slides_vacuum(time_slides[, verbose])

Given a dictionary mapping time slide IDs to instrument-->offset mappings, for example as returned by the as_dict() method of the TimeSlideTable class in igwn_ligolw.lsctables, construct and return a mapping indicating time slide equivalences.