In signal processing windowing allows to work on overlapping segments of the signal.
Questions tagged [windowing]
224 questions
2
votes
1 answer
What is the proper way of increasing the watermark when using a joinFunction in Flink?
I have two streams, stream A and stream B. Both streams contain the same type of event which has an ID and a timestamp. For now, all i want the flink job to do is join the events that have the same ID inside of a window of 1 minute. The watermark is…

Akula
- 59
- 7
2
votes
1 answer
How to create a rolling window of fixed length in pandas?
Given a timeseries, how do I create a rolling window of some interval such that it starts with that same interval, instead of expanding from size 1. As seen here:
import pandas as pd
from datetime import timedelta
# 'per' x 1 minute (1T) intervals…

hazrmard
- 3,397
- 4
- 22
- 36
2
votes
2 answers
How to set window_size for dtw-python?
I am trying out the different windowing options in dtw package detailed on this page: https://dynamictimewarping.github.io/py-api/html/api/dtw.dtw.html, hoping to see if I can reduce the time needed to run the dtw package.
When I entered
alignment =…

ninichang
- 21
- 1
2
votes
1 answer
How to programatically hinder Windows from playing "Default Beep" sound when user clicks on disabled window (disabled via EnableWindow(hwnd, FALSE))?
When a window is disabled via EnableWindow(hwnd, FALSE), and the user clicks on it, then the "Default Beep" sound gets played. I don't want this to happen. How can I disable this behavior programatically for the current Process in C/C++ with Win32…

user3756504
- 127
- 6
2
votes
1 answer
Adding React-Window to Material-UI Enhanced Table: type is invalid -- expected a string or a class/function but got: array
I'm trying to add the windowing feature (from react-table virtualized-rows https://codesandbox.io/s/github/tannerlinsley/react-table/tree/master/examples/virtualized-rows?file=/src/App.js:2175-2192)
to the Material-UI Enhanced Table (because I need…

user2298581
- 532
- 3
- 11
- 37
2
votes
1 answer
Apache beam WithTimestamps: Output timestamps must be no earlier than timestamp of current input
I am trying to window data from google cloud pubsub stream at a 10s frequency, however I get this error:
java.lang.IllegalArgumentException: Cannot output with timestamp 2019-07-20T12:13:04.875Z. Output timestamps must be no earlier than the…

Kyle Durnam
- 87
- 6
2
votes
0 answers
Apache beam windowing weird behaviour
I have developed a sample beam pipeline in Python, that receives some data from a pubsub subscription (the data element is the name of a person with it's age, the objective is to count how many persons over certain age are inside a fixedwindow).
The…

Carlos
- 153
- 3
- 9
2
votes
3 answers
Perform FFT for every second on wav file with Python
I have code which performs FFT on a 5 second wav file. I'm not good at Python so I wrote very basic code which splits the wav file and calculates FFT for every second. Is there any more convenient way to do this?
I'm also not sure if they show every…

Selim Turkoglu
- 149
- 1
- 2
- 11
2
votes
2 answers
Calculating change in column over groups and extracting based on criteria
I am a beginner to coding in U-SQL/C#. I am stuck in a place during windowing/aggregation.
My Data looks like
Name Date OrderNo Type Balance
one 2018-06-25T04:55:44.0020987Z 1 Drink 15
one…

Interested_Programmer
- 322
- 1
- 3
- 14
2
votes
1 answer
Watermark trigger in Onyx does not fire
I have an Onyx stream of segments that are messages with a timestamp (coming in in chronological order). Say, they look like this:
{:id 1 :timestamp "2018-09-04 13:15:42" :msg "Hello, World!"}
{:id 2 :timestamp "2018-09-04 21:32:03" :msg "Lorem…

Lutz Büch
- 343
- 4
- 12
2
votes
0 answers
How to create WindowSpec to count rows per type before and after the current row?
I have had to implement an event centric Windowing batch, with a varying number of event names.
The rule is as follows, for a certain event, every time it occurs, we sum all other events according to certain time windows.
action1 00:01
action2…

Gepsens
- 673
- 4
- 14
2
votes
0 answers
Apache Beam - Windowing for ReadFromText
How can I configure Apache Beam's ReadFromText to use windowing, as opposed to the default global windowing (in Python)?
I'm trying to ingest a 10gb file, and processing the large number of records in one big window is stalling my pipeline's…

user1414202
- 440
- 1
- 5
- 20
2
votes
2 answers
react-virtualized - InfiniteLoader with Masonry does not work
I am using react-virtualized's example on Masonry (here)
And it works. But now I'm trying to add the InfiniteLoader to the example but I cannot get it to work.
Things I've tried:
Not using WindowScroller and defining my own height
Initially I…

João Cunha
- 9,929
- 4
- 40
- 61
2
votes
0 answers
find 3x3 window of an image and replace average with central pixel for whole image
I just want to take 3x3 neighbour window of an image and replace the average with central pixel and calculate mean, variance,entropy of this to make a feature vector in c++ opencv am I doing something wrong please suggest i need these features for…

ashish
- 309
- 2
- 6
2
votes
1 answer
TSQL identifying first record in noncontiguous sequences
I tried for 1 1/2 shifts to solve my problem set-based but couldn't quite get there. Solved it in about 15 mins with cursor and it runs fast enough.
But I wonder if there is a way to do it set-based.
We have records of employee status changes…

user3389773
- 21
- 2