firecrown.data_functions.check_consistence

firecrown.data_functions.check_consistence#

firecrown.data_functions.check_consistence(measurements, is_type_func, type_name)[source]#

Check the indices of the two-point functions.

Make sure the indices of the two-point functions are consistent.

Parameters:
  • measurements (Sequence[TwoPointMeasurement]) – The measurements to check.

  • is_type_func (Callable[[TwoPointMeasurement], bool]) – A function to verify the type of the measurements.

  • type_name (str) – The type of the measurements.

Return type:

None