30.12.2014 Views

Christoph Florian Schaller - FU Berlin, FB MI

Christoph Florian Schaller - FU Berlin, FB MI

Christoph Florian Schaller - FU Berlin, FB MI

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Christoph</strong> <strong>Schaller</strong> - STORMicroscopy 29<br />

Figure 6.2: The xStorm GUI.<br />

As we are interested in comparing dierent tting algorithms the program allows selection of one<br />

of them. Furthermore dierent tting parameters need to be specied as can be seen in the GUI in<br />

Figure 6.2. Those are<br />

• the pixel size in nanometers,<br />

• the emission wavelength in nanometers, which species the approximate spot size; 0 means that<br />

the spot size (or equivalently the standard deviation of the Gaussian) is included in the t,<br />

• the minimal number of photons; 0 means that the program ts all spots it can recognize and<br />

• the number of frames to be t; 0 means that all contained images are processed.<br />

6.5 Parallel processing<br />

The tting procedure contains several computationally expensive steps. Therefore multithreading<br />

should be implemented wherever reasonably possible. Fortunately the tting process allows a high<br />

level of parallelization, resulting in an appreciable decrease of computing time already on a quad-core<br />

CPU. The multithreading is done using the CoWork class contained in Ultimate++.<br />

Of course only one thread can access<br />

the source le at the same time.<br />

Still whenever a complete frame has<br />

been read, it can be passed to a new<br />

thread to deal with it, while the original<br />

one continues reading. The new<br />

threads scan the frames for spot candidates.<br />

Ultimately, for every detection<br />

a surrounding region depending<br />

on the spot size, called subframe, can<br />

Figure 6.3: Multithreading in xStorm.<br />

be cut out and transferred to a new<br />

subthread.<br />

Additionally the reader thread is connected to a GUI thread, which keeps the GUI accessible while<br />

the tting is done. A schematic overview is given in the adjacent Figure 6.3.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!