xarray.Dataset.dts.matching_sections

Dataset.dts.matching_sections()

Define calibration sections.

Each matching_section requires a reference temperature time series, such as the temperature measured by an external temperature sensor. They should already be part of the DataStore object.

Please look at the example notebook on matching_sections if you encounter difficulties.

Parameters:
  • matching_sections (List[Tuple[slice, slice, bool]], optional) – Provide a list of tuples. A tuple per matching section. Each tuple has three items. The first two items are the slices of the sections that are matched. The third item is a boolean and is True if the two sections have a reverse direction (“J-configuration”).

  • Returns

  • ——–

  • dict – A dictionary with the names of the reference temperature time series as keys and lists of slice objects as values.