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/plugins.rst
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,33 @@ Plugins
4
4
5
5
Usage
6
6
-----
7
-
Starting in version 0.5.0, Picasso allows for creating plugins. They can be added by the user for each of the available distributions of picasso (GitHub, picassosr from PyPI and the one click installer). However, using plugins in the latter may cause issues, see below.
7
+
Starting in version 0.5.0, Picasso supports plugins. Please find the instructions on how to add them to your Picasso below.
8
8
9
-
Please keep in mind that the ``__init__.py`` file in the ``plugins`` folder must not be modified or deleted.
9
+
Please keep in mind that the ``__init__.py`` file in the ``picasso/picasso/gui/plugins`` folder must not be modified or deleted.
10
10
11
11
GitHub
12
12
~~~~~~
13
+
If you cloned the GitHub repository, you can add plugins by following these steps:
13
14
- Find the directory where you cloned the GitHub repository with Picasso.
14
15
- Go to ``picasso/picasso/gui/plugins``.
15
16
- Copy the plugin(s) to this folder.
16
-
- The plugin(s) should automatically work after running picasso in the new command window.
17
17
18
18
PyPI
19
19
~~~~
20
-
- Find the location of the environment where picassosr is installed (type ``conda env list`` to see the directory).
21
-
- Find this directory and go to ``YOUR_ENVIRONMENT/Lib/site-packages/picasso/gui/plugins``.
20
+
If you installed Picasso using ``pip install picassosr``, you can add plugins by following these steps:
21
+
- To find the location of the environment where ``picassosr`` is installed, type ``conda env list``.
22
+
- If your environment can be found under ``YOUR_ENVIRONMENT``, go to ``YOUR_ENVIRONMENT/Lib/site-packages/picasso/gui/plugins``.
22
23
- Copy the plugin(s) to this folder.
23
-
- The plugin(s) should automatically work after running picasso in the new command window.
24
24
25
25
One click installer
26
26
~~~~~~~~~~~~~~~~~~~
27
-
**NOTE**: This may lead to issues if Picasso is installed, as the plugin scripts will remain in the ``plugins`` folder upon deinstallation. After deinstalltion, the ``Picasso`` folder needs to be deleted manually.
27
+
**NOTE**: After deinstalling Picasso, ``Program Files/Picasso`` folder needs to be deleted manually, as the uninstaller currently does not remove the plugins automatically.
28
28
29
29
- Find the location where you installed Picasso. By default, it is ``C:/Program Files/Picasso``.
30
30
- Go to the following subfolder in the `Picasso` directory: ``picasso/gui/plugins``.
31
31
- Copy the plugin(s) to this folder.
32
-
- The plugin(s) should automatically be loaded after double-clicking the respective desktop shortcuts.
33
32
34
-
**NOTE**: Plugins added in this distribution will not be able to use packages that are not installed automatically (from the file ``requirements.txt``).
33
+
..**NOTE**: Plugins added in this distribution will not be able to use packages that are not installed automatically (from the file ``requirements.txt``).
35
34
36
35
For developers
37
36
--------------
@@ -41,4 +40,4 @@ To create a plugin, you can use the template provided in ``picasso/plugin_templa
41
40
:scale:70 %
42
41
:alt:Plugins
43
42
44
-
As an example, please see any of the plugins on the GitHub `repo <https://github.com/rafalkowalewski1/picasso_plugins>`_.
43
+
As an example, please see any of the plugins in the `GitHub repo <https://github.com/rafalkowalewski1/picasso_plugins>`_.
Copy file name to clipboardExpand all lines: docs/render.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,8 @@ The 3D rotation window allows the user to render 3D localization data. To use it
61
61
62
62
The user may perform multiple actions in the rotation window, including: saving rotated localizations, building animations (.mp4 format), rotating by a specified angle, etc.
63
63
64
+
Note that to build animations, the user must have ``ffmpeg`` installed on their system.
65
+
64
66
Rotation around z-axis is available by pressing Ctrl/Command. Rotation axis can be frozen by pressing x/y/z to freeze around the corresponding axes (to freeze around the z-axis, Ctrl/Command must be pressed as well).
65
67
66
68
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.
0 commit comments