03-26-2025 10:23 AM
We are making a program to scan a probe, acquire tunneling current, and obtain atomic images with a scanning tunneling microscope.
Currently we are acquiring 256pixel x 256pixel atomic images.
In other words, we are acquiring data of 65536 tunnel current values. The scanning of the probe moves 0 to 255pixel in the x-axis direction, then moves 1 pixel in the y-axis direction and then back in the x-axis direction, 255 to 0 pixel. Since 1 pixel is moved at 300μs, the scanning time for a 256 x 256 pixel area is 300 x 256 x 256 = 19.7s.
I would like to improve this program.
The final proposed goal is to create 198 atomic images.
First, set the data acquisition interval to 1μs. Then, 198x256x256=12976128 data are acquired; the first data is placed at 0pixel, the 199th data at 1pixel, the 397th data at 2pixel, and so on. Next, the second data is placed at 0pixel, the 200th data at 1pixel, the 398th data at 2pixel, and so on. The third data is arranged in 0pixel, the 201st data in 1pixel, the 399th data in 2pixel, and so on. As a result, 198 atomic images of 256 x 256 pixel can be obtained.
The program currently used in the research is attached.
Any advice and questions would be appreciated.
Thank you in advance.
03-26-2025 06:04 PM
Can you include the project file?
What are the issues with this? Can you state in terms of throughput, latency, additional math?