spacetelescope / catkit2

Package for controlling testbed hardware.
https://spacetelescope.github.io/catkit2/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Create a Fourier Transform Viewer with plots #231

Closed erinpougheon closed 1 month ago

erinpougheon commented 2 months ago

Fixes #230.

erinpougheon commented 1 month ago

image (15)

The FT Viewer is now operational. There is a viewer on the top left with the camera frame etc (exactly the same thing than the 'classic' camera viewer). There are 2 lines (one along the x axis, the other one along the y axis) that can be moved or the positions can be set. On the bottom left, underneath this camera viewer, we can see two plots, that represent the pixels lines where the two red and blue lines are on the frame. These plots update when we move the line. On the right side of the viewer, a Fourier Transform module viewer (in real time with the camera), the same two lines and the plots. I tested on simulation and it worked, and the screenshot is the hardware test that works too.