Questions tagged [windowing]

In signal processing windowing allows to work on overlapping segments of the signal.

224 questions
2
votes
0 answers

Qt Windowing System?

I just started using QWS. I am looking for more details about Qt Windowing System(QWS) but the resources are really few. I have read this one http://www.slideshare.net/qtbynokia/qt-on-real-time-operating-systems but I think it only covered few…
john
  • 97
  • 1
  • 8
2
votes
1 answer

How to select last NON-NULL values of each column in a Hive partition

I have a hive-table containing transactional data of the form (highly simplified) id Status Value UpdatedTimeStamp 515 Open 1 2014-05-08T11:43:27 516 Open NULL 2014-05-08T11:43:27 515 Answered 1 2014-05-09T11:43:27 515 Closed …
Prashasti
  • 115
  • 1
  • 2
  • 9
2
votes
1 answer

Is a control tree cached after the first call to FindWindowEx/EnumChildWindows?

I noticed that if you call FindWindowEx or EnumChildWindows against a hWnd that belongs to a window that's not in the foreground, i.e. minimized, then they don't report any children. On the other hand if I first call SetForegroundWindow against the…
user90843
2
votes
1 answer

Calculate FFT with windowing displacement and bandpass

I have a list with 1000 sensor reading values (sampling rate = 10Hz): sensor = [100,100,200,...,100] I need to get the spectral analysis of subsets of this list with a windowing function (i.e a Kaiser window). So, I want to get a list where the…
kairos
  • 524
  • 4
  • 16
2
votes
1 answer

Python: High Pass FIR Filter by Windowing

I'd like to create a basic High Pass FIR Filter by Windowing within Python. My code is below and is intentionally idiomatic - I'm aware you can (most likely) complete this with a single line of code in Python but I'm learning. I have used a basic a…
Harry Lime
  • 2,167
  • 8
  • 31
  • 53
2
votes
1 answer

SQL Windowing functions: does the order of appearance for columns matter in partition by?

I'm trying to better understand the analytical functions in SQL. Is my understanding correct that the windowing function will be applied to every unique combination of fields that appear in "partition by"? If I were to partition my result-set by…
x.farhad
  • 23
  • 3
1
vote
1 answer

Matlab: Barcode scanner

I'm trying to make a barcode scanner in matlab. In a barcode every white bar is 1 and every black bar is 0. i'm trying to get these bars . But this is the problem: as you can see the bars are not the same width one time they are 3 pixels ... then 2…
Olivier_s_j
  • 5,490
  • 24
  • 80
  • 126
1
vote
2 answers

SQL Calculate accumulated total but filter out certain rows

I have a table that looks like this: ID Date Transition 45 01/Jan/09 1 23 08/Jan/09 1 12 02/Feb/09 1 77 14/Feb/09 0 39 20/Feb/09 1 33 02/Mar/09 1 I would like a query that returns a running total of the "somedate" column, BUT I…
1
vote
0 answers

Kafka Windowing Streams Junk Data With Windowed Ktable Serdes

I am working on a Kafka Streaming Dashboard where I need count of daily data of last 24 hours stream.groupByKey() .windowedBy(TimeWindows.of(Duration.ofHours(24)).grace(Duration.ofMinutes(5))) .aggregate(() -> "0",(key, value,…
1
vote
0 answers

My maui app throws exception if I open second window and close it then attempt to displayalert

in my app adding new client will display alert that tells the user that the new client is added successfully and it works fine but after opening a second window (displays a client info) and closing it attempting to add new client throws an…
1
vote
2 answers

Restart windowing for loop

I have a list of strings, and I want to window them 'n' at a time. The window should re-start every time it encounters a certain string. This is the code I used: i = 0 a = ['Abel', 'Bea', 'Clare', 'Abel', 'Ben', 'Constance', 'Dave', 'Emmet', 'Abel',…
zazzylele
  • 85
  • 5
1
vote
1 answer

Oracle SQL: sum( case when then quantity else 0 END) OVER (partition by...) = can't get right GROUP BY statement

I'm trying to select several different sums, one of them being OVER (Partition by column_also_in_select_plan). However I cannot seem to ever be able to get the GROUP BY statement right. Example: Select 1, 2, 3, sum(4) over (partition by 3), sum(case…
PEO
  • 11
  • 1
  • 2
1
vote
1 answer

Is there a way to collect the data and inspect in one pass using groupby function

Sample Data of table_1 Have this Query that returns select customer, SUM(CASE WHEN activity IN ( 'a','b') THEN 1 ELSE 0 END) AS num_activity_a_or_b from table_1 group by customer Results: Want to extend this to return one more column if for a…
RBon
  • 21
  • 4
1
vote
0 answers

spark structured streaming pyspark, applyInPandas being called immediately and not waiting for window to expire

spark structured streaming is not allowing Window function to perform lag,lead operations. So I am trying to use applyInpandas function. I have a tumbling window of 5 minutes with watermark set to 1 minute in append mode.I need to wait till window…
1
vote
1 answer

Windowing functions cumulative aggregation

I am calculating cumulative by summing some columns. The code is working. But I want to include an extra variable for the first line only. Then it miscalculates. What I want to do in line 1: SUM(@devir + netTakas - ToplamCikis + YeniKrediKullanımı -…