commkit 3.8.0__tar.gz → 3.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- commkit-3.10.0/.github/icon.svg +1 -0
- commkit-3.10.0/.github/logo.svg +1 -0
- {commkit-3.8.0 → commkit-3.10.0}/.github/workflows/ci.yml +6 -5
- {commkit-3.8.0 → commkit-3.10.0}/AGENTS.md +14 -11
- {commkit-3.8.0 → commkit-3.10.0}/CHANGELOG.md +66 -1
- {commkit-3.8.0 → commkit-3.10.0}/PKG-INFO +15 -7
- {commkit-3.8.0 → commkit-3.10.0}/README.md +14 -6
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_coding.py +6 -19
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_signal_pipeline.py +10 -53
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/workloads.py +51 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/__init__.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_array.py +27 -25
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_circular.py +2 -2
- commkit-3.10.0/commkit/_cuda/__init__.py +81 -0
- commkit-3.10.0/commkit/_cuda/bps.py +255 -0
- commkit-3.10.0/commkit/_cuda/coding.py +120 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/compiler.py +30 -0
- commkit-3.10.0/commkit/_cuda/filters.py +207 -0
- commkit-3.10.0/commkit/_cuda/llr.py +196 -0
- commkit-3.10.0/commkit/_cuda/selftest.py +36 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_interpolation.py +11 -10
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_numba_frequency.py +3 -3
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_numba_interpolation.py +1 -1
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/_common.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/allan.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/interferometry.py +5 -5
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/linewidth/__init__.py +9 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/linewidth/dsh.py +7 -7
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/linewidth/phase.py +10 -13
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/trajectory.py +4 -11
- {commkit-3.8.0 → commkit-3.10.0}/commkit/backend.py +10 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/_numba_loops.py +87 -49
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/algebraic.py +10 -26
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/base.py +11 -5
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/convolutional.py +10 -30
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/crc.py +8 -11
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/exit.py +6 -7
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/interleaving.py +4 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/ldpc.py +15 -31
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/linear.py +14 -25
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/performance.py +6 -9
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/polar.py +14 -32
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/product.py +25 -35
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/ratematch.py +15 -18
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/shaping.py +18 -40
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/turbo.py +10 -21
- {commkit-3.8.0 → commkit-3.10.0}/commkit/core/__init__.py +5 -1
- commkit-3.10.0/commkit/core/_signal_input.py +418 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/core/frame.py +5 -8
- {commkit-3.8.0 → commkit-3.10.0}/commkit/core/generation.py +1 -1
- {commkit-3.8.0 → commkit-3.10.0}/commkit/core/preamble.py +1 -1
- {commkit-3.8.0 → commkit-3.10.0}/commkit/core/signal.py +6 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_block/_blind.py +84 -53
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_block/_dd.py +147 -126
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_block/_engine.py +5 -5
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_common.py +32 -85
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_numba_loops.py +3 -4
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_sequential/__init__.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_sequential/_blind.py +10 -27
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_sequential/_dd.py +24 -59
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_sequential/_setup.py +12 -14
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/linear.py +18 -20
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/pilots.py +5 -8
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/polarization.py +122 -72
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/fiber/compensation.py +20 -22
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/fiber/estimation.py +32 -34
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/linear.py +19 -24
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/pulses.py +1 -1
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/response.py +118 -18
- {commkit-3.8.0 → commkit-3.10.0}/commkit/frequency.py +88 -139
- {commkit-3.8.0 → commkit-3.10.0}/commkit/impairments/fiber_channel.py +20 -20
- {commkit-3.8.0 → commkit-3.10.0}/commkit/impairments/frontend.py +25 -27
- {commkit-3.8.0 → commkit-3.10.0}/commkit/impairments/noise.py +33 -37
- {commkit-3.8.0 → commkit-3.10.0}/commkit/impairments/source.py +13 -13
- {commkit-3.8.0 → commkit-3.10.0}/commkit/io.py +20 -22
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/_demap.py +15 -34
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/_numba_llr.py +23 -13
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/bits.py +5 -21
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/constellation.py +11 -18
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/gray.py +33 -79
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/llr.py +5 -15
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/shaping.py +3 -3
- {commkit-3.8.0 → commkit-3.10.0}/commkit/math.py +7 -1
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/_common.py +9 -25
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/awgn.py +2 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/error_rates.py +14 -13
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/information.py +11 -14
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/quality.py +10 -11
- {commkit-3.8.0 → commkit-3.10.0}/commkit/multirate.py +27 -36
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/__init__.py +4 -2
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/analysis.py +60 -39
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/coding.py +9 -12
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/constellation.py +44 -40
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/equalizer.py +14 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/eye.py +32 -21
- commkit-3.10.0/commkit/plotting/filter_response.py +353 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/frequency.py +39 -28
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/recovery.py +42 -31
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/spectral.py +86 -30
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/theme.py +176 -29
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/timing.py +9 -10
- {commkit-3.8.0 → commkit-3.10.0}/commkit/plotting/waveform.py +12 -11
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/__init__.py +8 -9
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/_common.py +29 -55
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/_numba_loops.py +6 -3
- commkit-3.10.0/commkit/recovery/bps.py +308 -0
- commkit-3.10.0/commkit/recovery/carrier_phase.py +214 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/corrections.py +19 -38
- commkit-3.10.0/commkit/recovery/estimates.py +133 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/pilots.py +19 -17
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/pll.py +6 -12
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/tikhonov.py +15 -49
- {commkit-3.8.0 → commkit-3.10.0}/commkit/recovery/viterbi_viterbi.py +6 -6
- {commkit-3.8.0 → commkit-3.10.0}/commkit/spectral.py +15 -15
- {commkit-3.8.0 → commkit-3.10.0}/commkit/timing/_numba_loops.py +3 -3
- {commkit-3.8.0 → commkit-3.10.0}/commkit/timing/clock_recovery.py +24 -38
- {commkit-3.8.0 → commkit-3.10.0}/commkit/timing/synchronization.py +151 -155
- {commkit-3.8.0 → commkit-3.10.0}/examples/00-getting-started.ipynb +117 -39
- {commkit-3.8.0 → commkit-3.10.0}/examples/01-constellations-and-bit-mapping.ipynb +1 -7
- {commkit-3.8.0 → commkit-3.10.0}/examples/02-spectral-analysis.ipynb +86 -16
- {commkit-3.8.0 → commkit-3.10.0}/examples/03-digital-filters.ipynb +113 -23
- {commkit-3.8.0 → commkit-3.10.0}/examples/04-pulse-shaping-and-matched-filtering.ipynb +59 -33
- {commkit-3.8.0 → commkit-3.10.0}/examples/05-multirate-and-resampling.ipynb +3 -9
- {commkit-3.8.0 → commkit-3.10.0}/examples/06-awgn-and-performance-metrics.ipynb +1 -7
- {commkit-3.8.0 → commkit-3.10.0}/examples/07-channel-coding.ipynb +8 -18
- {commkit-3.8.0 → commkit-3.10.0}/examples/08-probabilistic-shaping-and-coded-modulation.ipynb +4 -11
- {commkit-3.8.0 → commkit-3.10.0}/examples/09-laser-phase-noise.ipynb +3 -8
- {commkit-3.8.0 → commkit-3.10.0}/examples/10-front-end-impairments.ipynb +80 -12
- {commkit-3.8.0 → commkit-3.10.0}/examples/11-frame-synchronization-and-timing.ipynb +1 -6
- {commkit-3.8.0 → commkit-3.10.0}/examples/12-sampling-clock-recovery.ipynb +4 -9
- {commkit-3.8.0 → commkit-3.10.0}/examples/13-frequency-offset-estimation.ipynb +11 -25
- {commkit-3.8.0 → commkit-3.10.0}/examples/14-blind-carrier-phase-recovery.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/15-pilot-aided-carrier-recovery.ipynb +4 -10
- {commkit-3.8.0 → commkit-3.10.0}/examples/16-linear-channel-equalization.ipynb +56 -35
- {commkit-3.8.0 → commkit-3.10.0}/examples/17-adaptive-equalization.ipynb +1 -7
- {commkit-3.8.0 → commkit-3.10.0}/examples/18-blind-equalization.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/19-polarization-multiplexing.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/20-chromatic-dispersion.ipynb +38 -32
- {commkit-3.8.0 → commkit-3.10.0}/examples/21-nonlinear-fiber-and-backpropagation.ipynb +13 -18
- {commkit-3.8.0 → commkit-3.10.0}/examples/22-direct-and-self-coherent-detection.ipynb +40 -14
- {commkit-3.8.0 → commkit-3.10.0}/examples/23-fec-in-optical-standards.ipynb +1 -6
- {commkit-3.8.0 → commkit-3.10.0}/examples/24-coherent-transceiver-end-to-end.ipynb +3 -11
- {commkit-3.8.0 → commkit-3.10.0}/examples/25-carrier-phase-characterization.ipynb +19 -20
- {commkit-3.8.0 → commkit-3.10.0}/examples/26-laser-linewidth-self-heterodyne.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/27-laser-linewidth-short-delay-and-flicker.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/28-laser-linewidth-self-homodyne-iq.ipynb +1 -6
- {commkit-3.8.0 → commkit-3.10.0}/examples/29-measurement-template-self-heterodyne.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/30-measurement-template-self-homodyne-iq.ipynb +0 -5
- {commkit-3.8.0 → commkit-3.10.0}/examples/README.md +5 -5
- {commkit-3.8.0 → commkit-3.10.0}/pyproject.toml +5 -3
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_fm_noise.py +5 -9
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_interferometry.py +1 -1
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_linewidth.py +42 -1
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_coding_base.py +28 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_ldpc_kernel.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_shaping.py +3 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/__init__.py +2 -4
- commkit-3.10.0/tests/common/conversions.py +26 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/metrics.py +6 -23
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/signals.py +54 -2
- commkit-3.10.0/tests/common/user_block.py +26 -0
- commkit-3.10.0/tests/core/test_signal_input.py +248 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_cpr.py +15 -30
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_cs_kernel.py +4 -4
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_state.py +12 -14
- {commkit-3.8.0 → commkit-3.10.0}/tests/impairments/test_fiber_channel_nonlinear.py +37 -45
- {commkit-3.8.0 → commkit-3.10.0}/tests/mapping/test_constellation.py +11 -4
- {commkit-3.8.0 → commkit-3.10.0}/tests/mapping/test_llr.py +10 -6
- {commkit-3.8.0 → commkit-3.10.0}/tests/metrics/test_information.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_analysis.py +4 -3
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_equalizer.py +20 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_eye.py +23 -1
- commkit-3.10.0/tests/plotting/test_plot_filter_response.py +597 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_frequency.py +6 -13
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_recovery.py +5 -12
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_spectral.py +97 -1
- commkit-3.10.0/tests/plotting/test_plot_theme.py +395 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_timing.py +0 -8
- {commkit-3.8.0 → commkit-3.10.0}/tests/plugins/precision_trace.py +4 -4
- {commkit-3.8.0 → commkit-3.10.0}/tests/plugins/transfer_trace.py +6 -3
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_bps.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_pilots.py +2 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_tikhonov.py +2 -15
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_api_contracts.py +59 -53
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_array.py +4 -3
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_examples.py +13 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_fiber.py +14 -28
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_filter_response.py +134 -2
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_filtering.py +9 -16
- {commkit-3.8.0 → commkit-3.10.0}/uv.lock +1 -1
- commkit-3.8.0/.github/icon.svg +0 -1
- commkit-3.8.0/.github/logo.svg +0 -1
- commkit-3.8.0/commkit/_cuda/__init__.py +0 -915
- commkit-3.8.0/commkit/core/_signal_adapter.py +0 -198
- commkit-3.8.0/commkit/plotting/filter_response.py +0 -188
- commkit-3.8.0/commkit/recovery/bps.py +0 -281
- commkit-3.8.0/commkit/recovery/carrier_phase.py +0 -339
- commkit-3.8.0/tests/common/conversions.py +0 -47
- commkit-3.8.0/tests/core/test_signal_adapter.py +0 -107
- commkit-3.8.0/tests/plotting/test_plot_filter_response.py +0 -120
- commkit-3.8.0/tests/plotting/test_plot_theme.py +0 -177
- {commkit-3.8.0 → commkit-3.10.0}/.gitattributes +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/.github/workflows/publish.yml +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/.gitignore +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/.python-version +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/LICENSE +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0002_pre_v2.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0003_v2_0.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0004_fiber_dbp.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0005_gpu_decoder_path.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0006_perf_cleanup.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0007_v3_0.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/baselines/Linux-CPython-3.14-64bit/0008_v3_1.json +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_block_blind.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_block_lms.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_bps.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_equalizers.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_fiber.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_filters.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_gardner.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_import.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_llr.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_mapping.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/bench_sync_misc.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/benchutils.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/conftest.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/benchmarks/record_baseline.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_bits.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_constants.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/graphs.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/algebraic.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/bps_anchor.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/bps_min_d2.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/cs_block.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/iir.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/interpolate.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/ldpc.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/llr.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_cuda/src/selftest.cu +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_dispersion.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_fft.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_fiber.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_overlap_save.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_peaks.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_random.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/_sequences.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/drift.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/fm_noise.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/analysis/linewidth/result.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/_galois.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/_gf2.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/coding/_ldpc_tables.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/_block/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/equalization/result.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/filtering/fiber/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/impairments/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/logger.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/mapping/_lattice.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/metrics/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/py.typed +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/smoothing.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/commkit/timing/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/scripts/sanitize.sh +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_allan.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_drift.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/analysis/test_trajectory.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_algebraic.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_convolutional.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_crc.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_exit.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_gf2.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_interleaving.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_ldpc.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_ldpc_exit.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_ldpc_tables.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_linear_codes.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_performance.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_polar.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_product.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_ratematch.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/coding/test_turbo.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/coding.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/kernel_utils.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/memory.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/periodic.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/reference_impl.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/scoring.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/common/theory.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/conftest.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_frame.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_generation.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_preamble.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_psqam.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_signal.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/core/test_signal_mimo.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_blind.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_block.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_bps_kernel.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_cold_start.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_equalizer_oracles.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_linear.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_mimo.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_polarization.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_result.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_sequential.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/equalization/test_winit.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/impairments/test_fiber_channel_linear.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/impairments/test_frontend.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/impairments/test_noise.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/impairments/test_source.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/mapping/test_bits.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/mapping/test_gray.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/mapping/test_lattice.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/metrics/test_awgn.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/metrics/test_common.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/metrics/test_error_rates.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/metrics/test_quality.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_coding.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_constellation.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plotting/test_plot_waveform.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/plugins/__init__.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_carrier_phase.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_corrections.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_joint.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_pll.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_recovery_oracles.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/recovery/test_viterbi_viterbi.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_backend.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_bit_packing.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_cuda_infra.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_dispersion.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_frequency.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_import_hygiene.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_interpolation.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_io.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_logger.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_math.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_multirate.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_peaks.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_pulse_shaping.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_receiver_chain.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_signal_pipeline.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_smoothing.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_spectral.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/test_working_memory.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/timing/test_clock_recovery.py +0 -0
- {commkit-3.8.0 → commkit-3.10.0}/tests/timing/test_synchronization.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="17 25 256 256" role="img" aria-labelledby="title"><title id="title">CommKit — square wavelet</title><defs><linearGradient id="icon-ink" x1="0" y1="28" x2="0" y2="278" gradientUnits="userSpaceOnUse"><stop offset="0.000" stop-color="#fbbe23" /><stop offset="0.050" stop-color="#fcb216" /><stop offset="0.100" stop-color="#fca60c" /><stop offset="0.150" stop-color="#fb9b06" /><stop offset="0.200" stop-color="#fa9008" /><stop offset="0.250" stop-color="#f8850f" /><stop offset="0.300" stop-color="#f57b17" /><stop offset="0.350" stop-color="#f1711f" /><stop offset="0.400" stop-color="#ec6726" /><stop offset="0.450" stop-color="#e75e2e" /><stop offset="0.500" stop-color="#e15635" /><stop offset="0.550" stop-color="#da4e3c" /><stop offset="0.600" stop-color="#d34743" /><stop offset="0.650" stop-color="#cb4149" /><stop offset="0.700" stop-color="#c33b4f" /><stop offset="0.750" stop-color="#ba3655" /><stop offset="0.800" stop-color="#b1325a" /><stop offset="0.850" stop-color="#a82e5f" /><stop offset="0.900" stop-color="#9f2a63" /><stop offset="0.950" stop-color="#952667" /><stop offset="1.000" stop-color="#8c2369" /></linearGradient><mask id="signal-cutout" maskUnits="userSpaceOnUse" x="20" y="20" width="260" height="260"><rect x="20" y="20" width="260" height="260" fill="white" /><path d="M20.000000,159.324111 C20.000000,159.851120 20.032938,160.213439 20.098814,160.411067 C20.164690,160.608696 20.296443,160.740448 20.494071,160.806324 C20.691700,160.872200 21.054018,160.905138 21.581028,160.905138 L44.513834,160.905138 C45.040843,160.905138 45.403162,160.938077 45.600790,161.003953 C45.798419,161.069829 45.930171,161.201581 45.996047,161.399210 C46.061923,161.596838 46.094862,161.959157 46.094862,162.486166 L46.094862,194.324111 C46.094862,194.851120 46.127800,195.213439 46.193676,195.411067 C46.259552,195.608696 46.391304,195.740448 46.588933,195.806324 C46.786561,195.872200 47.148880,195.905138 47.675889,195.905138 L86.324111,195.905138 C86.851120,195.905138 87.213439,195.872200 87.411067,195.806324 C87.608696,195.740448 87.740448,195.608696 87.806324,195.411067 C87.872200,195.213439 87.905138,194.851120 87.905138,194.324111 L87.905138,134.486166 C87.905138,133.959157 87.938077,133.596838 88.003953,133.399210 C88.069829,133.201581 88.201581,133.069829 88.399210,133.003953 C88.596838,132.938077 88.959157,132.905138 89.486166,132.905138 L96.513834,132.905138 C97.040843,132.905138 97.403162,132.938077 97.600790,133.003953 C97.798419,133.069829 97.930171,133.201581 97.996047,133.399210 C98.061923,133.596838 98.094862,133.959157 98.094862,134.486166 L98.094862,234.324111 C98.094862,234.851120 98.127800,235.213439 98.193676,235.411067 C98.259552,235.608696 98.391304,235.740448 98.588933,235.806324 C98.786561,235.872200 99.148880,235.905138 99.675889,235.905138 L138.324111,235.905138 C138.851120,235.905138 139.213439,235.872200 139.411067,235.806324 C139.608696,235.740448 139.740448,235.608696 139.806324,235.411067 C139.872200,235.213439 139.905138,234.851120 139.905138,234.324111 L139.905138,87.486166 C139.905138,86.959157 139.938077,86.596838 140.003953,86.399210 C140.069829,86.201581 140.201581,86.069829 140.399210,86.003953 C140.596838,85.938077 140.959157,85.905138 141.486166,85.905138 L148.513834,85.905138 C149.040843,85.905138 149.403162,85.938077 149.600790,86.003953 C149.798419,86.069829 149.930171,86.201581 149.996047,86.399210 C150.061923,86.596838 150.094862,86.959157 150.094862,87.486166 L150.094862,234.324111 C150.094862,234.851120 150.127800,235.213439 150.193676,235.411067 C150.259552,235.608696 150.391304,235.740448 150.588933,235.806324 C150.786561,235.872200 151.148880,235.905138 151.675889,235.905138 L190.324111,235.905138 C190.851120,235.905138 191.213439,235.872200 191.411067,235.806324 C191.608696,235.740448 191.740448,235.608696 191.806324,235.411067 C191.872200,235.213439 191.905138,234.851120 191.905138,234.324111 L191.905138,134.486166 C191.905138,133.959157 191.938077,133.596838 192.003953,133.399210 C192.069829,133.201581 192.201581,133.069829 192.399210,133.003953 C192.596838,132.938077 192.959157,132.905138 193.486166,132.905138 L200.513834,132.905138 C201.040843,132.905138 201.403162,132.938077 201.600790,133.003953 C201.798419,133.069829 201.930171,133.201581 201.996047,133.399210 C202.061923,133.596838 202.094862,133.959157 202.094862,134.486166 L202.094862,194.324111 C202.094862,194.851120 202.127800,195.213439 202.193676,195.411067 C202.259552,195.608696 202.391304,195.740448 202.588933,195.806324 C202.786561,195.872200 203.148880,195.905138 203.675889,195.905138 L242.324111,195.905138 C242.851120,195.905138 243.213439,195.872200 243.411067,195.806324 C243.608696,195.740448 243.740448,195.608696 243.806324,195.411067 C243.872200,195.213439 243.905138,194.851120 243.905138,194.324111 L243.905138,162.486166 C243.905138,161.959157 243.938077,161.596838 244.003953,161.399210 C244.069829,161.201581 244.201581,161.069829 244.399210,161.003953 C244.596838,160.938077 244.959157,160.905138 245.486166,160.905138 L273.418972,160.905138 C273.945982,160.905138 274.308300,160.872200 274.505929,160.806324 C274.703557,160.740448 274.835310,160.608696 274.901186,160.411067 C274.967062,160.213439 275.000000,159.851120 275.000000,159.324111 L275.000000,146.675889 C275.000000,146.148880 274.967062,145.786561 274.901186,145.588933 C274.835310,145.391304 274.703557,145.259552 274.505929,145.193676 C274.308300,145.127800 273.945982,145.094862 273.418972,145.094862 L229.675889,145.094862 C229.148880,145.094862 228.786561,145.127800 228.588933,145.193676 C228.391304,145.259552 228.259552,145.391304 228.193676,145.588933 C228.127800,145.786561 228.094862,146.148880 228.094862,146.675889 L228.094862,178.513834 C228.094862,179.040843 228.061923,179.403162 227.996047,179.600790 C227.930171,179.798419 227.798419,179.930171 227.600790,179.996047 C227.403162,180.061923 227.040843,180.094862 226.513834,180.094862 L219.486166,180.094862 C218.959157,180.094862 218.596838,180.061923 218.399210,179.996047 C218.201581,179.930171 218.069829,179.798419 218.003953,179.600790 C217.938077,179.403162 217.905138,179.040843 217.905138,178.513834 L217.905138,118.675889 C217.905138,118.148880 217.872200,117.786561 217.806324,117.588933 C217.740448,117.391304 217.608696,117.259552 217.411067,117.193676 C217.213439,117.127800 216.851120,117.094862 216.324111,117.094862 L177.675889,117.094862 C177.148880,117.094862 176.786561,117.127800 176.588933,117.193676 C176.391304,117.259552 176.259552,117.391304 176.193676,117.588933 C176.127800,117.786561 176.094862,118.148880 176.094862,118.675889 L176.094862,218.513834 C176.094862,219.040843 176.061923,219.403162 175.996047,219.600790 C175.930171,219.798419 175.798419,219.930171 175.600790,219.996047 C175.403162,220.061923 175.040843,220.094862 174.513834,220.094862 L167.486166,220.094862 C166.959157,220.094862 166.596838,220.061923 166.399210,219.996047 C166.201581,219.930171 166.069829,219.798419 166.003953,219.600790 C165.938077,219.403162 165.905138,219.040843 165.905138,218.513834 L165.905138,71.675889 C165.905138,71.148880 165.872200,70.786561 165.806324,70.588933 C165.740448,70.391304 165.608696,70.259552 165.411067,70.193676 C165.213439,70.127800 164.851120,70.094862 164.324111,70.094862 L125.675889,70.094862 C125.148880,70.094862 124.786561,70.127800 124.588933,70.193676 C124.391304,70.259552 124.259552,70.391304 124.193676,70.588933 C124.127800,70.786561 124.094862,71.148880 124.094862,71.675889 L124.094862,218.513834 C124.094862,219.040843 124.061923,219.403162 123.996047,219.600790 C123.930171,219.798419 123.798419,219.930171 123.600790,219.996047 C123.403162,220.061923 123.040843,220.094862 122.513834,220.094862 L115.486166,220.094862 C114.959157,220.094862 114.596838,220.061923 114.399210,219.996047 C114.201581,219.930171 114.069829,219.798419 114.003953,219.600790 C113.938077,219.403162 113.905138,219.040843 113.905138,218.513834 L113.905138,118.675889 C113.905138,118.148880 113.872200,117.786561 113.806324,117.588933 C113.740448,117.391304 113.608696,117.259552 113.411067,117.193676 C113.213439,117.127800 112.851120,117.094862 112.324111,117.094862 L73.675889,117.094862 C73.148880,117.094862 72.786561,117.127800 72.588933,117.193676 C72.391304,117.259552 72.259552,117.391304 72.193676,117.588933 C72.127800,117.786561 72.094862,118.148880 72.094862,118.675889 L72.094862,178.513834 C72.094862,179.040843 72.061923,179.403162 71.996047,179.600790 C71.930171,179.798419 71.798419,179.930171 71.600790,179.996047 C71.403162,180.061923 71.040843,180.094862 70.513834,180.094862 L63.486166,180.094862 C62.959157,180.094862 62.596838,180.061923 62.399210,179.996047 C62.201581,179.930171 62.069829,179.798419 62.003953,179.600790 C61.938077,179.403162 61.905138,179.040843 61.905138,178.513834 L61.905138,146.675889 C61.905138,146.148880 61.872200,145.786561 61.806324,145.588933 C61.740448,145.391304 61.608696,145.259552 61.411067,145.193676 C61.213439,145.127800 60.851120,145.094862 60.324111,145.094862 L21.581028,145.094862 C21.054018,145.094862 20.691700,145.127800 20.494071,145.193676 C20.296443,145.259552 20.164690,145.391304 20.098814,145.588933 C20.032938,145.786561 20.000000,146.148880 20.000000,146.675889 Z" fill="black" /></mask></defs><g id="CommKit-symbol"><path d="M145 28 L253 90 V216 L145 278 L37 216 V90 Z" fill="url(#icon-ink)" mask="url(#signal-cutout)" /></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1712" height="360" viewBox="0 0 1712 360" role="img" aria-labelledby="title desc"><title id="title">CommKit — square wavelet</title><desc id="desc">Square waveform with seven equal-width alternating plateaus, tapering outer amplitudes, mirrored geometry and straight midline ends. Filled waveform outline uses the same subtle three-cubic corner profile as Honk internal cutouts, scaled to ten percent of the line width. Vertical Inferno gradient.</desc><defs><linearGradient id="ink" x1="0" y1="48" x2="0" y2="248" gradientUnits="userSpaceOnUse"><stop offset="0.000" stop-color="#fbbe23" /><stop offset="0.050" stop-color="#fcb216" /><stop offset="0.100" stop-color="#fca60c" /><stop offset="0.150" stop-color="#fb9b06" /><stop offset="0.200" stop-color="#fa9008" /><stop offset="0.250" stop-color="#f8850f" /><stop offset="0.300" stop-color="#f57b17" /><stop offset="0.350" stop-color="#f1711f" /><stop offset="0.400" stop-color="#ec6726" /><stop offset="0.450" stop-color="#e75e2e" /><stop offset="0.500" stop-color="#e15635" /><stop offset="0.550" stop-color="#da4e3c" /><stop offset="0.600" stop-color="#d34743" /><stop offset="0.650" stop-color="#cb4149" /><stop offset="0.700" stop-color="#c33b4f" /><stop offset="0.750" stop-color="#ba3655" /><stop offset="0.800" stop-color="#b1325a" /><stop offset="0.850" stop-color="#a82e5f" /><stop offset="0.900" stop-color="#9f2a63" /><stop offset="0.950" stop-color="#952667" /><stop offset="1.000" stop-color="#8c2369" /></linearGradient><linearGradient id="icon-ink" x1="0" y1="28" x2="0" y2="278" gradientUnits="userSpaceOnUse"><stop offset="0.000" stop-color="#fbbe23" /><stop offset="0.050" stop-color="#fcb216" /><stop offset="0.100" stop-color="#fca60c" /><stop offset="0.150" stop-color="#fb9b06" /><stop offset="0.200" stop-color="#fa9008" /><stop offset="0.250" stop-color="#f8850f" /><stop offset="0.300" stop-color="#f57b17" /><stop offset="0.350" stop-color="#f1711f" /><stop offset="0.400" stop-color="#ec6726" /><stop offset="0.450" stop-color="#e75e2e" /><stop offset="0.500" stop-color="#e15635" /><stop offset="0.550" stop-color="#da4e3c" /><stop offset="0.600" stop-color="#d34743" /><stop offset="0.650" stop-color="#cb4149" /><stop offset="0.700" stop-color="#c33b4f" /><stop offset="0.750" stop-color="#ba3655" /><stop offset="0.800" stop-color="#b1325a" /><stop offset="0.850" stop-color="#a82e5f" /><stop offset="0.900" stop-color="#9f2a63" /><stop offset="0.950" stop-color="#952667" /><stop offset="1.000" stop-color="#8c2369" /></linearGradient><mask id="signal-cutout" maskUnits="userSpaceOnUse" x="20" y="20" width="260" height="260"><rect x="20" y="20" width="260" height="260" fill="white" /><path d="M20.000000,158.059289 C20.000000,158.480896 20.026350,158.770751 20.079051,158.928854 C20.131752,159.086957 20.237154,159.192358 20.395257,159.245059 C20.553360,159.297760 20.843215,159.324111 21.264822,159.324111 L46.411067,159.324111 C46.832674,159.324111 47.122530,159.350461 47.280632,159.403162 C47.438735,159.455863 47.544137,159.561265 47.596838,159.719368 C47.649539,159.877470 47.675889,160.167326 47.675889,160.588933 L47.675889,193.059289 C47.675889,193.480896 47.702240,193.770751 47.754941,193.928854 C47.807642,194.086957 47.913043,194.192358 48.071146,194.245059 C48.229249,194.297760 48.519104,194.324111 48.940711,194.324111 L85.059289,194.324111 C85.480896,194.324111 85.770751,194.297760 85.928854,194.245059 C86.086957,194.192358 86.192358,194.086957 86.245059,193.928854 C86.297760,193.770751 86.324111,193.480896 86.324111,193.059289 L86.324111,132.588933 C86.324111,132.167326 86.350461,131.877470 86.403162,131.719368 C86.455863,131.561265 86.561265,131.455863 86.719368,131.403162 C86.877470,131.350461 87.167326,131.324111 87.588933,131.324111 L98.411067,131.324111 C98.832674,131.324111 99.122530,131.350461 99.280632,131.403162 C99.438735,131.455863 99.544137,131.561265 99.596838,131.719368 C99.649539,131.877470 99.675889,132.167326 99.675889,132.588933 L99.675889,233.059289 C99.675889,233.480896 99.702240,233.770751 99.754941,233.928854 C99.807642,234.086957 99.913043,234.192358 100.071146,234.245059 C100.229249,234.297760 100.519104,234.324111 100.940711,234.324111 L137.059289,234.324111 C137.480896,234.324111 137.770751,234.297760 137.928854,234.245059 C138.086957,234.192358 138.192358,234.086957 138.245059,233.928854 C138.297760,233.770751 138.324111,233.480896 138.324111,233.059289 L138.324111,85.588933 C138.324111,85.167326 138.350461,84.877470 138.403162,84.719368 C138.455863,84.561265 138.561265,84.455863 138.719368,84.403162 C138.877470,84.350461 139.167326,84.324111 139.588933,84.324111 L150.411067,84.324111 C150.832674,84.324111 151.122530,84.350461 151.280632,84.403162 C151.438735,84.455863 151.544137,84.561265 151.596838,84.719368 C151.649539,84.877470 151.675889,85.167326 151.675889,85.588933 L151.675889,233.059289 C151.675889,233.480896 151.702240,233.770751 151.754941,233.928854 C151.807642,234.086957 151.913043,234.192358 152.071146,234.245059 C152.229249,234.297760 152.519104,234.324111 152.940711,234.324111 L189.059289,234.324111 C189.480896,234.324111 189.770751,234.297760 189.928854,234.245059 C190.086957,234.192358 190.192358,234.086957 190.245059,233.928854 C190.297760,233.770751 190.324111,233.480896 190.324111,233.059289 L190.324111,132.588933 C190.324111,132.167326 190.350461,131.877470 190.403162,131.719368 C190.455863,131.561265 190.561265,131.455863 190.719368,131.403162 C190.877470,131.350461 191.167326,131.324111 191.588933,131.324111 L202.411067,131.324111 C202.832674,131.324111 203.122530,131.350461 203.280632,131.403162 C203.438735,131.455863 203.544137,131.561265 203.596838,131.719368 C203.649539,131.877470 203.675889,132.167326 203.675889,132.588933 L203.675889,193.059289 C203.675889,193.480896 203.702240,193.770751 203.754941,193.928854 C203.807642,194.086957 203.913043,194.192358 204.071146,194.245059 C204.229249,194.297760 204.519104,194.324111 204.940711,194.324111 L241.059289,194.324111 C241.480896,194.324111 241.770751,194.297760 241.928854,194.245059 C242.086957,194.192358 242.192358,194.086957 242.245059,193.928854 C242.297760,193.770751 242.324111,193.480896 242.324111,193.059289 L242.324111,160.588933 C242.324111,160.167326 242.350461,159.877470 242.403162,159.719368 C242.455863,159.561265 242.561265,159.455863 242.719368,159.403162 C242.877470,159.350461 243.167326,159.324111 243.588933,159.324111 L273.735178,159.324111 C274.156785,159.324111 274.446640,159.297760 274.604743,159.245059 C274.762846,159.192358 274.868248,159.086957 274.920949,158.928854 C274.973650,158.770751 275.000000,158.480896 275.000000,158.059289 L275.000000,147.940711 C275.000000,147.519104 274.973650,147.229249 274.920949,147.071146 C274.868248,146.913043 274.762846,146.807642 274.604743,146.754941 C274.446640,146.702240 274.156785,146.675889 273.735178,146.675889 L230.940711,146.675889 C230.519104,146.675889 230.229249,146.702240 230.071146,146.754941 C229.913043,146.807642 229.807642,146.913043 229.754941,147.071146 C229.702240,147.229249 229.675889,147.519104 229.675889,147.940711 L229.675889,180.411067 C229.675889,180.832674 229.649539,181.122530 229.596838,181.280632 C229.544137,181.438735 229.438735,181.544137 229.280632,181.596838 C229.122530,181.649539 228.832674,181.675889 228.411067,181.675889 L217.588933,181.675889 C217.167326,181.675889 216.877470,181.649539 216.719368,181.596838 C216.561265,181.544137 216.455863,181.438735 216.403162,181.280632 C216.350461,181.122530 216.324111,180.832674 216.324111,180.411067 L216.324111,119.940711 C216.324111,119.519104 216.297760,119.229249 216.245059,119.071146 C216.192358,118.913043 216.086957,118.807642 215.928854,118.754941 C215.770751,118.702240 215.480896,118.675889 215.059289,118.675889 L178.940711,118.675889 C178.519104,118.675889 178.229249,118.702240 178.071146,118.754941 C177.913043,118.807642 177.807642,118.913043 177.754941,119.071146 C177.702240,119.229249 177.675889,119.519104 177.675889,119.940711 L177.675889,220.411067 C177.675889,220.832674 177.649539,221.122530 177.596838,221.280632 C177.544137,221.438735 177.438735,221.544137 177.280632,221.596838 C177.122530,221.649539 176.832674,221.675889 176.411067,221.675889 L165.588933,221.675889 C165.167326,221.675889 164.877470,221.649539 164.719368,221.596838 C164.561265,221.544137 164.455863,221.438735 164.403162,221.280632 C164.350461,221.122530 164.324111,220.832674 164.324111,220.411067 L164.324111,72.940711 C164.324111,72.519104 164.297760,72.229249 164.245059,72.071146 C164.192358,71.913043 164.086957,71.807642 163.928854,71.754941 C163.770751,71.702240 163.480896,71.675889 163.059289,71.675889 L126.940711,71.675889 C126.519104,71.675889 126.229249,71.702240 126.071146,71.754941 C125.913043,71.807642 125.807642,71.913043 125.754941,72.071146 C125.702240,72.229249 125.675889,72.519104 125.675889,72.940711 L125.675889,220.411067 C125.675889,220.832674 125.649539,221.122530 125.596838,221.280632 C125.544137,221.438735 125.438735,221.544137 125.280632,221.596838 C125.122530,221.649539 124.832674,221.675889 124.411067,221.675889 L113.588933,221.675889 C113.167326,221.675889 112.877470,221.649539 112.719368,221.596838 C112.561265,221.544137 112.455863,221.438735 112.403162,221.280632 C112.350461,221.122530 112.324111,220.832674 112.324111,220.411067 L112.324111,119.940711 C112.324111,119.519104 112.297760,119.229249 112.245059,119.071146 C112.192358,118.913043 112.086957,118.807642 111.928854,118.754941 C111.770751,118.702240 111.480896,118.675889 111.059289,118.675889 L74.940711,118.675889 C74.519104,118.675889 74.229249,118.702240 74.071146,118.754941 C73.913043,118.807642 73.807642,118.913043 73.754941,119.071146 C73.702240,119.229249 73.675889,119.519104 73.675889,119.940711 L73.675889,180.411067 C73.675889,180.832674 73.649539,181.122530 73.596838,181.280632 C73.544137,181.438735 73.438735,181.544137 73.280632,181.596838 C73.122530,181.649539 72.832674,181.675889 72.411067,181.675889 L61.588933,181.675889 C61.167326,181.675889 60.877470,181.649539 60.719368,181.596838 C60.561265,181.544137 60.455863,181.438735 60.403162,181.280632 C60.350461,181.122530 60.324111,180.832674 60.324111,180.411067 L60.324111,147.940711 C60.324111,147.519104 60.297760,147.229249 60.245059,147.071146 C60.192358,146.913043 60.086957,146.807642 59.928854,146.754941 C59.770751,146.702240 59.480896,146.675889 59.059289,146.675889 L21.264822,146.675889 C20.843215,146.675889 20.553360,146.702240 20.395257,146.754941 C20.237154,146.807642 20.131752,146.913043 20.079051,147.071146 C20.026350,147.229249 20.000000,147.519104 20.000000,147.940711 Z" fill="black" /></mask></defs><g id="CommKit-symbol" transform="translate(165 180) scale(1.25) translate(-145 -153)"><path d="M145 28 L253 90 V216 L145 278 L37 216 V90 Z" fill="url(#icon-ink)" mask="url(#signal-cutout)" /></g><g id="CommKit-wordmark" fill="url(#ink)" transform="translate(47 32)"><path d="M313.0158102766799 247.99999999999997C312.6205533596838 247.99999999999997 311.3030296442688 247.01185770750988 309.0632411067194 245.03557312252963C306.82345256916994 243.05928853754938 304.1225296442688 240.55599407114622 300.9604743083004 237.52569169960472C297.798418972332 234.49538932806323 294.7022391304348 231.43214822134385 291.6719367588933 228.33596837944663C288.64163379446643 225.23978853754937 286.10540177865613 222.57180434782606 284.0632411067194 220.33201581027666C282.0210804347826 218.09222727272726 281.0 216.77470355731225 281.0 216.3794466403162V189.50197628458494V183.27667984189722V168.75098814229247V154.22529644268775V148.0V141.77470355731225V127.2490118577075V112.72332015810275V79.62055335968378C281.0 79.22529644268772 282.0210804347826 77.90777272727271 284.0632411067194 75.66798418972331C286.10540177865613 73.42819565217388 288.64163379446643 70.76021146245057 291.6719367588933 67.66403162055335C294.7022391304348 64.56784584980235 297.798418972332 61.50460474308298 300.9604743083004 58.47430830039525C304.1225296442688 55.444011857707494 306.82345256916994 52.940711462450565 309.0632411067194 50.964426877470345C311.3030296442688 48.988142292490096 312.6205533596838 47.99999999999997 313.0158102766799 47.99999999999997H321.8102766798419H336.4347826086957H352.6403162055336H366.17786561264825H372.699604743083H377.24505928853756H400.1699604743083H427.4426877470356H450.36758893280637H459.65612648221344V56.30039525691697V76.95256916996047V78.83003952569169V96.91304347826085V101.65612648221341V122.30830039525691V130.6086956521739V139.30434782608694H455.901185770751H435.74308300395256H411.6324110671937H391.47430830039525H383.3715415019763C382.84453162055337 139.30434782608694 382.4822134387352 139.3372865612648 382.2845849802371 139.40316205533594C382.0869565217391 139.46903754940712 381.9552035573123 139.60079051383397 381.8893280632411 139.798418972332C381.82345256916994 139.99604743083 381.7905138339921 140.3583656126482 381.7905138339921 140.88537549407113V144.0474308300395V150.37154150197625V153.53359683794463C381.7905138339921 154.06060671936757 381.82345256916994 154.42292490118575 381.8893280632411 154.62055335968378C381.9552035573123 154.8181818181818 382.0869565217391 154.94993478260866 382.2845849802371 155.01581027667982C382.4822134387352 155.081685770751 382.84453162055337 155.11462450592882 383.3715415019763 155.11462450592882H391.47430830039525H411.6324110671937H435.74308300395256H455.901185770751H459.65612648221344V155.90513833992094V156.89328063241106V157.8814229249012V165.39130434782606V173.69169960474306V194.34387351778656V209.36363636363635V219.0474308300395V239.69960474308297V247.99999999999997H450.36758893280637H427.4426877470356H400.1699604743083H377.24505928853756H372.699604743083H366.17786561264825H352.6403162055336H336.4347826086957H321.8102766798419H313.0158102766799Z" /><path d="M507.4822134387352 247.99999999999997C507.0869565217391 247.99999999999997 505.76943280632406 247.01185770750988 503.52964426877475 245.03557312252963C501.2898557312253 243.05928853754938 498.5889328063241 240.55599407114622 495.42687747035575 237.52569169960472C492.2648221343874 234.49538932806323 489.1686422924901 231.43214822134385 486.1383399209486 228.33596837944663C483.10803695652174 225.23978853754937 480.57180494071144 222.57180434782606 478.52964426877475 220.33201581027666C476.48748359683793 218.09222727272726 475.46640316205537 216.77470355731225 475.46640316205537 216.3794466403162V213.2173913043478V195.82608695652172V183.27667984189722V167.76284584980235V153.53359683794463V152.74308300395256V144.1462450592885V136.04347826086956V119.93675889328063C475.46640316205537 119.54150197628456 476.48748359683793 118.22397826086956 478.52964426877475 115.98418972332013C480.57180494071144 113.74440118577073 483.10803695652174 111.07641699604741 486.1383399209486 107.98023715415019C489.1686422924901 104.88405731225296 492.2648221343874 101.82081620553359 495.42687747035575 98.79051383399207C498.5889328063241 95.76021146245057 501.2898557312253 93.25691699604741 503.52964426877475 91.28063241106719C505.76943280632406 89.30434782608694 507.0869565217391 88.31620553359681 507.4822134387352 88.31620553359681H514.300395256917H531.197628458498H551.3557312252965H568.2529644268775H575.0711462450593H576.3557312252965H593.2529644268775H613.4110671936759H630.308300395257H637.1264822134387C637.5217391304348 88.31620553359681 638.8392628458498 89.30434782608694 641.0790513833992 91.28063241106719C643.3188399209487 93.25691699604741 646.0197628458498 95.76021146245057 649.1818181818182 98.79051383399207C652.3438735177865 101.82081620553359 655.4400533596838 104.88405731225296 658.4703557312253 107.98023715415019C661.5006581027668 111.07641699604741 664.0368913043478 113.74440118577073 666.0790513833992 115.98418972332013C668.1212055335968 118.22397826086956 669.1422924901185 119.54150197628456 669.1422924901185 119.93675889328063V136.04347826086956V144.1462450592885V152.74308300395256V153.53359683794463V182.78260869565216V183.27667984189722V195.82608695652172V216.3794466403162C669.1422924901185 216.77470355731225 668.1212055335968 218.09222727272726 666.0790513833992 220.33201581027666C664.0368913043478 222.57180434782606 661.5006581027668 225.23978853754937 658.4703557312253 228.33596837944663C655.4400533596838 231.43214822134385 652.3438735177865 234.49538932806323 649.1818181818182 237.52569169960472C646.0197628458498 240.55599407114622 643.3188399209487 243.05928853754938 641.0790513833992 245.03557312252963C638.8392628458498 247.01185770750988 637.5217391304348 247.99999999999997 637.1264822134387 247.99999999999997H630.308300395257H613.4110671936759H593.2529644268775H576.3557312252965H575.0711462450593H568.2529644268775H551.3557312252965H531.197628458498H514.300395256917H507.4822134387352ZM565.9802371541502 193.8498023715415H572.403162055336H578.6284584980237C579.4189723320158 193.8498023715415 579.8801047430829 193.78392687747032 580.0118577075099 193.65217391304344C580.1436106719368 193.52042094861656 580.209486166008 193.05928853754938 580.209486166008 192.2687747035573V184.8577075098814V167.76284584980235V150.6679841897233V143.2569169960474C580.209486166008 142.46640316205531 580.1436106719368 142.00527075098813 580.0118577075099 141.87351778656125C579.8801047430829 141.74176482213437 579.4189723320158 141.67588932806322 578.6284584980237 141.67588932806322H574.3794466403162H570.2292490118577H565.9802371541502C565.1897233201581 141.67588932806322 564.7285909090909 141.74176482213437 564.596837944664 141.87351778656125C564.4650849802372 142.00527075098813 564.399209486166 142.46640316205531 564.399209486166 143.2569169960474V150.6679841897233V167.76284584980235V184.8577075098814V192.2687747035573C564.399209486166 193.05928853754938 564.4650849802372 193.52042094861656 564.596837944664 193.65217391304344C564.7285909090909 193.78392687747032 565.1897233201581 193.8498023715415 565.9802371541502 193.8498023715415Z" /><path d="M684.9525691699605 247.99999999999997V238.01976284584978V213.41501976284582V213.2173913043478V195.82608695652172V184.16600790513831V183.27667984189722V167.76284584980235V159.56126482213438V152.74308300395256V149.5810276679842V144.1462450592885V136.53754940711462V136.04347826086956V108.67193675889325V94.44268774703556V89.20553359683794V88.31620553359681H692.6600790513834H713.4110671936759H742.5612648221344H775.4664031620553L777.8379446640316 91.87351778656125C779.4189723320158 94.24505928853753 781.395256916996 97.14361067193673 783.7667984189723 100.56916996047428L790.8814229249012 110.84584980237153C793.2529644268775 114.27140909090909 795.2292490118577 117.16996047430828 796.810276679842 119.54150197628456L799.1818181818182 123.098814229249H800.3675889328063H801.5533596837945H802.7391304347825H803.9249011857708L806.296442687747 119.54150197628456C807.8774703557312 117.16996047430828 809.8537549407115 114.27140909090909 812.2252964426877 110.84584980237153L819.3399209486165 100.56916996047428C821.711462450593 97.14361067193673 823.687747035573 94.24505928853753 825.2687747035573 91.87351778656125L827.6403162055335 88.31620553359681H833.5691699604743H848.193675889328H865.5849802371542H880.209486166008H886.1383399209485C886.5335968379447 88.31620553359681 887.8511264822134 89.30434782608694 890.090909090909 91.28063241106719C892.3306916996048 93.25691699604741 895.0316205533597 95.76021146245057 898.193675889328 98.79051383399207C901.3557312252965 101.82081620553359 904.4519169960474 104.88405731225296 907.4822134387352 107.98023715415019C910.5125098814231 111.07641699604741 913.0487549407114 113.74440118577073 915.090909090909 115.98418972332013C917.1330632411068 118.22397826086956 918.1541501976285 119.54150197628456 918.1541501976285 119.93675889328063V122.30830039525691V136.04347826086956V144.1462450592885V152.74308300395256V159.56126482213438V167.76284584980235V183.27667984189722V184.16600790513831V195.82608695652172V213.2173913043478V213.41501976284582V238.01976284584978V247.99999999999997H909.4584980237155H887.0276679841897H857.8774703557312H845.4268774703557V243.05928853754938V227.3478260869565V206.89328063241106V186.4387351778656V170.7272727272727V164.60079051383397C845.4268774703557 164.07378063241106 845.3939387351779 163.71146245059288 845.3280632411067 163.51383399209485C845.2621877470356 163.31620553359681 845.1304347826087 163.18445256916993 844.9328063241107 163.1185770750988C844.7351778656127 163.05270158102763 844.3728596837946 163.01976284584978 843.8458498023715 163.01976284584978H840.6837944664032H834.3596837944665H831.197628458498C830.6706185770752 163.01976284584978 830.308300395257 163.05270158102763 830.110671936759 163.1185770750988C829.9130434782608 163.18445256916993 829.7812905138339 163.31620553359681 829.7154150197628 163.51383399209485C829.6495395256918 163.71146245059288 829.6166007905138 164.07378063241106 829.6166007905138 164.60079051383397V170.7272727272727V186.4387351778656V206.89328063241106V227.3478260869565V243.05928853754938V247.99999999999997H828.7272727272727H806.296442687747H805.505928853755H796.810276679842H774.3794466403162H769.5375494071146V243.05928853754938V227.3478260869565V206.89328063241106V186.4387351778656V170.7272727272727V164.60079051383397C769.5375494071146 164.07378063241106 769.5046106719367 163.71146245059288 769.4387351778656 163.51383399209485C769.3728596837946 163.31620553359681 769.2411067193675 163.18445256916993 769.0434782608695 163.1185770750988C768.8458498023715 163.05270158102763 768.4835316205533 163.01976284584978 767.9565217391305 163.01976284584978H764.794466403162H758.4703557312253H755.308300395257C754.7812905138339 163.01976284584978 754.4189723320158 163.05270158102763 754.2213438735178 163.1185770750988C754.0237154150198 163.18445256916993 753.8919624505929 163.31620553359681 753.8260869565217 163.51383399209485C753.7602114624506 163.71146245059288 753.7272727272727 164.07378063241106 753.7272727272727 164.60079051383397V170.7272727272727V186.4387351778656V206.89328063241106V227.3478260869565V243.05928853754938V247.99999999999997H745.2292490118577H716.0790513833992H693.6482213438735H684.9525691699605Z" /><path d="M933.9644268774703 247.99999999999997V238.01976284584978V213.41501976284582V213.2173913043478V195.82608695652172V184.16600790513831V183.27667984189722V167.76284584980235V159.56126482213438V152.74308300395256V149.5810276679842V144.1462450592885V136.53754940711462V136.04347826086956V108.67193675889325V94.44268774703556V89.20553359683794V88.31620553359681H941.6719367588933H962.4229249011858H991.5731225296443H1024.4782608695652L1026.8498023715415 91.87351778656125C1028.4308300395257 94.24505928853753 1030.407114624506 97.14361067193673 1032.7786561264822 100.56916996047428L1039.893280632411 110.84584980237153C1042.2648221343873 114.27140909090909 1044.2411067193675 117.16996047430828 1045.8221343873518 119.54150197628456L1048.193675889328 123.098814229249H1049.3794466403162H1050.5652173913043H1051.7509881422925H1052.9367588932807L1055.308300395257 119.54150197628456C1056.889328063241 117.16996047430828 1058.8656126482213 114.27140909090909 1061.2371541501977 110.84584980237153L1068.3517786561265 100.56916996047428C1070.7233201581028 97.14361067193673 1072.699604743083 94.24505928853753 1074.2806324110672 91.87351778656125L1076.6521739130435 88.31620553359681H1082.5810276679842H1097.205533596838H1114.596837944664H1129.2213438735178H1135.1501976284585C1135.5454545454545 88.31620553359681 1136.8629841897232 89.30434782608694 1139.102766798419 91.28063241106719C1141.3425494071146 93.25691699604741 1144.0434782608695 95.76021146245057 1147.205533596838 98.79051383399207C1150.3675889328063 101.82081620553359 1153.4637747035572 104.88405731225296 1156.494071146245 107.98023715415019C1159.5243675889328 111.07641699604741 1162.0606126482212 113.74440118577073 1164.102766798419 115.98418972332013C1166.1449209486166 118.22397826086956 1167.1660079051383 119.54150197628456 1167.1660079051383 119.93675889328063V122.30830039525691V136.04347826086956V144.1462450592885V152.74308300395256V159.56126482213438V167.76284584980235V183.27667984189722V184.16600790513831V195.82608695652172V213.2173913043478V213.41501976284582V238.01976284584978V247.99999999999997H1158.4703557312253H1136.0395256916995H1106.889328063241H1094.4387351778655V243.05928853754938V227.3478260869565V206.89328063241106V186.4387351778656V170.7272727272727V164.60079051383397C1094.4387351778655 164.07378063241106 1094.405796442688 163.71146245059288 1094.3399209486165 163.51383399209485C1094.2740454545453 163.31620553359681 1094.1422924901185 163.18445256916993 1093.9446640316205 163.1185770750988C1093.7470355731225 163.05270158102763 1093.3847173913043 163.01976284584978 1092.8577075098815 163.01976284584978H1089.695652173913H1083.3715415019763H1080.209486166008C1079.682476284585 163.01976284584978 1079.3201581027668 163.05270158102763 1079.1225296442688 163.1185770750988C1078.9249011857708 163.18445256916993 1078.793148221344 163.31620553359681 1078.7272727272727 163.51383399209485C1078.6613972332016 163.71146245059288 1078.6284584980237 164.07378063241106 1078.6284584980237 164.60079051383397V170.7272727272727V186.4387351778656V206.89328063241106V227.3478260869565V243.05928853754938V247.99999999999997H1077.7391304347825H1055.308300395257H1054.5177865612648H1045.8221343873518H1023.391304347826H1018.5494071146245V243.05928853754938V227.3478260869565V206.89328063241106V186.4387351778656V170.7272727272727V164.60079051383397C1018.5494071146245 164.07378063241106 1018.5164683794467 163.71146245059288 1018.4505928853755 163.51383399209485C1018.3847173913043 163.31620553359681 1018.2529644268775 163.18445256916993 1018.0553359683795 163.1185770750988C1017.8577075098815 163.05270158102763 1017.4953893280633 163.01976284584978 1016.9683794466403 163.01976284584978H1013.806324110672H1007.4822134387352H1004.3201581027668C1003.7931482213439 163.01976284584978 1003.4308300395257 163.05270158102763 1003.2332015810277 163.1185770750988C1003.0355731225297 163.18445256916993 1002.9038201581027 163.31620553359681 1002.8379446640315 163.51383399209485C1002.7720691699606 163.71146245059288 1002.7391304347825 164.07378063241106 1002.7391304347825 164.60079051383397V170.7272727272727V186.4387351778656V206.89328063241106V227.3478260869565V243.05928853754938V247.99999999999997H994.2411067193675H965.090909090909H942.6600790513835H933.9644268774703Z" /><path d="M1182.9762845849802 247.99999999999997V241.18181818181816V223.59288537549406V200.76679841897231V189.50197628458494V183.27667984189722V177.94071146245057V168.75098814229247V160.35177865612647V154.22529644268775V148.0V141.77470355731225V135.6482213438735V127.2490118577075V118.05928853754938V112.72332015810275V95.23320158102766V72.40711462450591V54.81818181818181V47.99999999999997H1190.189723320158H1208.7667984189723H1232.7786561264822H1256.790513833992H1271.9449881422925C1271.936276679842 48.148083003952536 1271.909090909091 48.20361660079047 1271.909090909091 48.39525691699603V56.498023715415V76.65612648221341V100.76679841897231V120.92490118577072V129.02766798418972C1271.909090909091 129.55467786561263 1271.9420296442686 129.9169960474308 1272.00790513834 130.11462450592884C1272.0737806324112 130.31225296442685 1272.205533596838 130.44400592885373 1272.403162055336 130.50988142292488C1272.600790513834 130.57575691699603 1272.9631086956522 130.6086956521739 1273.490118577075 130.6086956521739H1276.6521739130435H1282.9762845849802H1286.1383399209485C1286.6653498023716 130.6086956521739 1287.0276679841897 130.57575691699603 1287.2252964426877 130.50988142292488C1287.4229249011858 130.44400592885373 1287.5546778656126 130.31225296442685 1287.6205533596838 130.11462450592884C1287.686428853755 129.9169960474308 1287.7193675889328 129.55467786561263 1287.7193675889328 129.02766798418972V120.92490118577072V100.76679841897231V76.65612648221341V56.498023715415V48.39525691699603C1287.7193675889328 48.22883399209482 1287.7043636363635 48.13723320158104 1287.698523715415 47.99999999999997H1302.8379446640315H1326.8498023715415H1350.8616600790513H1369.4387351778655H1376.6521739130435V54.81818181818181V72.40711462450591V78.83003952569169V95.23320158102766V96.91304347826085V118.05928853754938V125.07509881422922L1372.403162055336 127.3478260869565C1369.5704881422923 128.86297826086954 1366.0461126482214 130.7075098814229 1361.8300395256917 132.88142292490116L1349.181818181818 139.40316205533594C1344.9657450592883 141.5770750988142 1341.4413695652174 143.42160671936756 1338.6086956521738 144.93675889328063L1334.3596837944663 147.20948616600788L1338.6086956521738 149.38339920948613C1341.4413695652174 150.83267391304346 1344.9657450592883 152.61133003952568 1349.181818181818 154.71936758893278L1361.8300395256917 161.04347826086956C1366.0461126482214 163.15151581027666 1369.5704881422923 164.93017193675888 1372.403162055336 166.3794466403162L1376.6521739130435 168.55335968379444V175.27272727272725V184.9565217391304V189.1067193675889V201.16205533596838V208.9683794466403V209.36363636363635V214.1067193675889V218.35573122529644V228.33596837944663V241.77470355731222V247.99999999999997H1370.2292490118577H1353.7272727272727H1332.383399209486H1311.0395256916995H1294.5375494071145H1288.1146245059288V242.07114624505925V226.95256916996044V208.0790513833992V190.5889328063241V179.62055335968378H1286.9288537549407H1283.8656126482213H1279.8142292490118H1276.0592885375495H1273.094861660079H1271.909090909091V190.29249011857706V202.94071146245057V217.07114624505925V232.2885375494071V247.99999999999997H1256.790513833992H1232.7786561264822H1208.7667984189723H1190.189723320158H1182.9762845849802Z" /><path d="M1392.4624505928853 247.99999999999997V239.69960474308297V219.0474308300395V213.2173913043478V199.48221343873516V194.34387351778656V191.3794466403162V182.78260869565216V173.69169960474306V167.76284584980235V152.2490118577075V139.699604743083V130.31225296442685V122.30830039525691V118.75098814229247V110.15415019762844V106.89328063241106V106.30039525691697V103.83003952569169V101.65612648221341V97.90118577075097V87.13043478260869H1397.1067193675888H1408.5691699604743H1422.2055335968378H1433.6679841897233H1438.3122529644268H1445.1304347826085H1461.0395256916995H1476.9486166007905H1483.7667984189723V97.90118577075097V103.83003952569169V106.30039525691697V106.89328063241106V110.15415019762844V118.75098814229247V130.31225296442685V139.699604743083V152.2490118577075V167.76284584980235V173.69169960474306V194.34387351778656V219.0474308300395V239.69960474308297V247.99999999999997H1470.5256916996047H1458.1739130434783H1447.2055335968378H1438.3122529644268H1429.0237154150198H1418.0553359683795H1405.802371541502H1392.4624505928853ZM1392.4624505928853 72.11067193675888V56.30039525691697V47.99999999999997H1405.802371541502H1418.0553359683795H1429.0237154150198H1438.3122529644268H1447.2055335968378H1458.1739130434783H1470.5256916996047H1483.7667984189723V56.30039525691697V72.11067193675888H1482.185770750988H1464.99209486166H1452.8379446640315H1444.4387351778655H1438.3122529644268H1434.4584980237153H1429.7154150197628H1423.588932806324H1415.881422924901H1406.197628458498H1394.0434782608695H1392.4624505928853Z" /><path d="M1531.592885375494 247.99999999999997C1531.197628458498 247.99999999999997 1529.880104743083 247.01185770750988 1527.6403162055335 245.03557312252963C1525.400527667984 243.05928853754938 1522.699604743083 240.55599407114622 1519.5375494071145 237.52569169960472C1516.3754940711462 234.49538932806323 1513.279314229249 231.43214822134385 1510.2490118577075 228.33596837944663C1507.2187088932806 225.23978853754937 1504.6824768774702 222.57180434782606 1502.6403162055335 220.33201581027666C1500.5981555335968 218.09222727272726 1499.5770750988142 216.77470355731225 1499.5770750988142 216.3794466403162V193.8498023715415V176.45849802371538V163.90909090909088V148.39525691699603V133.37549407114622V124.77865612648219V116.67588932806322V47.99999999999997H1506.790513833992H1523.490118577075H1540.189723320158H1547.403162055336H1553.9249011857708H1569.1422924901185H1584.3596837944663H1590.881422924901V83.57312252964425V85.94466403162053V88.31620553359681H1593.5494071146245H1601.6521739130435H1615.387351778656H1634.7549407114625V94.93675889328063V111.4387351778656V131.20158102766797V147.70355731225294V154.32411067193675V156.30039525691697H1627.2450592885375H1609.0632411067193H1593.8458498023715H1587.7193675889328C1587.19235770751 156.30039525691697 1586.8300395256917 156.33333399209482 1586.6324110671935 156.399209486166C1586.4347826086955 156.46508498023715 1586.3030296442687 156.596837944664 1586.2371541501975 156.79446640316203C1586.1712786561263 156.99209486166006 1586.1383399209485 157.35441304347825 1586.1383399209485 157.8814229249012V161.04347826086956V167.3675889328063V170.5296442687747C1586.1383399209485 171.05665415019763 1586.1712786561263 171.4189723320158 1586.2371541501975 171.61660079051381C1586.3030296442687 171.81422924901185 1586.4347826086955 171.94598221343873 1586.6324110671935 172.01185770750988C1586.8300395256917 172.077733201581 1587.19235770751 172.11067193675888 1587.7193675889328 172.11067193675888H1593.8458498023715H1609.0632411067193H1627.2450592885375H1634.7549407114625V186.73517786561263V214.798418972332V238.41501976284582V247.99999999999997H1627.6403162055335H1610.0513833992095H1589.102766798419H1571.5138339920948H1565.98023715415H1557.8774703557312H1547.897233201581H1538.3122529644268H1531.592885375494Z" /></g></svg>
|
|
@@ -40,10 +40,11 @@ jobs:
|
|
|
40
40
|
|
|
41
41
|
notebooks:
|
|
42
42
|
name: Notebooks carry no outputs
|
|
43
|
-
# Outputs (plots are base64 PNGs) would bloat
|
|
44
|
-
# nbstripout git filter strips
|
|
45
|
-
# 'uv run nbstripout --install'
|
|
46
|
-
#
|
|
43
|
+
# Outputs (plots are base64 PNGs) and local kernel metadata would bloat or
|
|
44
|
+
# churn the repository. The nbstripout git filter strips both on commit
|
|
45
|
+
# once a clone runs 'uv run nbstripout --install' and
|
|
46
|
+
# 'git config filter.nbstripout.extrakeys "metadata.kernelspec metadata.language_info.version"';
|
|
47
|
+
# this required check catches a clone without it before anything reaches main.
|
|
47
48
|
runs-on: ubuntu-latest
|
|
48
49
|
steps:
|
|
49
50
|
- uses: actions/checkout@v4
|
|
@@ -52,7 +53,7 @@ jobs:
|
|
|
52
53
|
uses: astral-sh/setup-uv@v5
|
|
53
54
|
|
|
54
55
|
- name: Every committed notebook is stripped
|
|
55
|
-
run: uvx nbstripout@0.9.1 --verify $(git ls-files '*.ipynb')
|
|
56
|
+
run: uvx nbstripout@0.9.1 --verify --extra-keys "metadata.kernelspec metadata.language_info.version" $(git ls-files '*.ipynb')
|
|
56
57
|
|
|
57
58
|
test:
|
|
58
59
|
name: Test (Python ${{ matrix.python-version }} | ${{ matrix.resolution }})
|
|
@@ -19,6 +19,7 @@ Users are researchers and engineers. Design for them:
|
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
- **Everything is expressed in Python.** No configuration files, registries, global switches or multi-step setup.
|
|
22
|
+
- **User code joins on equal terms.** A block a user writes takes an array or a Signal under the library's rules through the public `commkit.core.SignalInput`, the helper the library's own functions use, so nothing needs a plug-in or registration mechanism.
|
|
22
23
|
- **We deliberately do not build** pipeline or receiver objects, DSP methods on `Signal`, string shorthands for constellations, or public "config objects per algorithm".
|
|
23
24
|
- **Scope is the reference model and its inverse**, not a catalogue of research variants: the fiber channel and standard digital backpropagation (`correct_fiber_propagation`, with `steps_per_span` and `nonlinear_scale`), like chromatic dispersion and its compensation. Reduced-complexity nonlinearity compensation (filtered or enhanced split step, perturbation-based) is left to user code built on these; learned DBP, which needs gradients, belongs in commax.
|
|
24
25
|
|
|
@@ -30,7 +31,8 @@ Always use `uv`. Python 3.12+.
|
|
|
30
31
|
|
|
31
32
|
```bash
|
|
32
33
|
uv sync --all-extras # environment incl. GPU packages
|
|
33
|
-
uv run nbstripout --install # once per clone: strip
|
|
34
|
+
uv run nbstripout --install # once per clone: strip outputs and local metadata on commit
|
|
35
|
+
git config filter.nbstripout.extrakeys "metadata.kernelspec metadata.language_info.version"
|
|
34
36
|
uv run pytest # CPU + GPU tests (default --device=all)
|
|
35
37
|
uv run pytest --device=cpu # what CI runs
|
|
36
38
|
uv run pytest --run-slow # also the long statistical validation (marker slow)
|
|
@@ -82,6 +84,7 @@ Dependencies point downward only:
|
|
|
82
84
|
| Presentation | `plotting` | everything; **nothing imports plotting** (no `debug_plot`: plot functions consume results or recompute through public functions) |
|
|
83
85
|
|
|
84
86
|
- **Responsibilities:** `filtering` holds signal-chain filters with a real frequency response; `smoothing` display and estimation smoothers only; `analysis` laser and phase characterization; `metrics` is the reporting layer.
|
|
87
|
+
- **Plot styling comes from the theme.** Plot functions take colors, fonts and sizes from `matplotlib.rcParams`, so they work under `apply_default_theme(dark=True)`, `dark=False` or any other style: cycle colors `C0`, `C1`, ... for curves and fitted annotations; `_reference_line()` (`plotting/theme.py`: the light red `_accent()`, its shade chosen by the background's luminance, a long dash, three quarters of `lines.linewidth`) for reference lines and guides, set apart from the faint grid; `_foreground()` (the text color) for markers that must contrast with the background and `_background()` for their edges; `image.cmap` for density images and spectrograms (a `cmap=None` default), with empty cells masked; `_line_width(scale)` and `_marker_area(scale)` relative to `lines.linewidth` and `lines.markersize`. Never a named or hex color, a `fontsize` or a fixed width or size outside `theme.py`; `"gray"` is the one neutral literal, for faint structure (rings, shading, legend keys). `tests/plotting/test_plot_theme.py` scans the sources for them.
|
|
85
88
|
- **Plot axes in SI units** are labelled with the base unit in brackets (`Frequency [Hz]`, `Time [s]`) and get `_set_eng_formatter` (`plotting/theme.py`): at each draw it picks one SI prefix from the visible ticks and writes it into the label's unit (`Frequency [GHz]`), with plain numbers on the ticks. Pass data in SI units and never pre-scale it or prefix the label by hand; log axes keep a prefix per tick, as no single one fits decades.
|
|
86
89
|
- **Codes are storable:** `io` stores a code as its class and constructor fields, so those fields are numbers, strings, tuples, host arrays, constellations or other codes.
|
|
87
90
|
- **Splitting modules:** promote a flat module to a package only when it exceeds about 1000 lines *and* has two or more separable concerns. Never create a `utils/` package or one-function files.
|
|
@@ -96,22 +99,22 @@ Dependencies point downward only:
|
|
|
96
99
|
|
|
97
100
|
- `Signal` holds:
|
|
98
101
|
- samples: NumPy or CuPy, `(N,)` or `(C, N)`, time on the last axis;
|
|
99
|
-
- the **
|
|
102
|
+
- the **properties** `sampling_rate`, `symbol_rate`, `center_frequency` and `domain` (`"DIG"`, `"RF"` or `"OPT"`; only RF and optical signals have a carrier, and an optical carrier gives the derived property `center_wavelength_nm`);
|
|
100
103
|
- the **description** `constellation` and `pulse`;
|
|
101
104
|
- the ground truth `reference`: transmitted symbols, the bits on the air `bits`, the source bits `info_bits` (the same array when nothing is coded or matched) and the `code` between them, plus the `frame` layout.
|
|
102
105
|
- It never holds pipeline results.
|
|
103
106
|
- Construction does no hidden work: no mapping, no normalization, no device move, no shape guessing. Factories (`generate`, frames) do that work.
|
|
104
107
|
- `sig.to("gpu")` and `sig.replace(...)` return new Signals sharing the arrays; `clone()` copies.
|
|
105
|
-
- **Alignment invariant:** reference symbol *k* corresponds to symbol period *k* of the samples. A function that drops or shifts symbol periods slices the reference to match. Metrics raise on mismatch; they never guess.
|
|
108
|
+
- **Alignment invariant:** reference symbol *k* corresponds to symbol period *k* of the samples. A function that drops or shifts symbol periods slices the reference to match (`inp.wrap(y, num_symbols=n)` for trailing periods). Metrics raise on mismatch; they never guess.
|
|
106
109
|
- **Absolute power.** Samples are dimensionless, and a Signal holds no power. Impairments never rescale the signal component: noise and distortion are added in the samples' units. A function whose model depends on absolute power takes `<where>_power_dbm` (`launch_power_dbm`, `received_power_dbm`, `lo_power_dbm`), the mean power its input stands for, summed over channels, and returns samples in the input's units (a square-law detector: the input's power units). A PSD is in the samples' units per Hz, not dBm/Hz.
|
|
107
110
|
|
|
108
111
|
### Function signatures
|
|
109
112
|
|
|
110
113
|
- `f(data, other_data, *, params)`: everything after the data arguments is keyword-only. A function without data arguments may keep a single primary parameter positional (`barker_sequence(13)`); with several, all are keyword-only. The contract registry records each function's data-argument count.
|
|
111
|
-
- **Signal awareness.** A function whose main argument is waveform data (or a field a Signal carries) accepts an array or a Signal: it unwraps once with `
|
|
112
|
-
- **Types:** a transform is `def f(samples: S, ...) -> S` with the TypeVar `S` from `core/
|
|
113
|
-
- **
|
|
114
|
-
- Integer-SPS algorithms validate with `require_integer_sps()` before any cast; never truncate 1.5 SPS to 1.
|
|
114
|
+
- **Signal awareness.** A function whose main argument is waveform data (or a field a Signal carries) accepts an array or a Signal: it unwraps once with `inp = SignalInput(samples, "f()")` (`core/_signal_input.py`), resolves what it needs from the Signal through `inp`'s methods, works on arrays, and returns through `inp.wrap()`, never by re-entering the public function. Functions on *derived* quantities (phase trajectories, correlations, taps, PSD bins, results) and synthesis primitives stay array-only.
|
|
115
|
+
- **Types:** a transform is `def f(samples: S, ...) -> S` with the TypeVar `S` from `core/_signal_input.py`. Do not reassign `samples`; name the unwrapped array `x`.
|
|
116
|
+
- **Properties versus defaults.** Properties of the samples (`sampling_rate`, `symbol_rate`, hence `sps`, `center_frequency`, `domain` and the optical carrier's wavelength) come from the Signal; a conflicting argument raises `ValueError`, an equal one is fine, and a missing property for array input raises. Defaults (decision `constellation`, `pulse`, the reference symbols) come from the Signal too; an explicit argument wins. Neither case warns. `SignalInput` resolves each through a method named after it (`inp.sampling_rate(sampling_rate)`, `inp.integer_sps(sps)`, `inp.constellation(constellation, required=True, purpose=" for its decisions")`, `inp.reference_symbols(reference)`); called without an argument, it returns the Signal's value. A function never reads these from `inp.signal`.
|
|
117
|
+
- Integer-SPS algorithms validate with `inp.integer_sps()` (`require_integer_sps()` where there is no Signal input) before any cast; never truncate 1.5 SPS to 1.
|
|
115
118
|
- **Shapes:** SISO is `(N,)`, MIMO `(C, N)`. Use `as_2d`, `restore_1d`, `broadcast_channels` and `require_channels`; never hand-roll the promote/squeeze idiom.
|
|
116
119
|
- **Value objects are frozen dataclasses** with read-only NumPy arrays:
|
|
117
120
|
- `Constellation`: `.qam(M)`, `.psk(M)`, `.pam(M, unipolar=)`, or arbitrary `points`; `.shaped(nu=|entropy=)` keeps unit power. Functions accept the object only, never strings.
|
|
@@ -155,7 +158,7 @@ Dependencies point downward only:
|
|
|
155
158
|
- A size names its unit: `num_symbols`, `num_blocks` (codewords of a FEC code), `info_bits` (a code's information length where it is a parameter), `blocks_per_frame`, `num_variables`, `num_segments`. In `coding`, `length` and `n` mean the codeword length in bits and `k` the information length, nothing else.
|
|
156
159
|
- A seeded part of a factory takes `<part>_rng` (`payload_rng`), with the semantics of `rng`.
|
|
157
160
|
- `method=` strings name only a numerical flavor of one algorithm (`method="maxlog" | "exact"`); algorithms are objects.
|
|
158
|
-
- Output scaling has three names: `normalize` (bool) measures the power and rescales to the library's convention; `correct_power` (bool) applies the exact, known gain of a rate change without measuring; `<thing>_normalization` (a string) chooses how coefficients are scaled (`taps_normalization="unit_energy" | "unity_gain"`).
|
|
161
|
+
- Output scaling has three names: `normalize` (bool) measures the power and rescales to the library's convention; `correct_power` (bool) applies the exact, known gain of a rate change without measuring; `<thing>_normalization` (a string) chooses how coefficients are scaled (`taps_normalization="unit_energy" | "unity_gain"`). A plot never rescales data under these names: `relative` (bool) draws a curve relative to its own peak (unit peak amplitude, 0 dB at the maximum) so curves of any scaling compare, and `annotations` (bool) draws the guides (fits, reference levels and markers): `True` by default where they belong to the result drawn, `False` where they are an optional reading aid (`plot_filter_response`, `plot_psd`). Guides are tagged with a `gid` and drawn once per axis when every overlay shares them (`_guide` in `plotting/theme.py`).
|
|
159
162
|
- A search window is `search_range`, a `(start, stop)` pair in the axis's unit, or `search_band`, a half-width in Hz around a nominal frequency.
|
|
160
163
|
- Values are in SI units without a suffix (`linewidth` in Hz, `drift_rate` in rad/s, `taus` in s). A result holding one quantity in two units suffixes the SI one (`lags` in samples, `lag_s`). A conventional non-SI unit goes into the name: `_db`, `_dbm`, `_deg`, `_nm`, `_km`, `_ps_nm_km`, `_ppm`, `_db_hz`. Normalized quantities say so (`normalized_bandwidth`). No second name for one quantity in another unit (no `center_frequency_ghz`); `center_wavelength_nm` is a different, derived quantity.
|
|
161
164
|
|
|
@@ -217,7 +220,7 @@ Docstrings describe the code as it is; a change in behavior updates them in the
|
|
|
217
220
|
| Elementwise chains between multi-core FFTs (fiber solver's Kerr and PMD stages) | NumPy: a Numba `parallel=True` pass competes with `scipy.fft`'s threads; adopt one only on a paired end-to-end A/B | CPU |
|
|
218
221
|
| Other hot spots limited by intermediates, launches or round trips | CUDA C++ via CuPy `RawModule` (`commkit/_cuda/src`) | GPU |
|
|
219
222
|
|
|
220
|
-
**Numba kernels live at module level** in a private module (`equalization/_numba_loops.py`, `recovery/_numba_loops.py`, `coding/_numba_loops.py`, `mapping/_numba_llr.py`, `timing/_numba_loops.py`, `_numba_interpolation.py`, `_numba_frequency.py`) that
|
|
223
|
+
**Numba kernels live at module level** in a private module (`equalization/_numba_loops.py`, `recovery/_numba_loops.py`, `coding/_numba_loops.py`, `mapping/_numba_llr.py`, `timing/_numba_loops.py`, `_numba_interpolation.py`, `_numba_frequency.py`) that one getter `_numba()` per kernel module imports on first use and returns, defined in the package's shared module (`equalization/_common.py`, `recovery/_common.py`, `coding/base.py`) or in the one module that calls it; callers write `_numba().lms_loop(...)`, so `import commkit` does not load Numba and `cache=True` works across processes. The kernel's docstring documents it, not the getter. A kernel defined inside a function that calls another kernel defined there recompiles in every process (Numba's cache key misses the captured dispatcher); a getter that builds a closure capturing only constants keeps a name of its own (`_get_numba_sos`).
|
|
221
224
|
|
|
222
225
|
**Host-sync hygiene:**
|
|
223
226
|
|
|
@@ -247,7 +250,7 @@ Docstrings describe the code as it is; a change in behavior updates them in the
|
|
|
247
250
|
- **Fixtures:** use `backend_device`, `xp` and `xpt` from `tests/conftest.py`. Assert with `xpt.assert_allclose(...)` (`numpy.testing` raises on CuPy arrays); cast expectations with `xp.asarray` and reductions with `float(...)`.
|
|
248
251
|
- **No configuration skips.** The GPU legs skip only when CuPy is not installed, and fail instead under an explicit `--device=gpu`; a broken CuPy fails under any setting. Tests outside the selected run are deselected at collection (`gpu_only`, `cpu_only`, `slow` without `--run-slow`), so a run with CuPy reports no skips. A new test never calls `pytest.skip` for a configuration.
|
|
249
252
|
- **Layout mirrors the source:** `tests/<subpackage>/test_<module>.py`, `tests/test_<module>.py` for flat modules. Basenames are globally unique (prepend import mode). Split a large file by concern, each part named after its module (`impairments/test_fiber_channel_linear.py`, `test_fiber_channel_nonlinear.py`). Shared builders live in `tests/common/` and use the public API.
|
|
250
|
-
- **Contract registry** (`tests/test_api_contracts.py`): every public function has a row, checked generically for array and Signal in/out, device preserved, input not mutated, keyword-only parameters, `TypeError` on unsupported arrays,
|
|
253
|
+
- **Contract registry** (`tests/test_api_contracts.py`): every public function has a row, checked generically for array and Signal in/out, device preserved, input not mutated, keyword-only parameters, `TypeError` on unsupported arrays, property conflicts and return rules. Do not repeat these checks per module.
|
|
251
254
|
- **Oracles:** sequential kernels are tested against plain-Python references in `tests/common/reference_impl.py`, CUDA kernels against their CPU reference. Kernel tests skip only on the CPU parametrization (`skip_unless_gpu`), so a kernel that fails to compile fails its tests.
|
|
252
255
|
- **Mathematical meaning:** test documented definitions (a pulse width, a dispersion sign, noise-variance scaling) against independently derived expectations, not only shapes and energies.
|
|
253
256
|
- **A test of what an algorithm achieves** (an equalizer converges, carrier recovery tracks, a decoder corrects, an estimator is calibrated) must fail on a plausibly wrong implementation:
|
|
@@ -262,7 +265,7 @@ Docstrings describe the code as it is; a change in behavior updates them in the
|
|
|
262
265
|
- **End-to-end chains** in `tests/test_receiver_chain.py` run several impairments and their receiver, scored against the source bits or AWGN theory, each with one correction left out as a failing baseline.
|
|
263
266
|
- **Warnings are failures**: a WARNING from the `commkit` logger fails the test unless it is marked `allow_warnings` (it provokes a suspect result on purpose) or asserts the log through `caplog`. A WARNING that reports what the caller asked for is a log-level bug, fixed in the library.
|
|
264
267
|
- **API changes never change expected values.** A signature change only changes how tests call the code; numerical changes land in their own commit with independent validation.
|
|
265
|
-
- **Examples** are Jupyter notebooks in `examples/`, committed without outputs (the `nbstripout` filter, see [Commands](#2-commands)). `tests/test_examples.py` executes each one, so an API change updates the notebooks in the same commit.
|
|
268
|
+
- **Examples** are Jupyter notebooks in `examples/`, committed without outputs or local kernel metadata (the `nbstripout` filter, see [Commands](#2-commands)). `tests/test_examples.py` executes each one, so an API change updates the notebooks in the same commit.
|
|
266
269
|
- They form a course: one topic per notebook, `NN-lowercase-words.ipynb`, in teaching order (signals and DSP, channel and metrics, coding, receiver algorithms, fiber systems, characterization). Each opens with what it covers and links the notebooks it builds on, and ends with a link to the next. A new notebook takes its place in the order and updates `examples/README.md` and its neighbors' links.
|
|
267
270
|
- Every claim in the text matches what the cells print: run the notebook and read its numbers before committing. Keep each under about 20 s on the CPU.
|
|
268
271
|
- Plots of hand-computed arrays go through `to_device(x, "cpu")`, so the notebooks run unchanged on the GPU.
|
|
@@ -4,6 +4,69 @@ Notable changes to CommKit, newest first. Performance figures are from the refer
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [3.10.0] - 2026-11-20
|
|
8
|
+
|
|
9
|
+
Plots for both backgrounds and for comparisons: `apply_default_theme(dark=False)` adds a light theme, and every plot takes its colors, color maps and sizes from the current style, so guides stay visible on white and under a style of your own. `relative=True` draws filter responses, spectra, spectrograms and eyes relative to their peaks, `annotations=True` adds -3 dB, half-symbol-rate, symbol-instant and final-value guides, and `plot_filter_response` draws an FIR filter as `fir_filter` applies it. The group delay of linear-phase filters is exact, so its plot is flat instead of spiking at the stopband zeros. Eight notebooks show the new features.
|
|
10
|
+
|
|
11
|
+
### Changes that may need code updates
|
|
12
|
+
|
|
13
|
+
- The plot functions take every color, color map and size from `matplotlib.rcParams` instead of fixed values, so their guides and markers stay visible on a white background. Plots drawn without `apply_default_theme()` change look: density images (`plot_constellation`, `plot_eye_diagram`) and `plot_spectrogram` use the style's `image.cmap` (Matplotlib's default is viridis) where they used inferno and viridis; reference lines take the text color instead of white; ideal and reference points take the text color, edged in the background color, instead of lime; annotation colors are cycle colors (`C2`, `C3`, ...). Pass `cmap=` to keep a map. Empty cells of the density images are clear, showing the background. `apply_default_theme()` sets the `afmhot` map, so themed density images and spectrograms change from inferno and viridis to it.
|
|
14
|
+
- `plot_filter_response` draws an FIR filter as `fir_filter` applies it, aligned on tap `(L - 1) // 2`, in every panel: the phase and group delay are measured from that tap (zero group delay for a linear-phase filter of odd length, where they showed the causal delay of `(L - 1) / 2` samples), and the step response and an impulse response of explicit length start at `-(L - 1) // 2`. The impulse panel of an even-length filter moves by half a sample, to where `fir_filter` puts it. Pass `causal=True` for the former phase and group delay. IIR filters are unchanged.
|
|
15
|
+
- `plot_filter_response` counts samples and cycles per sample when neither `sps` nor `sampling_rate` is given (`sps` defaulted to 1 and labelled samples as symbol periods); with `sps` alone, frequency is in symbol rates, matching the time axis in symbol periods.
|
|
16
|
+
- `plot_eye_diagram` scales I and Q of a channel by one factor, the larger of their peaks, so an I/Q imbalance shows; each was scaled to its own peak.
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- `apply_default_theme(dark=False)`: dark text on white, with Matplotlib's `tab10` cycle and the `afmhot_r` color map; `dark=True`, the default, keeps the black theme, now with `afmhot`. The two maps are each other's reverse, and the low end of each matches its background, so the sparse edges of a density plot fade into it. A second call switches between the two variants.
|
|
21
|
+
- `plot_filter_response(relative=True)` removes the taps' scale for comparisons: the impulse response relative to its peak magnitude, and the step response and magnitude relative to the peak gain (0 dB at the maximum of `|H(f)|`, which also works for high-pass and band-pass filters). Phase and group delay do not depend on the gain and are unchanged.
|
|
22
|
+
- `plot_filter_response(annotations=True)` draws guides: a dashed line 3 dB below the magnitude's peak and, with `sps`, one at half the symbol rate; markers at the symbol instants of the impulse response, where a Nyquist pulse has its zero crossings; the final value of the step response. `causal=True` draws the causal convolution.
|
|
23
|
+
- `plot_psd(relative=True)` draws each spectrum relative to its peak, and `annotations=True` a line 3 dB below it. The vertical label reads `Power [dB]` for `scaling="spectrum"`.
|
|
24
|
+
- `plot_spectrogram(relative=True)` draws levels relative to the peak, and `dynamic_range_db=` clips the colors that many dB below it, so deep cells do not stretch the scale over the noise.
|
|
25
|
+
- `plot_eye_diagram(relative=False)` draws the samples' own amplitude, to compare levels between eyes.
|
|
26
|
+
- `plot_channel_correction(annotations=True)`, the default, draws the 0 dB target of ZF on the combined response of the direct paths.
|
|
27
|
+
- Reference lines and guides (the training start of equalizer and carrier-phase plots, ±π wrap boundaries, slope and intercept guides, the LLR consistency diagonal, the new guides above) share one style: a light red (a deeper shade on a light background), at full opacity and three quarters of the line width, with a long dash, also where a guide belongs to one curve (the -3 dB line of an unnormalized response, a step's final value). They were white or gray, as faint as the grid.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- The group-delay panel of `plot_filter_response` drew a linear-phase FIR filter's constant delay as spikes next to its stopband zeros, with every tick reading the same value: the autoscaled axis spanned only the rounding of the computed delay (about 1e-7 relative where `|H|` is near 1e-6). `filter_response` now returns exactly `(L - 1) / 2` samples for conjugate-symmetric or antisymmetric taps wherever the delay is defined, and the plot's frequency panels span at least 0.1 dB, 0.01 rad and 0.01 samples, so any flat response draws flat.
|
|
32
|
+
|
|
33
|
+
### Development
|
|
34
|
+
|
|
35
|
+
- Notebook 00 shows the light theme; notebook 02 the 3 dB guide on an RRC spectrum, spectra at different powers relative to their peaks, and a spectrogram's dynamic range; notebook 03 where the window method's cutoff lies (-6 dB) against the -3 dB point, aligned and causal group delay, and what `cutoff` means in each IIR family; notebook 04 the pulses on symbol-rate axes with the symbol-instant and half-symbol-rate guides; notebook 10 an I/Q imbalance in the eye diagram; notebook 16 the ZF target on the combined response; notebook 20 the aligned group delay of the dispersion compensator; notebook 22 eyes at three received powers on one absolute scale.
|
|
36
|
+
- `tests/plotting/test_plot_theme.py` scans the plot modules for literal colors, font sizes, line widths, marker sizes and color maps.
|
|
37
|
+
|
|
38
|
+
## [3.9.0] - 2026-11-20
|
|
39
|
+
|
|
40
|
+
Your own Signal-aware functions: `commkit.core.SignalInput`, the helper behind every function that takes an array or a Signal, is public, with one typed method per property or default of the Signal. Value objects with array fields accept device arrays, `estimate_timing` on the GPU is twice as fast, and the rest is structure: shared helpers in place of copies, estimators that build their own result classes, and the words properties and defaults for what a Signal provides. Results are unchanged apart from the fixes below.
|
|
41
|
+
|
|
42
|
+
### Changes that may need code updates
|
|
43
|
+
|
|
44
|
+
- `Constellation`, `LinearBlockCode`, `LDPCCode`, `PolarCode`, `Punctured` and `Interleaver` accept CuPy arrays for their array fields and copy them to the host, as the pilot, carrier-phase and EXIT value objects already did; `Constellation` raised `TypeError` on device points, labels or a pmf. Code that relied on the error to catch device input no longer gets it.
|
|
45
|
+
|
|
46
|
+
### Added
|
|
47
|
+
|
|
48
|
+
- `commkit.core.SignalInput`, the helper behind every Signal-aware function, for functions of your own: `inp = SignalInput(samples, "f()")` unwraps an array or a Signal, `inp.sampling_rate(sampling_rate)`, `inp.integer_sps(sps)`, `inp.constellation(constellation, required=True)` and the other methods resolve each value with the library's rules (a property of the samples from the Signal, raising on a conflicting argument; a default from the Signal, an explicit argument winning), and `inp.wrap(y)` returns an array for an array and a new Signal for a Signal. Section 6 of the getting-started notebook writes one.
|
|
49
|
+
|
|
50
|
+
### Performance
|
|
51
|
+
|
|
52
|
+
Paired runs against 3.8.0, 8 alternating processes on the reference machine; every benchmark not named here stays within the noise of its run (5 % CPU, 10 % GPU).
|
|
53
|
+
|
|
54
|
+
- `estimate_timing` on GPU input gathers the energy at each correlation peak on the device instead of slicing every channel through a host index: 0.48 of the former time (32 channels of 2^16 samples, a 512-sample template).
|
|
55
|
+
- `estimate_frequency_offset` with a blockwise `MthPower` no longer gathers the diagnostic spectrum of every block, which it discarded: 0.74 of the former time on the CPU and 0.75 on the GPU (2 x 2^20 samples, blocks of 4096).
|
|
56
|
+
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- A `constellation` that is not a `Constellation` raises `TypeError` naming the argument in every Signal-aware function that takes one; only `compute_llr`, `demap_symbols` and the metrics checked it before, and the others failed later with an `AttributeError` or ignored it.
|
|
60
|
+
- `estimate_linewidth` with `IncrementSubtract(noise_var=..., reference=...)` raised `ModuleNotFoundError`: the amplitude-aware correction imported `commkit.analysis.math`, which does not exist. It now subtracts `σ²·E[1/|d|²]` as documented, tested against the angle noise of 16-QAM symbols.
|
|
61
|
+
|
|
62
|
+
### Development
|
|
63
|
+
|
|
64
|
+
- Structure: one `_numba()` getter per Numba kernel module in place of one getter per kernel; the CUDA launch wrappers by family under `_cuda/` with one argument check; `frequency` and `recovery` estimators build their estimate subclasses directly (the carrier-phase classes in `recovery/estimates.py`, re-exported as before); plots test estimate subclasses with `isinstance`; `estimate_timing`, the BPS metric, the pilot-tone polarization estimator and the block equalizers' runs split into named stages; shared helpers for host copies (`backend._to_host`), value-object fields (`_array.freeze_host`), FFT sizes (`math._next_pow2`), the M-fold unwrap and a value that must be given (`require_value`). Results are identical except the GPU timing coherence, now gathered on the device (within 1.4e-7 relative).
|
|
65
|
+
- `AGENTS.md`: the Numba getter rule.
|
|
66
|
+
- Signal input: `SignalInput` with one typed method per field replaces `adapt_signal` and its string-keyed `resolve_fact` / `resolve_choice`, so mypy checks the resolved values. "Facts" and "choices" are called properties and defaults in `AGENTS.md`, the README, docstrings and the contract registry (`property_conflict`).
|
|
67
|
+
- mypy warns on unused `type: ignore` comments (67 to 16).
|
|
68
|
+
- Tests and benchmarks: shared builders for the fibre field and the Wiener record, dead helpers removed, benchmark workloads in `workloads.py` with their former seeds.
|
|
69
|
+
|
|
7
70
|
## [3.8.0] - 2026-11-12
|
|
8
71
|
|
|
9
72
|
The fixes of a full review of 3.7.1. Gardner clock recovery holds its loop bandwidth up to the largest offset it accepts, resampling keeps its accuracy at any record length, block backpropagation bounds its memory, and the fibre kernels form their phase in double precision. One interpolation kernel serves clock offset, jitter and Gardner on both devices, and `fir_filter`, `apply_taps`, `welch_psd` and the trace plots are several times faster. Names follow the verb rules: an estimator returns the estimate subclass of its method, with no field left `None`, and `cma` takes its default step from the constellation and warns where the constant-modulus criterion cannot work. The migration list below comes first.
|
|
@@ -607,7 +670,9 @@ See the [GitHub release](https://github.com/lokgar/commkit/releases/tag/v1.1.0)
|
|
|
607
670
|
|
|
608
671
|
First release. See the [GitHub release](https://github.com/lokgar/commkit/releases/tag/v1.0.0).
|
|
609
672
|
|
|
610
|
-
[Unreleased]: https://github.com/lokgar/commkit/compare/v3.
|
|
673
|
+
[Unreleased]: https://github.com/lokgar/commkit/compare/v3.10.0...HEAD
|
|
674
|
+
[3.10.0]: https://github.com/lokgar/commkit/compare/v3.9.0...v3.10.0
|
|
675
|
+
[3.9.0]: https://github.com/lokgar/commkit/compare/v3.8.0...v3.9.0
|
|
611
676
|
[3.8.0]: https://github.com/lokgar/commkit/compare/v3.7.1...v3.8.0
|
|
612
677
|
[3.7.1]: https://github.com/lokgar/commkit/compare/v3.7.0...v3.7.1
|
|
613
678
|
[3.7.0]: https://github.com/lokgar/commkit/compare/v3.6.1...v3.7.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: commkit
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.0
|
|
4
4
|
Summary: A Python library for high-performance digital communications research.
|
|
5
5
|
Project-URL: Homepage, https://github.com/lokgar/commkit
|
|
6
6
|
Project-URL: Repository, https://github.com/lokgar/commkit
|
|
@@ -52,7 +52,7 @@ Description-Content-Type: text/markdown
|
|
|
52
52
|
Data is a NumPy or CuPy array, or a `Signal` that wraps the samples together with what is known about them. Algorithms are plain functions that take the data and return a new `Signal` or array, or a typed result such as `EqualizerResult` or an `*Estimate`. Plotting functions draw those results or call the public compute functions needed to produce them.
|
|
53
53
|
|
|
54
54
|
- **Things that describe** a modulation, a pulse or a sub-algorithm are small frozen objects written in the call: `lms(rx, cpr=BPS(test_phases=64))`. The same object works standalone: `correct_carrier_phase(y, BPS())`.
|
|
55
|
-
- **A `Signal` carries
|
|
55
|
+
- **A `Signal` carries properties and ground truth.** Its properties are `sampling_rate`, `symbol_rate`, `center_frequency` and `domain`; the carrier of an optical Signal gives its `center_wavelength_nm`, which dispersion, fiber propagation and OSNR noise read. The description is `constellation` and `pulse`. The ground truth is `reference`: the transmitted symbols, the bits on the air and the source bits before coding or distribution matching (the same array when there is neither). Functions take properties from the Signal and raise on a conflicting argument. Defaults such as the decision constellation come from the Signal too, and an explicit argument wins.
|
|
56
56
|
- **Results with several values are frozen dataclasses** with named fields. Metrics return host floats: one per channel for `(C, N)` input.
|
|
57
57
|
- **The device follows the data.** Processing functions have no `backend=` or `device=` argument. Only factories, which have no input data to follow, take `device=`: `generate(..., device="gpu")`. Move existing data with `sig.to("gpu")`.
|
|
58
58
|
- **Plots draw results.** `plot_*` functions take a Signal, an array or a result object; numerical code never imports plotting.
|
|
@@ -98,17 +98,24 @@ long = ck.filtering.fir_taps(sampling_rate=1e6, num_taps=101, cutoff=100e3)
|
|
|
98
98
|
response = ck.filtering.filter_response(long, sampling_rate=1e6)
|
|
99
99
|
print(response.frequencies, response.response, response.group_delay)
|
|
100
100
|
|
|
101
|
-
ck.plotting.apply_default_theme()
|
|
101
|
+
ck.plotting.apply_default_theme() # dark=False for dark text on white
|
|
102
102
|
_, ax = ck.plotting.plot_filter_response(
|
|
103
|
-
short, sampling_rate=1e6, quantity="magnitude", label="21 taps"
|
|
103
|
+
short, sampling_rate=1e6, quantity="magnitude", label="21 taps",
|
|
104
|
+
relative=True, annotations=True,
|
|
104
105
|
)
|
|
105
106
|
ck.plotting.plot_filter_response(
|
|
106
107
|
long, sampling_rate=1e6, quantity="magnitude", ax=ax,
|
|
107
|
-
label="101 taps", legend=True, show=True,
|
|
108
|
+
label="101 taps", legend=True, relative=True, annotations=True, show=True,
|
|
108
109
|
)
|
|
109
110
|
```
|
|
110
111
|
|
|
111
|
-
|
|
112
|
+
`relative=True` draws each magnitude relative to its peak, 0 dB, so taps of
|
|
113
|
+
any scaling compare, and `annotations=True` adds a dashed line at -3 dB. An FIR
|
|
114
|
+
filter is drawn as `fir_filter` applies it, aligned on its centre tap;
|
|
115
|
+
`causal=True` shows the causal convolution's delay. `plot_psd` and
|
|
116
|
+
`plot_spectrogram` take `relative=True` too, the spectrogram also
|
|
117
|
+
`dynamic_range_db=`. See notebook 03 for filter and smoothing comparisons
|
|
118
|
+
and notebook 04 for pulses on symbol-rate axes (`sps=`). The multi-panel
|
|
112
119
|
equalizer, timing, recovery and coding diagnostics take `quantity=` in the
|
|
113
120
|
same way: draw a second result on the returned axis with its own `label=`,
|
|
114
121
|
and `annotations=False` to leave out repeated fits and guides.
|
|
@@ -202,7 +209,8 @@ With [`uv`](https://github.com/astral-sh/uv), use `uv pip install` in place of `
|
|
|
202
209
|
git clone https://github.com/lokgar/commkit.git
|
|
203
210
|
cd commkit
|
|
204
211
|
uv sync --all-extras
|
|
205
|
-
uv run nbstripout --install # once per clone:
|
|
212
|
+
uv run nbstripout --install # once per clone: strip outputs and local kernel metadata on commit
|
|
213
|
+
git config filter.nbstripout.extrakeys "metadata.kernelspec metadata.language_info.version"
|
|
206
214
|
|
|
207
215
|
uv run pytest # CPU and GPU tests
|
|
208
216
|
uv run pytest --device=cpu # what CI runs
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
Data is a NumPy or CuPy array, or a `Signal` that wraps the samples together with what is known about them. Algorithms are plain functions that take the data and return a new `Signal` or array, or a typed result such as `EqualizerResult` or an `*Estimate`. Plotting functions draw those results or call the public compute functions needed to produce them.
|
|
17
17
|
|
|
18
18
|
- **Things that describe** a modulation, a pulse or a sub-algorithm are small frozen objects written in the call: `lms(rx, cpr=BPS(test_phases=64))`. The same object works standalone: `correct_carrier_phase(y, BPS())`.
|
|
19
|
-
- **A `Signal` carries
|
|
19
|
+
- **A `Signal` carries properties and ground truth.** Its properties are `sampling_rate`, `symbol_rate`, `center_frequency` and `domain`; the carrier of an optical Signal gives its `center_wavelength_nm`, which dispersion, fiber propagation and OSNR noise read. The description is `constellation` and `pulse`. The ground truth is `reference`: the transmitted symbols, the bits on the air and the source bits before coding or distribution matching (the same array when there is neither). Functions take properties from the Signal and raise on a conflicting argument. Defaults such as the decision constellation come from the Signal too, and an explicit argument wins.
|
|
20
20
|
- **Results with several values are frozen dataclasses** with named fields. Metrics return host floats: one per channel for `(C, N)` input.
|
|
21
21
|
- **The device follows the data.** Processing functions have no `backend=` or `device=` argument. Only factories, which have no input data to follow, take `device=`: `generate(..., device="gpu")`. Move existing data with `sig.to("gpu")`.
|
|
22
22
|
- **Plots draw results.** `plot_*` functions take a Signal, an array or a result object; numerical code never imports plotting.
|
|
@@ -62,17 +62,24 @@ long = ck.filtering.fir_taps(sampling_rate=1e6, num_taps=101, cutoff=100e3)
|
|
|
62
62
|
response = ck.filtering.filter_response(long, sampling_rate=1e6)
|
|
63
63
|
print(response.frequencies, response.response, response.group_delay)
|
|
64
64
|
|
|
65
|
-
ck.plotting.apply_default_theme()
|
|
65
|
+
ck.plotting.apply_default_theme() # dark=False for dark text on white
|
|
66
66
|
_, ax = ck.plotting.plot_filter_response(
|
|
67
|
-
short, sampling_rate=1e6, quantity="magnitude", label="21 taps"
|
|
67
|
+
short, sampling_rate=1e6, quantity="magnitude", label="21 taps",
|
|
68
|
+
relative=True, annotations=True,
|
|
68
69
|
)
|
|
69
70
|
ck.plotting.plot_filter_response(
|
|
70
71
|
long, sampling_rate=1e6, quantity="magnitude", ax=ax,
|
|
71
|
-
label="101 taps", legend=True, show=True,
|
|
72
|
+
label="101 taps", legend=True, relative=True, annotations=True, show=True,
|
|
72
73
|
)
|
|
73
74
|
```
|
|
74
75
|
|
|
75
|
-
|
|
76
|
+
`relative=True` draws each magnitude relative to its peak, 0 dB, so taps of
|
|
77
|
+
any scaling compare, and `annotations=True` adds a dashed line at -3 dB. An FIR
|
|
78
|
+
filter is drawn as `fir_filter` applies it, aligned on its centre tap;
|
|
79
|
+
`causal=True` shows the causal convolution's delay. `plot_psd` and
|
|
80
|
+
`plot_spectrogram` take `relative=True` too, the spectrogram also
|
|
81
|
+
`dynamic_range_db=`. See notebook 03 for filter and smoothing comparisons
|
|
82
|
+
and notebook 04 for pulses on symbol-rate axes (`sps=`). The multi-panel
|
|
76
83
|
equalizer, timing, recovery and coding diagnostics take `quantity=` in the
|
|
77
84
|
same way: draw a second result on the returned axis with its own `label=`,
|
|
78
85
|
and `annotations=False` to leave out repeated fits and guides.
|
|
@@ -166,7 +173,8 @@ With [`uv`](https://github.com/astral-sh/uv), use `uv pip install` in place of `
|
|
|
166
173
|
git clone https://github.com/lokgar/commkit.git
|
|
167
174
|
cd commkit
|
|
168
175
|
uv sync --all-extras
|
|
169
|
-
uv run nbstripout --install # once per clone:
|
|
176
|
+
uv run nbstripout --install # once per clone: strip outputs and local kernel metadata on commit
|
|
177
|
+
git config filter.nbstripout.extrakeys "metadata.kernelspec metadata.language_info.version"
|
|
170
178
|
|
|
171
179
|
uv run pytest # CPU and GPU tests
|
|
172
180
|
uv run pytest --device=cpu # what CI runs
|
|
@@ -9,7 +9,7 @@ iterations of a failure.
|
|
|
9
9
|
|
|
10
10
|
import numpy as np
|
|
11
11
|
import pytest
|
|
12
|
-
from workloads import coded_workload
|
|
12
|
+
from workloads import coded_workload, hard_word_workload, random_bits
|
|
13
13
|
|
|
14
14
|
from commkit.backend import to_device
|
|
15
15
|
from commkit.coding import (
|
|
@@ -39,8 +39,7 @@ NUM_CODEWORDS = 64
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
def bench_ldpc_encode(benchmark, backend_device, xp, sync):
|
|
42
|
-
|
|
43
|
-
bits = xp.asarray(rng.integers(0, 2, NUM_CODEWORDS * CODE.k, dtype=np.int8))
|
|
42
|
+
bits = xp.asarray(random_bits(NUM_CODEWORDS * CODE.k))
|
|
44
43
|
|
|
45
44
|
def run():
|
|
46
45
|
out = encode(bits, code=CODE)
|
|
@@ -54,26 +53,15 @@ def bench_ldpc_encode(benchmark, backend_device, xp, sync):
|
|
|
54
53
|
"method", [MinSum(), SumProduct()], ids=["min_sum", "sum_product"]
|
|
55
54
|
)
|
|
56
55
|
def bench_ldpc_decode(benchmark, backend_device, xp, sync, method):
|
|
57
|
-
|
|
58
|
-
llrs = xp.asarray(llrs_np)
|
|
59
|
-
|
|
60
|
-
def run():
|
|
61
|
-
out = decode(llrs, code=CODE, method=method)
|
|
62
|
-
sync()
|
|
63
|
-
return out
|
|
64
|
-
|
|
65
|
-
res = benchmark.pedantic(run, **ROUNDS)
|
|
66
|
-
assert np.array_equal(to_device(res.bits, "cpu"), info), "decoder did not converge"
|
|
56
|
+
_bench_decode(benchmark, xp, sync, CODE, method, NUM_CODEWORDS, 1.5)
|
|
67
57
|
|
|
68
58
|
|
|
69
59
|
def bench_kp4_decode(benchmark, backend_device, xp, sync):
|
|
70
60
|
"""RS(544, 514) over GF(2^10), 2048 codewords at a pre-FEC BER of 1e-3
|
|
71
61
|
(about 5 symbol errors per codeword, all correctable)."""
|
|
72
62
|
code = ReedSolomonCode.kp4()
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
words = np.asarray(encode(bits, code=code))
|
|
76
|
-
received = xp.asarray(words ^ (rng.random(words.shape) < 1e-3).astype(np.int8))
|
|
63
|
+
received_np, bits = hard_word_workload(code, 2048, ber=1e-3)
|
|
64
|
+
received = xp.asarray(received_np)
|
|
77
65
|
|
|
78
66
|
def run():
|
|
79
67
|
out = decode(received, code=code)
|
|
@@ -132,8 +120,7 @@ def bench_chase_decode(benchmark, backend_device, xp, sync):
|
|
|
132
120
|
def bench_ccdm_decode(benchmark, backend_device, xp, sync):
|
|
133
121
|
"""Dematching of 8 blocks of 20000 PS-64-QAM symbols (labels, no noise)."""
|
|
134
122
|
code = CCDM(Constellation.qam(64).shaped(entropy=5.0), num_symbols=20_000)
|
|
135
|
-
|
|
136
|
-
bits = rng.integers(0, 2, 8 * code.k, dtype=np.int8)
|
|
123
|
+
bits = random_bits(8 * code.k)
|
|
137
124
|
labels = xp.asarray(np.asarray(encode(bits, code=code)))
|
|
138
125
|
|
|
139
126
|
def run():
|
|
@@ -6,46 +6,14 @@ import gc
|
|
|
6
6
|
import tracemalloc
|
|
7
7
|
|
|
8
8
|
import pytest
|
|
9
|
+
from workloads import pipeline_signal
|
|
9
10
|
|
|
10
|
-
from commkit import equalization, filtering,
|
|
11
|
-
from commkit.core import Preamble, Reference, SingleCarrierFrame
|
|
12
|
-
from commkit.filtering import RRC
|
|
11
|
+
from commkit import equalization, filtering, multirate
|
|
13
12
|
from commkit.impairments import apply_awgn
|
|
14
|
-
from commkit.mapping import Constellation
|
|
15
13
|
|
|
16
14
|
ROUNDS = dict(rounds=3, warmup_rounds=1, iterations=1)
|
|
17
15
|
|
|
18
16
|
|
|
19
|
-
def _plain_signal():
|
|
20
|
-
return generate(
|
|
21
|
-
Constellation.qam(16),
|
|
22
|
-
num_symbols=32_768,
|
|
23
|
-
symbol_rate=1e6,
|
|
24
|
-
sps=4,
|
|
25
|
-
pulse=RRC(0.35, span=8),
|
|
26
|
-
rng=42,
|
|
27
|
-
)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
def _frame_signal():
|
|
31
|
-
frame = SingleCarrierFrame(
|
|
32
|
-
# 1057 pilot periods of 31 payload symbols: the length the 1.x frame
|
|
33
|
-
# snapped 32_768 up to, so the workload matches the 0002 baseline.
|
|
34
|
-
payload_num_symbols=32_798,
|
|
35
|
-
payload_constellation=Constellation.qam(16),
|
|
36
|
-
payload_rng=42,
|
|
37
|
-
preamble=Preamble(sequence_type="barker", num_symbols=13),
|
|
38
|
-
pilot_pattern="comb",
|
|
39
|
-
pilot_period=32,
|
|
40
|
-
)
|
|
41
|
-
# Materialize all lazy provenance arrays so deep-copy overhead is visible.
|
|
42
|
-
payload_bits = frame.payload_bits
|
|
43
|
-
payload_symbols = frame.payload_symbols
|
|
44
|
-
_ = frame.pilot_bits, frame.pilot_symbols
|
|
45
|
-
sig = frame.to_signal(sps=4, symbol_rate=1e6, pulse=RRC(0.35, span=8))
|
|
46
|
-
return sig.replace(reference=Reference(symbols=payload_symbols, bits=payload_bits))
|
|
47
|
-
|
|
48
|
-
|
|
49
17
|
def _pipeline(sig, xp, sync):
|
|
50
18
|
out = apply_awgn(sig, esn0_db=20, rng=7)
|
|
51
19
|
out = filtering.matched_filter(out)
|
|
@@ -74,24 +42,8 @@ def _gpu_peak(call, xp, sync):
|
|
|
74
42
|
return peak
|
|
75
43
|
|
|
76
44
|
|
|
77
|
-
def _profile_peak_memory(run, backend_device, xp, sync):
|
|
78
|
-
"""Return incremental allocator high-water memory for one pipeline run."""
|
|
79
|
-
gc.collect()
|
|
80
|
-
if backend_device == "gpu":
|
|
81
|
-
return {"peak_gpu_pool_bytes": _gpu_peak(run, xp, sync)}
|
|
82
|
-
|
|
83
|
-
tracemalloc.start()
|
|
84
|
-
try:
|
|
85
|
-
result = run()
|
|
86
|
-
_, peak = tracemalloc.get_traced_memory()
|
|
87
|
-
del result
|
|
88
|
-
finally:
|
|
89
|
-
tracemalloc.stop()
|
|
90
|
-
return {"peak_cpu_tracemalloc_bytes": peak}
|
|
91
|
-
|
|
92
|
-
|
|
93
45
|
def _allocator_peak(call, backend_device, xp, sync):
|
|
94
|
-
"""
|
|
46
|
+
"""Incremental allocator high-water memory of one call of ``call``."""
|
|
95
47
|
gc.collect()
|
|
96
48
|
if backend_device == "gpu":
|
|
97
49
|
return _gpu_peak(call, xp, sync)
|
|
@@ -132,12 +84,17 @@ def _profile_rewrap_copy_cost(sig, backend_device, xp, sync):
|
|
|
132
84
|
@pytest.mark.parametrize("case", ["plain", "frame"], ids=["plain", "frame-backed"])
|
|
133
85
|
def bench_signal_pipeline(benchmark, backend_device, xp, sync, case):
|
|
134
86
|
"""Track wall time and peak CPU/GPU allocation for representative composition."""
|
|
135
|
-
sig = (
|
|
87
|
+
sig = pipeline_signal(frame=case == "frame").to(backend_device)
|
|
136
88
|
|
|
137
89
|
def run():
|
|
138
90
|
return _pipeline(sig, xp, sync)
|
|
139
91
|
|
|
140
|
-
|
|
92
|
+
key = (
|
|
93
|
+
"peak_gpu_pool_bytes"
|
|
94
|
+
if backend_device == "gpu"
|
|
95
|
+
else "peak_cpu_tracemalloc_bytes"
|
|
96
|
+
)
|
|
97
|
+
benchmark.extra_info[key] = _allocator_peak(run, backend_device, xp, sync)
|
|
141
98
|
benchmark.extra_info.update(
|
|
142
99
|
_profile_rewrap_copy_cost(sig, backend_device, xp, sync)
|
|
143
100
|
)
|