CoincMapTable

class igwn_ligolw.lsctables.CoincMapTable(attrs=None)

Bases: Table

Attributes Summary

Methods Summary

applyKeyMapping(mapping)

Used as the second half of the key reassignment algorithm.

Attributes Documentation

how_to_index = {'cem_cei_index': ('coinc_event_id',), 'cem_tn_ei_index': ('table_name', 'event_id')}
tableName = 'coinc_event_map'
validcolumns = {'coinc_event:coinc_event_id': 'int_8s', 'event_id': 'int_8s', 'table_name': 'char_v'}

Methods Documentation

applyKeyMapping(mapping)

Used as the second half of the key reassignment algorithm. Loops over each row in the Table, replacing references to old row keys with the new values from the mapping.