Put window in scope for timeseries