Cheat Sheet#
Important
Still need to write the user guide.
Testing#
For testing, you can use the following command:
python -m unittest discover -s tests
Or, if you have tox installed, you can run the following command:
tox
def find_discharges(self):
self.set_custom_region()
start, stop = self.custom_region
lasso_selected_cells = [
(cell.row + 1, cell.col + 1)
for cell in self.grid_widget.get_lasso_selected_cells()
]
if len(lasso_selected_cells) > 0:
print("Finding discharges in highlighted cells")
self.discharge_finder = DischargeFinder(
self.data, lasso_selected_cells, self.signal_analyzer, start, stop
)
else:
print("Finding discharges in all active cells")
self.discharge_finder = DischargeFinder(
self.data, self.active_channels, self.signal_analyzer, start, stop
)
self.discharge_finder.finished.connect(self.on_discharge_finder_finished)
self.discharge_finder.start()
Header row, column 1 (header rows optional) |
Header 2 |
Header 3 |
Header 4 |
|---|---|---|---|
body row 1, column 1 |
column 2 |
column 3 |
column 4 |
body row 2 |
… |
… |
This is a paragraph that contains a link.
See also
This is an example of a see also admonition.
This is a header#
This is a header#
def my_function(my_arg, my_other_arg):
"""A function just for me.
:param my_arg: The first of my arguments.
:param my_other_arg: The second of my arguments.
:returns: A message (just for me, of course).
"""
Lorem ipsum [1] dolor sit amet … [2]
Footnotes