firecrown.data_functions.ensure_no_overlaps

firecrown.data_functions.ensure_no_overlaps#

firecrown.data_functions.ensure_no_overlaps(measurement, index_set, index_sets, other_measurements)[source]#

Check if the indices of the measurement-space two-point functions overlap.

Raises a ValueError if they do.

Parameters:
  • measurement (str) – The TwoPointHarmonic to check.

  • index_set (set[int]) – The indices of the current TwoPointHarmonic.

  • index_sets (list[set[int]]) – The indices of the other TwoPointHarmonics.

  • other_measurements (list[str]) – The other TwoPointHarmonics.

Return type:

None