Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,201 changes: 2,098 additions & 103 deletions pyBer/gui_postprocessing.py

Large diffs are not rendered by default.

250 changes: 204 additions & 46 deletions pyBer/gui_preprocessing.py

Large diffs are not rendered by default.

331 changes: 235 additions & 96 deletions pyBer/main.py

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions pyBer/onboarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,7 @@ def _before(_w: QtWidgets.QWidget) -> None:
]

for key, title, body in [
("artifacts_list", "Artifact list", "Inspect detected and manual artifact windows, jump to them, and remove entries."),
("artifacts", "Artifact setup", "Choose artifact thresholds and how artifacts are handled: interpolate, cut, low-pass locally, or leave unchanged."),
("artifacts", "Artifacts", "Choose artifact thresholds, set artifact handling, and inspect detected or manual artifact windows."),
("filtering", "Filtering", "Set low-pass and smoothing options for signal and reference traces."),
("baseline", "Baseline", "Configure baseline estimation before computing dF/F, dF, or z-score outputs."),
("output", "Output", "Choose the processed trace formula and preview the resulting channel."),
Expand Down Expand Up @@ -960,8 +959,7 @@ def _keyboard_cheatsheet_html() -> str:
}

_PRE_SECTION_META: Dict[str, Tuple[str, str, str, str]] = {
"artifacts_list": ("L", "#f5c542", "Artifact list", "Inspect and edit detected / manual artifacts"),
"artifacts": ("A", "#ee6471", "Artifact setup", "Detection thresholds and manual selection"),
"artifacts": ("A", "#ee6471", "Artifacts", "Detection thresholds and detected / manual artifact list"),
"filtering": ("F", "#7d4df2", "Filtering", "Low-pass + smoothing for the photometry trace"),
"baseline": ("B", "#4b9df8", "Baseline", "Baseline estimation across the recording"),
"output": ("O", "#5dd39e", "Output", "Choose dFF / dF / z-score formula"),
Expand Down
45 changes: 45 additions & 0 deletions pyBer/styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,39 @@ def _paint_temporal(p, r, c):
border-radius: 12px;
}

QFrame#SidePanel, QFrame#syncPanel {
background: #1f242e;
border: 1px solid #343c4d;
border-radius: 8px;
}

QFrame#SidePanel QListWidget {
background: #202631;
border: 1px solid #3a4050;
border-radius: 8px;
padding: 4px;
}

QFrame#SidePanel QListWidget::item {
padding: 8px;
border-radius: 6px;
margin: 2px 0;
}

QFrame#SidePanel QListWidget::item:selected {
background: #4a3678;
color: #ffffff;
}

QLabel#BadgeLabel {
background: #243342;
border: 1px solid #3d5669;
border-radius: 10px;
color: #9ee6f4;
padding: 4px 8px;
font-weight: 700;
}

QToolButton#toolbarIconButton {
background: #1f242e;
border: 1px solid #343c4d;
Expand Down Expand Up @@ -1421,6 +1454,18 @@ def _build_light_qss(dark_qss: str) -> str:
/* Drawer panels */
QFrame#drawerPanel, QFrame#centerPanel { background: #ffffff; border: 1px solid #d6dde9; }
QFrame#transportBar { background: #eef1f7; border: 1px solid #d6dde9; }
QFrame#SidePanel, QFrame#syncPanel { background: #ffffff; border: 1px solid #d6dde9; border-radius: 8px; }
QFrame#SidePanel QListWidget { background: #f7f9fc; border: 1px solid #d6dde9; border-radius: 8px; padding: 4px; }
QFrame#SidePanel QListWidget::item { padding: 8px; border-radius: 6px; margin: 2px 0; }
QFrame#SidePanel QListWidget::item:selected { background: #2563eb; color: #ffffff; }
QLabel#BadgeLabel {
background: #dbeafe;
border: 1px solid #93c5fd;
border-radius: 10px;
color: #172033;
padding: 4px 8px;
font-weight: 700;
}
QToolButton#toolbarIconButton {
background: #ffffff;
border: 1px solid #c2ccda;
Expand Down
Loading
Loading