crowsetta.formats.seq.textgrid.classes.IntervalTier#

class crowsetta.formats.seq.textgrid.classes.IntervalTier(name: str, xmin: float, xmax: float, intervals: list[Interval])[source]#

Bases: object

Class representing an interval tier in a Praat TextGrid.

As described in the Praat documentation[1]_:

An interval tier is a connected sequence of labelled intervals, with boundaries in between.

name#

A name given to the interval tier, e.g. “phonemes”.

Type:

str

xmin#

Start time of interval tier, in seconds.

Type:

float

xmax#

End time of interval tier, in seconds.

Type:

float

intervals#

A list of Interval instances.

Type:

list

See also

Interval

References

__init__(name: str, xmin: float, xmax: float, intervals: list[Interval]) None#

Method generated by attrs for class IntervalTier.

Methods

__init__(name, xmin, xmax, intervals)

Method generated by attrs for class IntervalTier.

Attributes

name

xmin

xmax

intervals