@lzcontest/bandmap
v0.1.1
Published
Typed bandmap spots, classification, navigation, preferences, and deterministic projection.
Maintainers
Readme
@lzcontest/bandmap
Deterministic bandmap projection and navigation.
Install
npm install @lzcontest/bandmapUsage
import {
defaultBandmapPreferences,
projectFrequencyToBandmapY,
} from '@lzcontest/bandmap';
const y = projectFrequencyToBandmapY(14_025_000, {
centerFrequencyHz: 14_000_000,
spanHz: 100_000,
heightPx: 600,
});
console.log(y);
console.log(defaultBandmapPreferences.automaticLifetimeMinutes.CW);Core API
| Export | Purpose |
| --- | --- |
| createBandmapSpot | Validate and normalize a spot |
| layoutBandmapSpots | Lay out visible spots across label lanes |
| mergeBandmapSpot | Apply duplicate and replacement policy |
| nextBandmapSpot | Navigate eligible spots by frequency |
| defaultBandmapPreferences | Standard display and expiry preferences |
