You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/localize.rst
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ Localize allows performing super-resolution reconstruction of image stacks. For
9
9
10
10
- MLE, integrated Gaussian (based on `Smith et al., 2014 <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2862147/>`_.)
11
11
- LQ, Gaussian (least squares)
12
-
- Average of ROI
12
+
- Average of ROI (finds summed intensity of spots)
13
+
14
+
**Please note:** Picasso Localize supports five file formats: ``.ome.tif``, ``NDTiffStack`` with extension ``.tif``, ``.raw``, ``.ims`` and ``.nd2``. If your file has the extension ``.tiff`` or ``.ome.tiff``, it cannot be read. Usually it is enough to change the extension to ``.ome.tif``, i.e., remove the last letter.
13
15
14
16
Identification and fitting of single-molecule spots
1. In ``Picasso: Render``, pick drift markers as described in ``Picking of regions of interest``. Use the ``Pick similar`` option to automatically detect a large number of drift markers similar to a few manually selected ones.
29
+
1. In ``Picasso: Render``, pick drift markers as described in **Picking of regions of interest**. Use the ``Pick similar`` option to automatically detect a large number of drift markers similar to a few manually selected ones.
30
30
2. If the structures used as drift markers have an intrinsic size larger than the precision of individual localizations (e.g., DNA origami, large protein complexes), it is critical to select a large number of structures. Otherwise, the statistic for calculating the drift in each frame (the mean displacement of localization to the structure's center of mass) is not valid.
31
31
3. Select ``Postprocess > Undrift from picked`` to compute and apply the drift correction.
32
32
4. (Optional) Save the drift-corrected localizations by selecting ``File > Save localizations``.
@@ -54,6 +54,21 @@ Rotation around z-axis is available by pressing Ctrl/Command. Rotation axis can
54
54
55
55
There are several things to keep in mind when using the rotation window. Firstly, using individual localization precision is very slow and is not recommended as a default blur method. Also, the size of the rotation window can be altered, however, if it becomes too large, rendering may start to lag.
56
56
57
+
RESI
58
+
----
59
+
.. image:: ../docs/render_resi.png
60
+
:width:374
61
+
:alt:UML Render RESI
62
+
63
+
64
+
In Picasso 0.6.0, a new RESI (Resolution Enhancement by Sequential Imaging) dialog was introduced. It allows for a substantial resolution boost by sequential imaging of a single target with multiple labels with Exchange-PAINT (*to be published*).
65
+
66
+
To use RESI, prepare your individual RESI channels (localization, undrifting, filtering and **alignment**). Load such localization lists into Picasso Render and open ``Postprocess > RESI``. The dialog shown above will appear. Each channel will be clustered using the SMLM clusterer (other clustering algorithms could be applied as well although only the SMLM clusterer is implemented for RESI in Picasso). Clustering parameters can be defined for each RESI channel individually, although it is possible to apply the same parameters to all channels by clicking ``Apply the same clustering parameters to all channels``, which will copy the clustering parameters from the first row and paste it to all other channels.
67
+
68
+
Next, the user needs to specify whether or not to save clustered localizations or cluster centers from each of the RESI channels individually, and whether to apply basic frame analysis (to minimize the effect of sticking events). For the explanation of the parameters, see `SMLM clusterer <https://picassosr.readthedocs.io/en/latest/render.html#smlm-clusterer>`_.
69
+
70
+
Upon clicking ``Perform RESI analysis``, each of the loaded channels is clustered, cluster centers are extracted and combined from all RESI channels to create the final RESI file.
71
+
57
72
Dialogs
58
73
-------
59
74
@@ -378,7 +393,11 @@ Apply expressions to localizations
378
393
This tool allows you to apply expressions to localizations, for example:
379
394
380
395
- ``x +=1`` will shift all localization by one to the right
381
-
- ``x +=1;y+=1`` will shift all localization by one to the right and one up.
396
+
- ``x +=1; y+=1`` will shift all localization by one to the right and one up.
397
+
- ``flip x z`` will exchange the x-axis with y-axis if z localizations are present (side projection), similar for ``flip y z``.
398
+
- ``spiral r n`` will plot each localization over the time of the movie in a spiral with radius r and n number of turns (e.g., to detect repetitive binding), ``uspiral`` to reverse.
399
+
400
+
**NOTE:** using two variables in one statement is not supported (e.g. ``x = y``) To filter localizations use picasso filter.
382
401
383
402
DBSCAN
384
403
^^^^^^
@@ -390,23 +409,21 @@ Cluster localizations with the hdbscan clustering algorithm.
390
409
391
410
SMLM clusterer
392
411
^^^^^^^^^^^^^^
393
-
Cluster localizations with the custom algorithm designed for SMLM. In short, localizations with the maximum number of neighboring localizations within a user-defined radius are chosen as cluster centers, around which all localizations withing the given radius belong to one cluster. If two or more such clusters overlap, they are combined.
412
+
Cluster localizations with the custom algorithm designed for SMLM. In short, localizations with the maximum number of neighboring localizations within a user-defined radius are chosen as cluster centers, around which all localizations within the given radius belong to one cluster. If two or more local maxima are within the radius, the clusters are merged.
413
+
414
+
SMLM clusterer requires three (or four if 3D data is processed) arguments:
415
+
416
+
- Radius: final size of the clusters.
417
+
- Radius z (3D only): final size of the clusters in the z axis. If the value is different from radius in xy plane, clusters have ellipsoidal shape. Radius z can have a different value to account for a difference in localization precision in lateral and axial directions.
418
+
- Min. locs: minimum number of localizations in a cluster.
419
+
- Basic frame analysis: If True, each cluster is checked for its value of mean frame (if it is within the first or the last 20% of the total acquisition time, it is discarded). Moreover, localizations inside each cluster are split into 20 time bins (across the whole acquisition time). If a single time bin contains more than 80% of localizations per cluster, the cluster is discarded.
394
420
395
-
*NOTE:* it is highly recommended to remove any fiducial markers before clustering, to lower clustering time, given they are of no interest to the user. To do that, the markers can be picked and removed using ``Tools > Remove localizations in picks``.
421
+
**Note to all clustering algorithms:** it is highly recommended to remove any fiducial markers before clustering, to lower clustering time, given they are of no interest to the user. To do that, the markers can be picked and removed using ``Tools > Remove localizations in picks``.
396
422
397
423
Test clusterer
398
424
^^^^^^^^^^^^^^
399
425
Opens a dialog where different clustering parameters can be checked on the loaded dataset. Requires a single pick region of interest to be selected.
400
426
401
427
Nearest Neighbor Analysis
402
428
^^^^^^^^^^^^^^^^^^^^^^^^^
403
-
Calculates distances to the ``k``-th nearest neighbors between two channels (can be the same channel). ``k`` is defined by the user. The distances are stored in nm as a .csv file.
404
-
405
-
Notes
406
-
+++++
407
-
Using two variables in one statement is not supported (e.g. ``x = y``) To filter localizations use picasso filter.
408
-
409
-
Additional commands
410
-
+++++++++++++++++++
411
-
``flip x z`` will exchange the x-axis with y-axis if z localizations are present (side projection), similar for ``flip y z``.
412
-
``spiral r n`` will plot each localization over the time of the movie in a spiral with radius r and n number of turns (e.g., to detect repetitive binding), ``uspiral`` to reverse.
429
+
Calculates distances to the ``k``-th nearest neighbors between two channels (can be the same channel). ``k`` is defined by the user. The distances are stored in nm as a .csv file.
0 commit comments