LEB-EPFL / iSIM

iSIM control and analysis software
0 stars 1 forks source link

Adjustment of twitcher frequency #37

Closed wl-stepp closed 10 months ago

wl-stepp commented 10 months ago

The issue here is, that for shorter exposure times, the horizontal scanning has to be faster to cover the whole image. If the vertical twitching frequency is kept constant, the pattern of the scanning becomes visible in angled variations in the intensity. Shorter exposures should therefore have a higher twitching frequency.

wl-stepp commented 10 months ago

The original implementation has 240 waves during the 100ms exposure. But only 120 for for 50ms exposure. My first approach would have been to calculate a different frequency depending on the exposure time. But actually it would be much easier to just work with a fixed number of waves that works. Fixing this in the Twitcher code will automatically adjust the frequency for different exposure times.

wl-stepp commented 10 months ago

The only thing that we have to check at some point is, that the amplitude of the twitching might have to be adjusted. For high frequencies, it could be that a higher driving frequency is needed to get the same actuation angle.

wl-stepp commented 10 months ago

implemented with dfa9737a016c06ebba5acb14a2ec4b39f427d017