To add support for the camera and thermal camera, the following steps should be taken:
-> read_data reads 2D array, flattens it to 1D array and saves the shape
-> 1D array is fed to pyTrigger, where the number of channels equals 1D array length
-> The pyTrigger should be modified not to create the ring buffer for the whole measurement duration. Instead, it should create a buffer for a few frames, for example, 100, and after 100 frames, those should be saved using periodic saving functionality.
-> when get_data() or get_data_new() is called in acquisition, reshape the 1D array back to 2D array
-> ability to store only processed data into pyTrigger and not a whole 2D array (for example averaged value of region of pixels) -> for example function that is called in read_data() and modifies output.
The following features should be also implemented into the visualization class:
-> ability to visualize 2D plots (also useful for covariance matrices, and spectrograms...)
-> Instead of value vs time, only values are displayed
-> ability to apply a slow refresh rate for this diagram (is already implemented)
-> ability to reduce the resolution of the 2D array
-> ability to process 2D array and display only one processed value vs. time
-> for example average temperature across selected regions.
To add support for the camera and thermal camera, the following steps should be taken: -> read_data reads 2D array, flattens it to 1D array and saves the shape -> 1D array is fed to pyTrigger, where the number of channels equals 1D array length -> The pyTrigger should be modified not to create the ring buffer for the whole measurement duration. Instead, it should create a buffer for a few frames, for example, 100, and after 100 frames, those should be saved using periodic saving functionality. -> when get_data() or get_data_new() is called in acquisition, reshape the 1D array back to 2D array -> ability to store only processed data into pyTrigger and not a whole 2D array (for example averaged value of region of pixels) -> for example function that is called in read_data() and modifies output.
The following features should be also implemented into the visualization class: -> ability to visualize 2D plots (also useful for covariance matrices, and spectrograms...) -> Instead of value vs time, only values are displayed -> ability to apply a slow refresh rate for this diagram (is already implemented) -> ability to reduce the resolution of the 2D array -> ability to process 2D array and display only one processed value vs. time -> for example average temperature across selected regions.