ria-toolkit-oss/src/ria_toolkit_oss_cli/ria_toolkit_oss
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
..
__init__.py moved the cli directory location 2025-12-15 13:51:17 -05:00
annotate.py Port annotation system from utils and fix ria package imports 2026-03-31 13:34:00 -04:00
capture.py Merge branch 'main' of https://riahub.ai/qoherent/ria-toolkit-oss into viewfix 2026-01-29 13:23:54 -05:00
combine.py moved the cli directory location 2025-12-15 13:51:17 -05:00
commands.py Port annotation system from utils and fix ria package imports 2026-03-31 13:34:00 -04:00
common.py Fixed imports and capture error message 2025-12-15 15:19:49 -05:00
config.py moved the cli directory location 2025-12-15 13:51:17 -05:00
convert.py moved the cli directory location 2025-12-15 13:51:17 -05:00
discover.py Merge branch 'cli' of https://riahub.ai/qoherent/ria-toolkit-oss into cli 2025-12-15 15:08:16 -05:00
generate.py Port annotation system from utils and fix ria package imports 2026-03-31 13:34:00 -04:00
init.py moved the cli directory location 2025-12-15 13:51:17 -05:00
split.py moved the cli directory location 2025-12-15 13:51:17 -05:00
transform.py Port annotation system from utils and fix ria package imports 2026-03-31 13:34:00 -04:00
transmit.py moved the cli directory location 2025-12-15 13:51:17 -05:00
view.py Port annotation system from utils and fix ria package imports 2026-03-31 13:34:00 -04:00