Skip to content
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d969bfc
feat(asr): add denoisers and unit coverage
snesmaeili May 6, 2026
f693f01
test(asr): add MATLAB and reference parity checks
snesmaeili May 6, 2026
03fcfab
docs(asr): add guides, examples, and implementation plan
snesmaeili May 6, 2026
61f0528
fix(asr): bound calibration and processing covariance memory
snesmaeili May 25, 2026
c7156e2
feat(asr): add real-data and paper-driven validation scripts
snesmaeili May 25, 2026
2068832
docs(asr): add Mullen/Kothe/Chang paper-replication tutorial
snesmaeili May 25, 2026
1524b39
test(asr): skip python-meegkit parity when pyriemann unavailable
snesmaeili May 25, 2026
8ba1f33
style: apply ruff format to ASR module, parity scripts, and gallery
snesmaeili May 25, 2026
eec07dd
chore: gitignore tool metadata, validation outputs, paper mirrors
snesmaeili May 25, 2026
0c5cee4
feat(asr): add Juggler/adaptive/riemannian-windowed variants, viz mod…
snesmaeili May 29, 2026
783ea0e
chore(asr): add paper-validation, robustness, and figure-regeneration…
snesmaeili May 29, 2026
5ae5477
style: apply ruff lint and format across viz, tests, and benchmark sc…
snesmaeili May 29, 2026
e86a36f
docs(asr): rename basic-usage example to avoid sphinx-gallery filenam…
snesmaeili May 29, 2026
654289f
style: reformat with ruff 0.15 to match CI
snesmaeili May 29, 2026
d423703
test(asr): cover viz error paths and JugglerASR parameter guards
snesmaeili May 29, 2026
0694858
ci: set codecov patch target to 85% for feature-sized diffs
snesmaeili May 29, 2026
000b23c
Merge branch 'main' into feature/ASR
snesmaeili Jun 4, 2026
1b6ec61
fix(asr): address PR review feedback (cleanup, changelog, MEG, module…
snesmaeili Jun 4, 2026
cb329db
refactor(asr): trim ASR viz to generic + ASR-specific, reformat MW tests
snesmaeili Jun 4, 2026
4e92722
refactor(asr): extract ASRState into _types.py
snesmaeili Jun 4, 2026
63aac63
refactor(asr): extract validation and statistics-filter helpers
snesmaeili Jun 4, 2026
0408e15
refactor(asr): extract distribution fitting and covariance helpers
snesmaeili Jun 4, 2026
306a88e
refactor(asr): extract windowing and clean-window selection helpers
snesmaeili Jun 4, 2026
9d3f65a
refactor(asr): extract calibration into _calibration.py
snesmaeili Jun 5, 2026
67b4eff
refactor(asr): extract processing/reconstruction and QA helpers
snesmaeili Jun 5, 2026
6d65e68
refactor(asr): move ASR estimator to _estimator.py; core.py is a facade
snesmaeili Jun 5, 2026
20cd8d6
refactor(asr): repoint adaptive/juggler/__init__ off the core facade
snesmaeili Jun 5, 2026
8836b4b
refactor(asr): relocate ASR tests into a tests/asr/ subpackage
snesmaeili Jun 5, 2026
45f12ca
docs(asr): add filter->ASR->ICA pipeline section; drop internal repor…
snesmaeili Jun 5, 2026
5d90e54
feat(asr): make verbose drive logger-based progress output
snesmaeili Jun 5, 2026
0e4df58
refactor(asr): make the asr package mypy-clean
snesmaeili Jun 5, 2026
d4679f4
docs(asr): add 8 paper-grounded gallery examples (06-13)
snesmaeili Jun 5, 2026
c70043c
docs(asr): fix sphinx -W warnings in new examples
snesmaeili Jun 5, 2026
c6bb21d
docs(asr): make plot_08 variant comparison honest + readable
snesmaeili Jun 5, 2026
4795546
Merge pull request #40 from mne-tools/refactor/asr-core-split
BabaSanfour Jun 9, 2026
0c761a7
Merge pull request #41 from mne-tools/examples/asr-gallery
BabaSanfour Jun 9, 2026
6d1fd7d
Address PR #36 review: viz overlay kwargs, test reorg, cleanup
snesmaeili Jun 10, 2026
8688b8b
Refactor ASR module internals, examples, and add unit tests
BabaSanfour Jun 16, 2026
aadd1b4
fix errors
BabaSanfour Jun 16, 2026
25c6aba
bump codecov/codecov-action from 6 to 7
BabaSanfour Jun 16, 2026
46ca3e1
fix linting
BabaSanfour Jun 16, 2026
805241b
fix docs
BabaSanfour Jun 16, 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
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dist/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.cache/
.nox/
.coverage
coverage.xml
Expand All @@ -18,6 +19,7 @@ coverage.xml
# External reference directories (not part of package)
matlab_repos/
zapline-plus/
refs/

# Generated files (allow docs images)
*.png
Expand Down Expand Up @@ -53,3 +55,20 @@ condescending-liskov/data/
cov_report.txt
*.eeg
*.mat

# Tool / IDE / agent metadata
.serena/
.claude/

# Local validation outputs
reports/

# Paper full-text mirrors (do not redistribute; convert locally as needed)
docs/asr/papers_md/

# User-specific dev utilities (require local paths or cluster account)
scripts/convert_asr_papers.py
scripts/fir_run_asr_paper_validation.sbatch

# Tutorial WIPs being staged on other branches
examples/tutorials/Paper10_*.ipynb
7 changes: 6 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ coverage:
threshold: 1% # Allow 1% drop
patch:
default:
target: auto # Diff must be covered at least as well as the project
# New code should be well covered, but need not exactly match the
# mature package's per-line coverage (defensive guards, plotting
# branches, and deep numerical fallbacks). 85% is a solid bar, well
# above Codecov's 70% default.
target: 85%
threshold: 2%

comment:
layout: "reach, diff, flags, files"
Expand Down
27 changes: 27 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
API reference
=============

ASR
---
.. autosummary::
:toctree: generated/
:nosignatures:

mne_denoise.asr.ASR
mne_denoise.asr.AdaptiveASR
mne_denoise.asr.JugglerASR
mne_denoise.asr.ASRState
mne_denoise.asr.calibrate_asr
mne_denoise.asr.compute_asr_rejection_mask
mne_denoise.asr.compute_asr_qa_metrics
mne_denoise.asr.fit_eeg_distribution
mne_denoise.asr.process_asr
mne_denoise.asr.select_juggler_reference_samples

DSS
---
.. autosummary::
Expand Down Expand Up @@ -76,6 +93,16 @@ Visualization
:toctree: generated/
:nosignatures:

mne_denoise.viz.plot_asr_overlay
mne_denoise.viz.plot_asr_cutoff_sweep
mne_denoise.viz.plot_asr_psd_comparison
mne_denoise.viz.plot_asr_variance_topomap
mne_denoise.viz.plot_asr_repair_timeline
mne_denoise.viz.plot_asr_calibration_fraction
mne_denoise.viz.plot_asr_component_reconstruction
mne_denoise.viz.plot_asr_blink_reduction
mne_denoise.viz.plot_asr_grand_average
mne_denoise.viz.plot_asr_method_comparison
mne_denoise.viz.plot_component_summary
mne_denoise.viz.plot_component_time_series
mne_denoise.viz.plot_component_spectrogram
Expand Down
Loading