convert_to_time_segment_sequence

PulseList.convert_to_time_segment_sequence(start=None, end=None)

Convert the to TimeSegmentSequence.

Parameters:
  • start (float | None) – Start time of the inspected time interval (defaults to the start of the first pulse).

  • end (float | None) – End time of the inspected time interval (defaults to the end of the last pulse).

Returns:

A sequence of time segments, each containing pulses that overlap with the respective time interval.

Return type:

TimeSegmentSequence