Skip to content

Commit 4b225fa

Browse files
authored
Merge pull request #23 from ChrisHal/more_documentation
improved documentation
2 parents e193664 + a285ae8 commit 4b225fa

File tree

10 files changed

+223
-51
lines changed

10 files changed

+223
-51
lines changed

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
/QtPMBrowser/release
88
/.qmake.stash
99
ui_*.h
10-
QtPMbrowser.pro.user.459d117
1110
GeneratedFiles/
1211
Makefile
1312
moc_*
@@ -22,9 +21,9 @@ QtPMbrowser.aps
2221
doc/_build/
2322
doc/doxy_html/
2423
QtPMbrowser/release/
25-
QtPMbrowser/QtPMbrowser.pro.user.e316ca4
26-
build-QtPMbrowser-Desktop_Qt_5_15_2_clang_64bit-Debug/
27-
build-QtPMbrowser-Desktop_Qt_5_15_2_clang_64bit-Release/
24+
.DS_Store
25+
out
26+
QtPMbrowser/.qmake.stash
2827
.DS_Store
2928
*.pro.user
3029
QtPMbrowser/QtPMbrowser.pro.user

QtPMbrowser/DlgTreeFilter.ui

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,20 @@
3535
<x>10</x>
3636
<y>10</y>
3737
<width>211</width>
38-
<height>61</height>
38+
<height>71</height>
3939
</rect>
4040
</property>
4141
<property name="text">
42-
<string>Enter filter as Perl-style
43-
regular expression.
44-
&quot;.*&quot; selects all.</string>
42+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter filter as Perl-style&lt;br/&gt;&lt;a href=&quot;https://perldoc.perl.org/perlre&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;regular expression&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&amp;quot;.*&amp;quot; selects all.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
43+
</property>
44+
<property name="scaledContents">
45+
<bool>false</bool>
46+
</property>
47+
<property name="alignment">
48+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
49+
</property>
50+
<property name="openExternalLinks">
51+
<bool>true</bool>
4552
</property>
4653
</widget>
4754
<widget class="QWidget" name="layoutWidget">

doc/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ NUM_PROC_THREADS = 1
477477
# normally produced when WARNINGS is set to YES.
478478
# The default value is: NO.
479479

480-
EXTRACT_ALL = NO
480+
EXTRACT_ALL = YES
481481

482482
# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
483483
# be included in the documentation.

doc/index.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ But even if you do not use :program:`IgorPro`, you might find :program:`PMbrowse
2828
usage/new_user_tour
2929
usage/menues
3030
usage/displayarea
31+
usage/tree-view
3132
usage/igor_export_infos
3233

3334

@@ -36,8 +37,5 @@ Indices and tables
3637
==================
3738

3839
* :ref:`genindex`
39-
* :ref:`search`
4040

41-
42-
43-
41+
.. * :ref:`search`

doc/usage/displayarea.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,40 @@ context menue
3131
-------------
3232

3333
This menue is accessed by right-click (or option click on Macs). It offers a variety of functions.
34+
35+
Buttons and Checkboxes
36+
----------------------
37+
38+
wipe
39+
++++
40+
41+
:index:`Clears display <clear display>`.
42+
43+
auto
44+
++++
45+
46+
Autoscales display.
47+
48+
v.shrink
49+
++++++++
50+
51+
Vertically shrinks display (i.e. increases y-axis range twofold).
52+
53+
h.shrink
54+
++++++++
55+
56+
Horizontally shrinks display (i.e. increases x-axis range twofold).
57+
58+
.. _overlay-feature-label:
59+
60+
61+
Checkbox *autoscale on load*
62+
++++++++++++++++++++++++++++
63+
64+
If selected, display will performe autoscale when a new trace is loaded into display.
65+
66+
Checkbox *overlay*
67+
++++++++++++++++++
68+
69+
If selected, traces in persistance buffer of the display will be displayed as background
70+
tarces.

doc/usage/igor_export_infos.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Additionally, a macro will be included to create graphs for the individual serie
1919
is accessible from the *Macro* menue (entry *Display Waves*) within :program:`IgorPro`.
2020

2121
You may want to restrict the traces you export using the :ref:`filter-dlg-label`
22-
before invoking :ref:`export-all-visible-traces-label`
22+
before invoking :ref:`Export -> all visible traces <export-all-visible-traces-label>`
2323
from the *File* menue.

doc/usage/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The executable :file:`QtPMbrowser` in :file:`/usr/bin` .
4242

4343
Now, start :program:`PMbrowser` with ``QtPMbrowser &``.
4444

45-
direct instalation of the executable
45+
direct installation of the executable
4646
*************************************
4747

4848
The executable can be found at the GitHub repository release page: https://github.com/ChrisHal/PMbrowser/releases

doc/usage/menues.rst

Lines changed: 59 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Usage
22
#####
33

4-
The Menues
5-
==========
4+
The Menus
5+
=========
66

77
"File"
88
******
@@ -11,7 +11,7 @@ The Menues
1111
------
1212

1313
Select a :program:`PATCHMASTER` or :program:`PATCHMASTER NEXT` :file:`.dat` file. (Alternatively,
14-
you can open a file by dragging it onto the :program:`PMbrowser` window. Non-bundled files, which consist
14+
you can open a file by :index:`dragging <drag-and-drop>` it onto the :program:`PMbrowser` window. Non-bundled files, which consist
1515
of a collection of various files, usually :file:`.pul` and :file:`.pgf` and possibly others
1616
are also present.)
1717

@@ -20,41 +20,52 @@ are also present.)
2020

2121
Close currently open file.
2222

23-
'Export Subtree for Igor'
24-
-------------------------
25-
26-
All traces, that are children of the node currently selected in the **tree-view** are selected for export
27-
as either individual :file:`.ibw`-files or as one packaged experiment file (extension :file:`.pxp`)
28-
which can be read by
29-
:program:`IgorPro`.
23+
'Export...' Submenu
24+
-------------------
3025

31-
The export dialog will appear, which allows you to select paths and filenames as well as several options
32-
that pertain to exports to packed experiment files (see :ref:`export-dlg-label` and
33-
:ref:`igor-export-infos-label` for additional information on exports).
26+
Here you find options to export traces to :program:`IgorPro` and metadata as a table.
3427

35-
This function also available from the context menue of the **tree-view**.
3628

3729
.. _export-all-visible-traces-label:
3830

39-
'Export All Visible Traces for Igor'
40-
------------------------------------
31+
all visible traces
32+
++++++++++++++++++
4133

42-
Similar to `'Export Subtree for Igor'`_, but all traces that are currently visible (i.e. not hidden)
43-
in the **tree-view** are selected for export. Traces can be hidden either by *filtering* (see
44-
:ref:`filter-menue-label` and :ref:`filter-dlg-label`) or by using the context menue of the **tree-view**.
34+
All traces that are currently visible (i.e. not hidden)
35+
in the **tree-view** are selected for export. Traces can be hidden either by *filtering* (see
36+
:ref:`filter-menue-label` and :ref:`filter-dlg-label`) or by using the context menue of the **tree-view**.
37+
38+
This function also available from the context menue of the **tree-view**.
4539

46-
'Export All Traces as IBW Files'
47-
--------------------------------
40+
.. _export-children:
4841

49-
Similar to `'Export All Visible Traces for Igor'`_, but all (hidden and visible) traces will be
50-
exported as individual :file:`.ibw`-files. Export to a packed experiment file is not support by
51-
this option.
42+
selected with children
43+
++++++++++++++++++++++
5244

53-
'Select Parameters'
54-
-------------------
45+
All traces, that are children of the node currently selected in the **tree-view** are selected for export
46+
as either individual :file:`.ibw`-files or as one packaged experiment file (extension :file:`.pxp`)
47+
which can be read by
48+
:program:`IgorPro`.
49+
50+
The :ref:`export dialog <export-dlg-label>` will appear, which allows you to select paths and filenames as well as several options
51+
that pertain to exports to packed experiment files (also see :ref:`igor-export-infos-label` for additional information on exports).
52+
53+
metadata as table
54+
+++++++++++++++++
55+
56+
Export :index:`metadata <export; metadata>` as tab-delimited table.
57+
Parameters marked for export (see :ref:`select-params-dlg-label` )
58+
will be included in export. Additionally to these parameters, the first four columns of the table will contain
59+
the group, series, sweep, and trace counts.
60+
61+
You can choose per which level of the pulse tree a table row should be
62+
produced.
63+
64+
Select Parameters
65+
-----------------
5566

5667
Opens the :ref:`select-params-dlg-label`. There you can select which parameters from the PatchMaster-file
57-
will be either *printed* to the **text-area** or *exported* in *wave-notes*.
68+
will be either *printed* to the **text-area** or *exported* as *wave-notes* and *tables*.
5869

5970

6071
"Edit"
@@ -94,7 +105,7 @@ selected **tree-view** item (trace or node) and its parents to the **text-area**
94105
'Auto Scale'
95106
------------
96107

97-
Set scaling of graph axes to extents of most recently loaded trace.
108+
Set :index:`scaling <auto-scale>` of graph axes to extents of most recently loaded trace.
98109

99110
'Do Autoscale on Load'
100111
----------------------
@@ -109,6 +120,8 @@ Enter *YX mode*. The currently selected trace will be used a *X* reference for
109120
subsequent drawing operations. This is especially usefull if you are
110121
working with ramp stimuli.
111122

123+
.. _YT-mode:
124+
112125
'YT mode'
113126
---------
114127

@@ -117,7 +130,7 @@ Enter *YT mode*, which is the default mode. *Time* will be used as the abscissa
117130
'Wipe All'
118131
----------
119132

120-
Clear the :ref:`grapharea-label`.
133+
:index:`Clear <clear display>` the :ref:`grapharea-label`.
121134

122135
'Wipe Background Traces'
123136
------------------------
@@ -167,14 +180,17 @@ Checkbox *'create pxp file'*: All waves will be exported into a single packaged
167180
After clicking *'OK'*, a file dialog will show up that allows you to select a filename for the file to be created.
168181

169182
Checkbox *'create folder structure'*: If you export as a :file:`pxp` file, select this to create datafolders within
170-
the :file:`pxp` file that match the tree structure.
183+
the :file:`pxp` file that match the tree structure. You can choose if the grouping level for traces should be
184+
*group* or *series*.
171185

172186
.. _filter-dlg-label:
173187

174188
'Tree-Filter' Dialog
175189
********************
176190

177-
This dialog allows you to hide nodes and traces of the data-tree that you are not interested in.
191+
This dialog allows you to hide nodes and traces of the data-tree that you are not interested in. It can be accessed from the *Tree* menu
192+
or via the *Filter...* button.
193+
178194
The filtering is based on *perl* style `regular expressions <https://perldoc.perl.org/perlre>`_. Only elements that match the given expression
179195
will remain visible, all other elements will be hidden.
180196

@@ -187,17 +203,26 @@ See section :ref:`new-user-filtering-label` from the :ref:`new-user-tour-label`
187203
'Select Parameters' Dialog
188204
**************************
189205

190-
For each of the four tree levels *Group*, *Series*, *Sweep*, and * Trace* you can select which parameters
206+
For each of the four tree levels *Group*, *Series*, *Sweep*, and *Trace* you can select which parameters
191207
will be printed into the **text area** when a node is selected in the **tree-view** (checkbox *'print'*)
192-
and / or added to the *wave-note* of exported traces (checkbox *'export'*, cf. section :ref:`igor-export-infos-label`).
208+
and / or added to the *wave-note* of exported traces and exported
209+
as metadata tables (checkbox *'export'*, cf. section :ref:`igor-export-infos-label`).
193210

194211
All paramters that might be of relevance should be available. If you miss something, please post a *feature request*
195212
on PMbrowser's `issues page <https://github.com/ChrisHal/PMbrowser/issues>`_.
196213

214+
.. _relative-time-info-label:
215+
216+
Times can represented as :index:`relative times` (*Rel. time*). The time reference for calculation of the relative times
217+
can be set using the context menu of the **tree-view**. By default, the reference time is the start time of the
218+
:file:`dat`-file.
219+
220+
197221

198222
.. _ranges-dlg-label:
199223

200224
'Setting and Ranges' Dialog
201225
***************************
202226

203-
227+
Here you can configure the display area: axis ranges, *autoscale on load* and the number of overlay traces to
228+
be kept in the internal display buffer.

doc/usage/new_user_tour.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The Application Window (overview)
2323
:align: center
2424
:alt: tour step 1
2525

26-
The application window is divided into three sections, the *tree view*, the *graph area*, and the *text area* (see screenshot).
26+
The application window is divided into three sections, the *tree view*, the *graph area*, and the *text area* (see screenshot [#]_).
2727

2828
* The **tree view** represents the tree structure stored in the `dat`-file. *Groups* (or *experiments*, the file format treats both the same),
2929
*series* and *sweeps* are represented as nodes, *traces* from the final leaves of the tree. Elements for which a label is stored in the file
@@ -38,7 +38,7 @@ The application window is divided into three sections, the *tree view*, the *gra
3838

3939
* In the **text area** mainly metadata will be printed according to the element being selected in the *tree view*.
4040

41-
The menuitem ``File`` --> ``Select Parameters...`` calls up a dialog which lets you choose for each
41+
The menuitem ``File`` --> ``Select Parameters...`` calls up the :ref:`select-params-dlg-label` which lets you choose for each
4242
level (*group*, *series*, *sweep* and *trace*) which metadata items :program:`PMbrowser` shall print.
4343

4444
.. image:: Screenshot_tour_dlg_params.png
@@ -119,3 +119,5 @@ In Igor's *Macros* menu you will find the item *Display Waves*. Select this to a
119119

120120
**Metadata** will be included in the *wavenotes* of the imported waves. ``File`` --> ``Select Parameters...`` in :program:`PMbrowser`
121121
will bring forth a dialog that let's you choose which metadata-items to *export* in the wavenotes.
122+
123+
.. [#] screenshots may represent older versions of the software and differ somewhat from the current version

0 commit comments

Comments
 (0)