Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
05aafa3
begin working on generic detector bank viewer and masker
nvaytet Oct 12, 2026
ed36113
width initial
nvaytet Oct 12, 2026
e84ccd3
fix arg in full_like
nvaytet Oct 12, 2026
c885553
add functionality for switching displayed dims
nvaytet Oct 13, 2026
592b3a3
better comment
nvaytet Oct 13, 2026
479dee0
avoid error if size is not in da
nvaytet Oct 13, 2026
002325d
start adding masking functionality
nvaytet Oct 17, 2026
47e0e05
make sliders for every bank and hide them, only displaying master sli…
nvaytet Oct 19, 2026
1d7aa4f
also link checkboxes
nvaytet Oct 19, 2026
87d55e6
sliders inside tabs
nvaytet Oct 19, 2026
84a34a3
get masking working
nvaytet Oct 20, 2026
f5dd00f
better masking performance
nvaytet Oct 20, 2026
3412e93
better color control
nvaytet Oct 20, 2026
04312e7
fix continuous masking and cleanup
nvaytet Oct 20, 2026
e7b186b
add masks clearing button
nvaytet Oct 20, 2026
4a7a1ff
add save masks
nvaytet Oct 20, 2026
31e480a
add continuous control
nvaytet Oct 21, 2026
0a7bccc
fix saving masks
nvaytet Oct 21, 2026
3e38f26
adjust spacing
nvaytet Oct 21, 2026
6ff16b1
fix cmap range when switching tabs
nvaytet Oct 21, 2026
26ea228
refactor to split responsibilities better
nvaytet Oct 21, 2026
4d550cd
move color control into class
nvaytet Oct 26, 2026
691732d
go back to having logic on the main object
nvaytet Oct 26, 2026
d67f76f
disabled save button, and link slider values when switching tabs
nvaytet Oct 26, 2026
c488eb9
cleanup
nvaytet Oct 26, 2026
36738d0
fix bug in mask buttons sync
nvaytet Oct 26, 2026
63a49fc
Merge branch 'main' into masking-diagnostics
nvaytet Oct 26, 2026
99b3da8
move into disgnostics folder and update loki viewer
nvaytet Oct 26, 2026
e538a79
remove unused file
nvaytet Oct 26, 2026
71c2207
start adding tests
nvaytet Oct 26, 2026
9cc7bd2
add tests written by clause
nvaytet Oct 26, 2026
4756a6d
needs recent plopp
nvaytet Oct 26, 2026
e405af9
update pixi lock
nvaytet Oct 26, 2026
06d4abe
fix esssans tests
nvaytet Oct 27, 2026
ed232d4
fix package test
nvaytet Oct 27, 2026
0d6d1c2
add ipympl in test deps for essreduce
nvaytet Oct 27, 2026
d5b8291
update lock file
nvaytet Oct 27, 2026
b5ae4da
fix deprecation warning
nvaytet Oct 27, 2026
927f9d5
better icons
nvaytet Oct 27, 2026
3e041ae
add prev/next buttons to each slider
nvaytet Oct 27, 2026
1003638
remove obsolete test
nvaytet Oct 27, 2026
1455f22
only add coords if they are missing
nvaytet Oct 29, 2026
f380010
disable slider if one bank does not have slider dim
nvaytet Oct 29, 2026
d8b808d
add test for uneven banks
nvaytet Oct 29, 2026
0be4c60
use dicts of masks for each dimension combination
nvaytet Nov 5, 2026
33eda28
fix delete logic, add transpose back in and add a couple of tests
nvaytet Nov 5, 2026
3b1ae66
cleanup
nvaytet Nov 5, 2026
5aa2365
fix some tests
nvaytet Nov 5, 2026
cdd5f58
fix more tests
nvaytet Nov 5, 2026
d97d826
remove not very useful test
nvaytet Nov 5, 2026
738ec74
remove unused imports
nvaytet Nov 5, 2026
324409d
remove continuous masking, fix coord indexing and also bin edges
nvaytet Nov 10, 2026
e92b6b3
cleanup
nvaytet Nov 10, 2026
293cac4
fix bad dim slicing when bank is missing a dim
nvaytet Nov 10, 2026
7ae9e04
do not update color on every keystroke
nvaytet Nov 10, 2026
64503e5
require recent plopp for tests also
nvaytet Nov 10, 2026
050464a
remove self._visible_dims and self._lock
nvaytet Nov 10, 2026
e1560cd
function signature and docstring, and prevent against bad show_dims
nvaytet Nov 10, 2026
ceba850
update pixi lock
nvaytet Nov 10, 2026
72d5ab8
start changing mechanism to accept dict of masks which defines what t…
nvaytet Nov 11, 2026
4fbabc9
start refactor to simplify code
nvaytet Nov 12, 2026
9d562a3
cleanup
nvaytet Nov 13, 2026
956162d
Merge branch 'main' into masking-diagnostics
nvaytet Nov 13, 2026
78f6bbb
use new pixel masks format
nvaytet Nov 13, 2026
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
5 changes: 4 additions & 1 deletion packages/essreduce/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ dependencies = [
[project.optional-dependencies]
test = [
"ipywidgets>=8.1",
"ipympl>=0.9.4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DetectorExplorer fails with plopp 26.7 (AxesImage.set() got an unexpected keyword argument 'hide_log_buttons'), but only the docs extra has the >=26.10.0 bound. Could test have it too?

"matplotlib>=3.10.7",
"numba>=0.63",
"pooch>=1.9.0",
"plopp>=26.10.0",
"pytest>=9.0",
"tof>=25.12.0",
"pandas>=2.1.2",
Expand All @@ -59,7 +61,7 @@ docs = [
"myst-parser>=2.0.0",
"nbsphinx>=0.9.3",
"numba>=0.63",
"plopp>=24.7.0",
"plopp>=26.10.0",
"pydata-sphinx-theme>=0.14",
"sphinx>=7",
"sphinx-autodoc-typehints>=1.24.0",
Expand Down Expand Up @@ -97,6 +99,7 @@ testpaths = "tests"
filterwarnings = [
"error",
'ignore:\n Sentinel is not a public part of the traitlets API:DeprecationWarning',
'ignore:Passing unrecognized arguments to super:DeprecationWarning',
'ignore:Jupyter is migrating its paths:DeprecationWarning',
]

Expand Down
11 changes: 10 additions & 1 deletion packages/essreduce/src/ess/reduce/diagnostics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
data recorded during experiments.
"""

import lazy_loader as lazy

from .load_nexus import load_detectors, load_monitors

__all__ = ['load_detectors', 'load_monitors']
__getattr__, __dir__, _ = lazy.attach(
__name__,
submod_attrs={
'detector_explorer': ['DetectorExplorer'],
},
)

__all__ = ['DetectorExplorer', 'load_detectors', 'load_monitors']
Loading
Loading