Commit Graph

8 Commits

Author SHA1 Message Date
F fordg1
11d9532b5c Port annotation system from utils and fix ria package imports
Annotations package (new):
- Add threshold_qualifier with 3-pass hysteresis detector (Pass 1: strong
  bursts, Pass 2: weak residual bursts, Pass 3: macro-window faint burst
  detection), auto window_size scaled to 1ms, channel selection, and
  stable noise_floor baseline throughout
- Add energy_detector, cusum_annotator, parallel_signal_separator,
  qualify_slice, signal_isolation, annotation_transforms
- Add __init__.py exporting the four functions used by the CLI
- Fix all imports from utils.data → ria_toolkit_oss.datatypes

CLI annotate command (new):
- Port full annotate CLI from utils including list, add, remove, clear,
  energy, cusum, threshold, and separate subcommands
- Fix imports from utils.* → ria_toolkit_oss.* and utils_cli.* →
  ria_toolkit_oss_cli.*
- Safe overwrite logic: _annotated files always writable, originals
  protected; --overwrite writes in-place only on _annotated inputs

CLI view command:
- Add 'annotations' as a valid --type, wiring view_annotations from
  view_signal

view_signal.py:
- Add view_annotations function with blue/purple alternating palette and
  threshold %-sorted drawing order (lower % renders on top)

recording.py (datatypes):
- Fix lazy imports in to_wav() and to_blue() from utils.io → ria_toolkit_oss.io

io/recording.py:
- Add compatibility shim in from_npy to remap utils.data.annotation.Annotation
  to ria_toolkit_oss.datatypes.annotation.Annotation when loading .npy files
  pickled by the utils package
2026-03-31 13:34:00 -04:00
823a0aba85 Linting
Some checks failed
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 10s
Build Project / Build Project (3.10) (pull_request) Successful in 31s
Build Project / Build Project (3.11) (pull_request) Successful in 32s
Build Project / Build Project (3.12) (pull_request) Successful in 29s
Test with tox / Test with tox (3.11) (pull_request) Successful in 22s
Test with tox / Test with tox (3.10) (pull_request) Failing after 29s
Test with tox / Test with tox (3.12) (pull_request) Successful in 23s
2026-01-30 17:43:10 -05:00
f5209233d7 - Changed font size to be smaller
- Changed graph size to be larger
2026-01-29 16:00:40 -05:00
14539d9269 removed iq_channel_models in transform.py
removed view_annotations from view.py
2025-12-09 14:38:49 -05:00
18395a0af8 adding view channels to view_signal 2025-12-09 14:12:11 -05:00
e88cfafc50 Added garbage collection to viewers to prevent crashing, minor fixes to plots
All checks were successful
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 15s
Test with tox / Test with tox (3.12) (pull_request) Successful in 32s
Test with tox / Test with tox (3.11) (pull_request) Successful in 37s
Build Project / Build Project (3.10) (pull_request) Successful in 51s
Test with tox / Test with tox (3.10) (pull_request) Successful in 45s
Build Project / Build Project (3.12) (pull_request) Successful in 51s
Build Project / Build Project (3.11) (pull_request) Successful in 55s
2025-11-17 13:51:27 -05:00
4ba0dc170e Updated docstrings
All checks were successful
Test with tox / Test with tox (3.11) (pull_request) Successful in 30s
Test with tox / Test with tox (3.10) (pull_request) Successful in 40s
Build Project / Build Project (3.10) (pull_request) Successful in 48s
Build Project / Build Project (3.11) (pull_request) Successful in 47s
Build Project / Build Project (3.12) (pull_request) Successful in 47s
Test with tox / Test with tox (3.12) (pull_request) Successful in 28s
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 2m28s
2025-10-24 18:17:17 -04:00
172f8e0ca3 Added view folder and view methods in Recording 2025-10-24 17:43:28 -04:00