Skip to content

Commit

Permalink
More doc 5/n
Browse files Browse the repository at this point in the history
  • Loading branch information
sommerc committed Nov 6, 2023
1 parent 7cbb953 commit 331a4c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
7 changes: 1 addition & 6 deletions src/napari_correct_drift/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,7 @@ class ROIRect:
"""Helper classes for 3D bounding-box, localized in channels and time
Attributes:
x_min (int): x min
x_max (int): x max
y_min (int): y min
y_max (int): y max
z_min (int): z min
z_max (int): z max
x_min, x_max, y_min, y_max, z_min, z_max (int): special boundaries of the ROI rectangle.
t0 (int): frame index
c0 (int): channel index
"""
Expand Down
17 changes: 17 additions & 0 deletions src/napari_correct_drift/_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@


class CorrectDriftDock(QWidget):
"""Main user interface for Napari-Correct-Drift.
The main widget is structured in several groups:
1. Input Axes: Select napari layer to process
2. Correct Drift: Estimate, load or correct drift
3. Key Frames: Set the key frames and mode for correction
4. Parameters: Set Parameters of the drift correction
5. Outliers: Handle outlier drifts
"""

ROI_LAYER_NAME = "ROI"

def _init_input_layer_selection(self):
Expand Down Expand Up @@ -618,6 +630,11 @@ def apply_drift(self):


class TableWidget(QWidget):
"""A editable table widget containing the estimated drifts.
The underlying table data can be saved or copied to clipboard.
"""

def __init__(
self, ist: CorrectDrift = None, viewer: "napari.Viewer" = None
):
Expand Down

0 comments on commit 331a4c9

Please sign in to comment.