Skip to content

WindowSet #

Bases: object

__iter__() #

Implement iter(self).

time_index(center=False) #

Returns the time index of this window set.

It uses the last time of each window as the reference or the center of each if center is set to True.

Parameters:

Name Type Description Default
center bool

If True time indexes are centered. Defaults to False.

False

Returns:

Type Description
Iterable

The time index.