Skip to content

Commit 11711a8

Browse files
Merge pull request #488 from jungmannlab/development
0.7.0 release
2 parents 5636d0a + 6eb3536 commit 11711a8

File tree

20 files changed

+1092
-236
lines changed

20 files changed

+1092
-236
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.6.11
2+
current_version = 0.7.0
33
commit = True
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

.github/workflows/pypi_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
- uses: conda-incubator/setup-miniconda@v2
5151
with:
5252
auto-update-conda: true
53+
miniconda-version: "latest"
5354
python-version: ${{ matrix.python-version }}
5455
- name: Conda info
5556
shell: bash -l {0}

changelog.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
Changelog
22
=========
33

4-
Last change: 06-JUN-2024 MTS
4+
Last change: 06-JUL-2024 MTS
5+
6+
0.7.0
7+
-----
8+
- Adaptive Intersection Maximization (AIM, doi: 10.1038/s41592-022-01307-0) implemented
9+
- Z fitting improved by setting bounds on fitted z values to avoid NaNs
10+
- CMD ``clusterfile`` fixed
11+
- Picasso: Render 3D, rectangular and polygonal pick fixed
12+
- picasso.localize.localize fixed
13+
- default MLE fitting uses different sx and sy (CMD only)
514

615
0.6.9 - 0.6.11
716
--------------

distribution/picasso.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
AppName=Picasso
33
AppPublisher=Jungmann Lab, Max Planck Institute of Biochemistry
44

5-
AppVersion=0.6.11
5+
AppVersion=0.7.0
66
DefaultDirName={commonpf}\Picasso
77
DefaultGroupName=Picasso
8-
OutputBaseFilename="Picasso-Windows-64bit-0.6.11"
8+
OutputBaseFilename="Picasso-Windows-64bit-0.7.0"
99
ArchitecturesAllowed=x64
1010
ArchitecturesInstallIn64BitMode=x64
1111

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ""
2828
# The full version, including alpha/beta/rc tags
29-
release = "0.6.11"
29+
release = "0.7.0"
3030

3131
# -- General configuration ---------------------------------------------------
3232

docs/render.rst

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ Opening Files
1414

1515
Drift Correction
1616
----------------
17-
Picasso offers two procedures to correct for drift: an RCC algorithm (option A), and use of specific structures in the image as drift markers (option B). Although option A does not require any additional sample preparation, option B depends on the presence of either fiducial markers or inherently clustered structures in the image. On the other hand, option B often supports more precise drift estimation and thus allows for higher image resolution. To achieve the highest possible resolution (ultra-resolution), we recommend consecutive applications of option A and multiple rounds of option B. The drift markers for option B can be features of the image itself (e.g., protein complexes or DNA origami) or intentionally included markers (e.g., DNA origami or gold nanoparticles). When using DNA origami as drift markers, the correction is typically applied in two rounds: first, with whole DNA origami structures as markers, and, second, using single DNA-PAINT binding sites as markers. In both cases, the precision of drift correction strongly depends on the number of selected drift markers.
17+
Picasso offers three procedures to correct for drift: AIM (Ma, H., et al. Science Advances. 2024., option A), use of specific structures in the image as drift markers (option B) and an RCC algorithm (option C). AIM is precise, robust, quick, requires no user interaction or fiducial markers (although adding them will may improve performance). Although RCC does not require any additional sample preparation, option B depends on the presence of either fiducial markers or inherently clustered structures in the image. On the other hand, option B often supports more precise drift estimation and thus allows for higher image resolution. To achieve the highest possible resolution (ultra-resolution), we recommend AIM or consecutive applications of option C and multiple rounds of option B. The drift markers for option B can be features of the image itself (e.g., protein complexes or DNA origami) or intentionally included markers (e.g., DNA origami or gold nanoparticles). When using DNA origami as drift markers, the correction is typically applied in two rounds: first, with whole DNA origami structures as markers, and, second, using single DNA-PAINT binding sites as markers. In both cases, the precision of drift correction strongly depends on the number of selected drift markers.
1818

19-
Redundant cross-correlation drift correction
20-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19+
Adaptive Intersection Maximization (AIM) drift correction
20+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2121

22-
1. In ``Picasso: Render``, select ``Postprocess > Undrift by RCC``.
23-
2. A dialog will appear asking for the segmentation parameter. Although the default value, 1,000 frames, is a sensible choice for most movies, it might be necessary to adjust the segmentation parameter of the algorithm, depending on the total number of frames in the movie and the number of localizations per frame. A smaller segment size results in better temporal drift resolution but requires a movie with more localizations per frame.
22+
1. In ``Picasso: Render``, select ``Postprocess > Undrift by AIM``.
23+
2. The dialog asks the user to select:
24+
a. ``Segmentation`` - the number of frames per interval to calculate the drift. The lower the value, the better the temporal resolution of the drift correction, but the higher the computational cost.
25+
b. ``Intersection distance (nm)`` - the maximum distance between two localizations in two consecutive temporal segments to be considered the same molecule. This parameter is robust, 3*NeNA for optimal result is recommended.
26+
c. ``Max. drift in segment (nm)`` - the maximum expected drift between two consecutive temporal segments. If the drift is larger, the algorithm will likely diverge. Setting the parameter up to ``3 * intersection_distance`` will result in fast computation.
2427
3. After the algorithm finishes, the estimated drift will be displayed in a pop-up window, and the display will show the drift-corrected image.
2528

2629
Marker-based drift correction
@@ -31,6 +34,14 @@ Marker-based drift correction
3134
3. Select ``Postprocess > Undrift from picked`` to compute and apply the drift correction.
3235
4. (Optional) Save the drift-corrected localizations by selecting ``File > Save localizations``.
3336

37+
Redundant cross-correlation drift correction
38+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39+
40+
1. In ``Picasso: Render``, select ``Postprocess > Undrift by RCC``.
41+
2. A dialog will appear asking for the segmentation parameter. Although the default value, 1,000 frames, is a sensible choice for most movies, it might be necessary to adjust the segmentation parameter of the algorithm, depending on the total number of frames in the movie and the number of localizations per frame. A smaller segment size results in better temporal drift resolution but requires a movie with more localizations per frame.
42+
3. After the algorithm finishes, the estimated drift will be displayed in a pop-up window, and the display will show the drift-corrected image.
43+
44+
3445
Picking of regions of interest
3546
------------------------------
3647

@@ -340,9 +351,9 @@ Allows the user to display only a fraction of localizations to speed up renderin
340351
Postprocess
341352
~~~~~~~~~~~
342353

343-
Undrift by RCC
354+
Undrift by AIM
344355
^^^^^^^^^^^^^^
345-
Performs drift correction by redundant cross-correlation.
356+
Performs drift correction using the AIM algorithm (Ma, H., et al. Science Advances. 2024).
346357

347358
Undrift from picked (3D)
348359
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -352,6 +363,10 @@ Undrift from picked (2D)
352363
^^^^^^^^^^^^^^^^^^^^^^^^
353364
Performs drift correction using the picked localizations as fiducials. Does not perform drift correction in z even if dataset has 3D information.
354365

366+
Undrift by RCC
367+
^^^^^^^^^^^^^^
368+
Performs drift correction by redundant cross-correlation.
369+
355370
Undo drift (2D)
356371
^^^^^^^^^^^^^^^
357372
Undo previous drift correction (only 2D part). Can be pressed again to redo.

picasso/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os.path as _ospath
99
import yaml as _yaml
1010

11-
__version__ = "0.6.11"
11+
__version__ = "0.7.0"
1212

1313
_this_file = _ospath.abspath(__file__)
1414
_this_dir = _ospath.dirname(_this_file)

picasso/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION_NO = "0.6.11"
1+
VERSION_NO = "0.7.0"

0 commit comments

Comments
 (0)