Talk:Sampling (signal processing)
This is the talk page for discussing improvements to the Sampling (signal processing) article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1Auto-archiving period: 12 months ![]() |
![]() | Professional sound production B‑class High‑importance | |||||||||
|
![]() | Media Unassessed | ||||||||||||||||
|
Module:WikiProject banner/doc
This page is a soft redirect.
![]() | This template has been replaced by Module:WikiProject banner |
![]() | The contents of the Ideal sampler page were merged into Sampling (signal processing) on 2012-05-10. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
![]() | The contents of the Sampling rate page were merged into Sampling (signal processing) on 2014-03-14. For the contribution history and old versions of the redirected page, please see its history; for the discussion at that location, see its talk page. |
Dirac comb?
When I said that multiplying by a Dirac comb didn't help in the context where it had been added, I was reverted and told I was wrong, here. The trouble is that saying multiplication by a Dirac comb doesn't really explain how to the get the sample values any better than the text that was already there. The link to the article also didn't lead to anything about Dirac combs in sampling, just in reconstruction. I do understand that in multiplying by a Dirac comb one makes a signal with a periodic Fourier transform equivalent to the DTFT of the sample sequence, but I don't see otherwise why it helps to introduce it at this point. Comments? Dicklyon (talk) 05:06, 28 October 2011 (UTC)
- My view is that the dirac comb has to be mentioned in the article since it's notable in this context and central to sampling theory, and I was surprised when you took it out, and I'm even more surprised that you've raised it on the talk page.Teapeat (talk) 05:17, 28 October 2011 (UTC)
- I think that's what the talk page is for. I don't mind it being mentioned, but where you put it raises more questions than it answers. Not sure why you see it as "central" to sampling theory. Did Shannon use it in his theorem, or his proof of it? Not that I recall, but I'd have to review it. Dicklyon (talk) 05:28, 28 October 2011 (UTC)
- Here's a book that explains sampling by multiplying by a train of impulse functions. It includes the important step, missing from your description, that "the areas of the impulse functions are equal to the samples". And compared to such explanations in books, there are about an order of magnitude more books that explain sampling without this artifice. And it doesn't explain why they do it this way, or what advantage they get beyond just saying take the values at times nT as the samples. I think you need to convince us there's some value, and construct a meaningful explanation, before we can include it. Dicklyon (talk) 05:39, 28 October 2011 (UTC)
- I would ask you to convince us that there's some value from removing it from the theory section given that you've just explained that it's a common and important way to approach the theory.Teapeat (talk) 16:45, 28 October 2011 (UTC)
- I have argued that it's neither common nor important, since it doesn't show up in 90% of the sources. But it can be included if done carefully. Dicklyon (talk) 22:03, 28 October 2011 (UTC)
- I don't agree with Teapeats changes, but with the intention. It is a bad idea to define the sampling process via a tempered distribution. However, in analyzing the sampling process via Fourier transforms, it can be convenient, but not necessary, to represent the sampling operation via the Dirac comb. If I remember correctly, this is now the main approach in representing the proof of the sampling theorem.--LutzL (talk) 12:39, 28 October 2011 (UTC)
- This is a section called 'theory', and we're supposed to be summarising the theory behind it. If it really is the main approach (and it is), then we should be summarising it in the most broad way, mention the comb and then leave the mathematical heavy lifting off in other articles. At the moment the 'theory' section has essentially no theory in it.Teapeat (talk) 16:45, 28 October 2011 (UTC)
- Even if it's the main approach to proving the sampling theorem, it is not the main approach to explaining sampling. If we make those things more clear, I'm sure we can find a place for it. Dicklyon (talk) 22:03, 28 October 2011 (UTC)
- Frankly, I estimate that the article is about 30% too short and 90% unreferenced. I'm surprised that anybody is taking anything out at this stage.Teapeat (talk) 16:45, 28 October 2011 (UTC)
- I'm sort of a deletionist. When an article is in need of improvement, I generally don't believe that more unsourced stuff, badly integrated, is helpful. Dicklyon (talk) 22:03, 28 October 2011 (UTC)
- That works well for very good articles, but otherwise that's not really the way Wikipedia works; otherwise articles cannot get off the ground. Sorry, I have a rule about this. The fact that you were able to reference the material you removed to a reliable source gives me good reason to be offended. When people that know better repeatedly remove true material from an article that I've added, I lose trust in the people that do that, and I walk away from that article and don't come back. I don't mind collaborating with people, but I won't collaborate with people that revert me like that.Teapeat (talk) 00:24, 29 October 2011 (UTC)
- That's fair. Dicklyon (talk) 03:22, 29 October 2011 (UTC)
- That works well for very good articles, but otherwise that's not really the way Wikipedia works; otherwise articles cannot get off the ground. Sorry, I have a rule about this. The fact that you were able to reference the material you removed to a reliable source gives me good reason to be offended. When people that know better repeatedly remove true material from an article that I've added, I lose trust in the people that do that, and I walk away from that article and don't come back. I don't mind collaborating with people, but I won't collaborate with people that revert me like that.Teapeat (talk) 00:24, 29 October 2011 (UTC)
not about FFT
I didn't understand the point of this edit and the summary didn't help, as there's nothing there about FFTs. Your new version used Nyquist frequency without defining it, and the condition " band-limited to the Nyquist frequency" is pure jargon. If you'd like a more concise version, we can work on that. Dicklyon (talk) 21:47, 27 December 2011 (UTC)
- Sorry, the bit I removed discussed Fourier transform. I think that losing it improves readability. This section is supported by a {{See also}} to Nyquist–Shannon sampling theorem so doesn't need to cover all the gory details. Approaching sampling theory from the frequency domain is arguably not the most accessible route. I agree that "band-limited to the Nyquist frequency" is jargon and don't mind if we spell this out a bit better. In my defense, I think it is an accurate description and any reader confused by the terminology is a click away from definitions of the terms. I have restored my edits because I believe it is an improvement over "A sufficient condition is that the non-zero portion of its Fourier transform, S(f), be contained within a known frequency region of length fs. When that interval is [-fs/2, fs/2], the applicable reconstruction formula is the Whittaker–Shannon interpolation formula." --Kvng (talk) 22:35, 27 December 2011 (UTC)
- Yes, the Fourier transform is critical to the concept of perfect reconstuction from sampling; the FFT, on the other hand, is completely irrelevant, as it's just a fast algorithm for evaluating a Discrete Fourier transform, which is in no way helpful here. As for readability, that's served best when you don't introduce and use novel terms without definition. The gory details are really fairly straightforward, and it was kind of nice that they were even correct here. A better solution would probably just be to omit the sentence about reconstruction. Dicklyon (talk) 22:47, 27 December 2011 (UTC)
Article wrong according to hatcravat
https://news.ycombinator.com/item?id=5581806
I don't know where to start, this is not my domain. --Ysangkok (talk) 15:57, 21 April 2013 (UTC)
- I would just leave it alone. This article is factual enough, there are no glaring errors that I can see. There are some analog holdover folks that think that any digitization compromises quality. I think that they are as correct as the monster cable advocates. I dunno. 70.109.185.57 (talk) 16:11, 21 April 2013 (UTC)
- Are you sure you read the post by hatcravat? I only linked iso8859-1's post so that you'd see the context. --Ysangkok (talk) 18:16, 22 April 2013 (UTC)
I don't see anything in that discussion that even suggests the article is wrong. Where hatcravat says "This is wrong." he is referring to the original complainer. He's right that he's wrong. Dicklyon (talk) 04:23, 23 April 2013 (UTC)
Theory: no Hz. f_s alsready contains the unit
Two recent edit labels, both attempting to justify the same change:
- Theory: no Hz. f_s already contains the unit (User:Kondephy)
- Neither T nor f_s are dimensionless numbers. And they *may* be expressed with units other than seconds or Hz
are saying two very different things.
The first one touches on a minor issue that is real, but usually glossed over in the textbooks. However the edit label incorrectly identifies that issue, and the "fix" is inadequate. The second one is of course true, but entirely misses the point.
The issue is that the June 5 version of the article makes these statements:
- let s(t) be a continuous function (or "signal") to be sampled, and let sampling be performed by measuring the value of the continuous function every T seconds
- The sampling frequency or sampling rate, fs, is defined as the number of samples obtained in one second (samples per second), thus fs = 1/T.
- That fidelity is reduced when s(t) contains frequency components higher than fs/2 Hz, which is known as the Nyquist frequency of the sampler.
The problem is that the quantity "1" in "1/T" obviously has units of samples, and the quantity "1/2" in fs/2 has units of cycles/sample. Those statements are what's lacking from the article (as they are from most texts). One remedy is to simply insert them without any reason given, but that's like magic. This article is not a proper place for the whole story, so ideally it would WikiLink to an article that is. And ideally that would be Nyquist frequency, but it suffers from the same deficiency. The closest thing we seem have at the moment is Nyquist–Shannon_sampling_theorem#Aliasing, and this formula in particular:
where the units of and are again in Hz and samples/sec, and so the integer k must have units of cycles/sample. The Nyquist frequency corresponds to k=½, because that is the midpoint between the k=0 image and its first alias.
It seems like too much information for this article, which is why I haven't done it. But in my edit label I invited User:Kondephy to take it on, in case he/she feels strongly about it.
--Bob K (talk) 12:06, 13 June 2014 (UTC)
- No, Bob. You made it worse. You seem to think (or you seem to want everyone else to think) that seconds and Hz are the only possible units to express time and frequency in. They're not. fs can be expressed in many other units, like kHz or MHz. Maybe even someday, we'll express it in GHz. But it doesn't matter. fs is not a dimensionless quantity, it is a dimensional physical quantity. Now normally we may want T and f to have reciprocal units (like ms and kHz), but they need not be. You can still have T in ms and f in Hz and their product is still a dimensionless value and it's the same dimensionless number despite the choice of units (as long as the choice of units fall within the same dimension of quantity).
- As you have many times before, you made the page worse, but you are more tenacious than I so your confusing and incorrect edit will survive until someone else comes along.
- There is so much wrong with nearly every point you make. E.g. cycles/sample doesn't have units. It's dimensionless. Just a number.
- And statements like "The problem is that the quantity "1" in "1/T" obviously has units of samples, and the quantity "1/2" in fs/2 has units of cycles/sample" are so asinine that they deserves no other comment.
- Have you ever published in the literature? A textbook or a technical paper that was refereed and edited by someone else? Have you ever written a decently mathematical rigorous treatment of something in, say, electrical engineering? No one can tell (but we might guess the answer is no) by your edits here at Wikipedia, and I have seen your edits screw up pages here for better than 6 years.
- I'm 58 years old myself, I imagine that you're even older and stuck in your ways, but it's a shame that fallacious notions misunderstood and doggedly held by old engineers whose ways are atrophied and cannot change, that such confuses other people. Bob, you need to clear your own ignorance and misconceptions before you have hope of doing that for others.
- Sheesh.
- 70.109.184.247 (talk) 17:44, 13 June 2014 (UTC)
I'm sorry you feel that way. I don't know where this discussion will go over time, but I don't expect it will be time well spent. So all I will say for now is that your whole premise, which is: "You seem to think (or you seem to want everyone else to think) that seconds and Hz are the only possible units to express time and frequency in." is incorrect. The article chooses those units to illustrate its points. I quote:
For functions that vary with time, let s(t) be a continuous function (or "signal") to be sampled, and let sampling be performed by measuring the value of the continuous function every T seconds,
It is certainly possible to rewrite the article in more generalized terms, but that is not what you did. You kept the definition of T and then just ignored it.
--Bob K (talk) 02:05, 14 June 2014 (UTC)
Some reorganization
I propose to merge Discrete-time signal into this article and also the material in Digital_signal#Discussion that was recently split from Discrete-time signal by Fgnievinski. This will put description of the signal that results from sampling in context of the process that creates it. Covering Discrete-time signal comprehensively will result in a lot of unnecessary overlap with this article (Sampling (signal processing)). Removing Digital_signal#Discussion from that article will allow Digital signal to be about one topic - the pulse train signals used for digital logic. Digital signal is now part disambiguation and part article which is not good. ~Kvng (talk) 15:14, 25 July 2015 (UTC)
- I would oppose such a merge. There are other ways to get discrete-time signals than by sampling continuous-time signals. These are distinct topics. 73.158.249.163 (talk) 03:16, 26 July 2015 (UTC)
- Can someone give me an example or two of the other ways to get discrete-time signals. Discrete-time signal lists two but they are both sampling. ~Kvng (talk) 13:18, 28 July 2015 (UTC)
- I agree with relocating Digital_signal#Discussion to allow that article to focus on digital logic. But I also prefer to keep it physically separate from this article, connected by a WikiLink. A more appropriate location is Quantization (signal processing), and I have attempted that merge. But I have not yet removed anything from Digital_signal.
- Discrete-time signal is more like a handy definition than an article, which is very useful (see WhatLinksHere). I think that list is sufficient justification for the article's independence, and I don't think it needs to grow and cover the topic comprehensively, because it can WikiLink back here (and elsewhere) for that. Also, the Discrete-time_signal#Acquisition section, which makes a valid distinction between sampling a continuous function vs observing an inherently discrete process, doesn't really need to be here. I think it is better off encapsulated where it is.
- --Bob K (talk) 17:46, 29 July 2015 (UTC)
- Do you have a suggested destination for relocating Digital_signal#Discussion?
- I've done a bit of cleanup in this topic area and discovered another overlapping article: Discrete time and continuous time. Any opinions about this material? ~Kvng (talk) 21:01, 29 July 2015 (UTC)
- My suggestion was Quantization (signal processing), and (as I said above) I have already done it. It is not just a cut & paste merge. It is a blend, in the interest of coherence.
- I just took a quick look at Discrete time and continuous time. IMO, it's not very interesting. I would probably support a movement to delete it. But if others find it useful, I'm happy to just leave it alone.
- --Bob K (talk) 16:12, 30 July 2015 (UTC)
A related topic is that the What Links Here list for Digital_signal has 309 entries, and oddly, Digital Signal Processing is not one of them. Perhaps the name "Digital Signal" is a misnomer. Would "Boolean signal" or "Data signal" be more appropriate? It is hard to tell what those 309 links are trying to reach, because Digital_signal is about two very different topics. If we purify it, by removing the sampling/quantizing parts, how many of those 309 links will lose the content they wanted?
--Bob K (talk) 15:54, 1 August 2015 (UTC)