Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable subframe sampling rates for FFT Widget #21

Open
jackiryan opened this issue Mar 1, 2019 · 1 comment
Open

Enable subframe sampling rates for FFT Widget #21

jackiryan opened this issue Mar 1, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jackiryan
Copy link
Collaborator

jackiryan commented Mar 1, 2019

Legacy LiveView computed the FFT at 4 different sampling rates. The image can be sampled at a rate "faster than the frame rate" by selecting areas of pixels and treating them like a time sequence. This is because the data in the camera link (or similar serial) channel is sent at a constant clock frequency. That is, for a 10 MHz clock rate camera link signal, each pixel represents a sample spaced 0.1 us apart.

In this way, selecting one column of the image samples at a rate of the clock rate divided by the number of columns. For example, in the previous example with a clock rate of 10 MHz, using a frame geometry with a width of 640, we get a sampling rate of 15.6 kHz when treating a single column of the image as a frame. Note that this does not work for selecting rows since the serial channel sends items in the row sequentially, at least within a single tap.

Possibly incorporate FFTW library to get this to work.

@jackiryan jackiryan added the enhancement New feature or request label Mar 1, 2019
@jackiryan jackiryan added this to To do in Summer tasks Mar 1, 2019
@jackiryan jackiryan added this to the Summer 2019 milestone Mar 1, 2019
@jackiryan jackiryan moved this from To do to In progress in Summer tasks Jul 25, 2019
@jackiryan jackiryan moved this from In progress to Needs review in Summer tasks Aug 20, 2019
@jackiryan
Copy link
Collaborator Author

This needs to be deferred as it has issues but is low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants