Skip to content

Commit 15d6b9b

Browse files
committed
docs: add DCOR quick guide and update screenshots; fix: support older session files
1 parent 1a4c533 commit 15d6b9b

File tree

13 files changed

+69
-5
lines changed

13 files changed

+69
-5
lines changed

CHANGELOG

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
2.1.0
22
- feat: basic DCOR support
3+
- fix: improved session support (older pre-release sessions)
4+
- docs: add DCOR guick guide
35
- enh: export event image via context menu in Quick View (#35)
4-
- setup: bump dclab from 0.21.1 to 0.22.0 (DCOR support)
6+
- setup: bump dclab from 0.21.1 to 0.22.1 (DCOR support)
57
2.0.3
68
- setup: bump dclab from 0.20.3 to 0.21.1
79
- docs: add terminology section (#12)

docs/scrots/make_scrots_qg_dcor.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"""Screenshots for quick guide dcor"""
2+
import sys
3+
4+
from PyQt5 import QtCore
5+
from PyQt5.QtWidgets import QApplication
6+
from shapeout2.gui.main import ShapeOut2
7+
from shapeout2.gui import dcor
8+
9+
app = QApplication(sys.argv)
10+
11+
QtCore.QLocale.setDefault(QtCore.QLocale(QtCore.QLocale.C))
12+
13+
mw = ShapeOut2()
14+
mw.settings.set_bool("developer mode", False)
15+
16+
# show the dialog
17+
dlg = dcor.DCORLoader(mw)
18+
dlg.lineEdit_api_key.setText("")
19+
dlg.lineEdit_search.setText("reference data")
20+
dlg.on_search()
21+
dlg.repaint()
22+
QApplication.processEvents()
23+
QApplication.processEvents()
24+
dlg.grab().save("_qg_dcor_dlg.png")

docs/scrots/qg_dcor_dlg.png

49.1 KB
Loading

docs/scrots/ui_ana_filter.png

216 Bytes
Loading

docs/scrots/ui_ana_slot.png

-1 Bytes
Loading

docs/scrots/ui_main.png

18 Bytes
Loading

docs/scrots/ui_qv_settings.png

5.61 KB
Loading

docs/sec_qg_batch_stats.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.. _sec_qg_batch_stats:
22

3-
43
==================
54
Compute statistics
65
==================

docs/sec_qg_dcor.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.. _sec_qg_dcor:
2+
3+
===================
4+
Accessing DCOR data
5+
===================
6+
7+
The `deformability cytometry open repository (DCOR)
8+
<https://dcor.mpl.mpg.de>`_ allows you to upload and access RT-DC
9+
datasets online (internet connection required). In Shape-Out 2, you
10+
can access parts of the dataset (e.g. just two features) without
11+
downloading the entire data file (which includes image, contour, and
12+
traces information). This saves disk space and time when accessing
13+
large datasets.
14+
15+
.. _qg_dcor_dlg:
16+
.. figure:: scrots/qg_dcor_dlg.png
17+
:target: _images/qg_dcor_dlg.png
18+
19+
Dialog for loading DCOR data.
20+
21+
In the *File* menu, choose *Load DCOR data*. A dialog
22+
(:numref:`qg_dcor_dlg`) lets you search data in the DCOR repository.
23+
24+
.. note::
25+
26+
If you need to access private data, you have to enter your
27+
personal API Key. You can find your personal API Key in your
28+
user pofile page after logging in at https://dcor.mpl.mpg.de.
29+
30+
You can choose between a free text search (dataset and resource names,
31+
tags, etc.) and an identifier search (dataset and resource identifiers).
32+
After clicking the *Search* button, you may select the resources you
33+
wish to load into your sesssion in the list view below. Then, click
34+
*Open* to load the data.

docs/sec_quick_guides.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ Quick Guides
88

99
sec_qg_consistency_check
1010
sec_qg_filtering
11+
sec_qg_dcor
1112
sec_qg_youngs_modulus
1213
sec_qg_batch_stats

0 commit comments

Comments
 (0)