Paint the band the way N1MM paints it
Behind the bandmap scale, the CW part of the band is one shade and the phone part another, with a third for a digital block. That is what N1MM's graphical bandmap does: ResizeBandPanels puts a CW, a Digi and an SSB panel behind the scale, sized from its CWBands, DigiBands and SSBBands tables. Anything past a band edge is shaded red, which is the only place the edges themselves show, and it only appears now that the slice can reach past an edge. The defaults are N1MM's: CW ends at 1840, 3600, 7125, 14150 and so on, and the digital pair is empty until somebody fills it in, exactly as N1MM ships. They are one worldwide set rather than one per ITU region, which is also N1MM's answer — the reason recorded for leaving this out, that the segments differ by region, was wrong about what N1MM holds. 60M and everything above 2M get no entry, because N1MM's own numbers there contradict themselves: its 1.25M CW top is below its phone start, and its 70CM CW top is above the band. Config ▸ Sub bands edits them, one row per band in kilohertz, with a Defaults button. Only the rows that differ are written to the settings file, so a plan nobody has touched leaves nothing behind. BandPlan is an object rather than a static table, so the stored changes layer over the defaults and the bandmap picks up a save without a restart. The numbers are a drawing aid, not a licence. Nothing stops a contact being logged either side of a boundary. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
17
README.md
17
README.md
@@ -229,8 +229,21 @@ The bars on the scale are as wide as the mode passes: green where you are
|
||||
listening, red where the radio transmits when working split, orange for the
|
||||
other radio of a two-radio station.
|
||||
|
||||
Band-plan colouring of the scale is not there. The segments differ by ITU region
|
||||
and the program has no band-plan table, so it would be guesswork.
|
||||
Behind the scale the CW part of the band is one shade and the phone part
|
||||
another, with a third shade for a digital block where one is set, and the CW
|
||||
boundary named in the status line. Anything past a band edge is shaded red,
|
||||
which is where the edges show. N1MM paints the same blocks from its `CWBands`,
|
||||
`DigiBands` and `SSBBands` tables.
|
||||
|
||||
**Config → Sub bands** edits them, one row per band, in kilohertz, with a
|
||||
Defaults button. The digital pair starts empty, as N1MM's does, so nothing is
|
||||
painted for it until it is filled in. Only the rows that differ from the
|
||||
defaults are written to the settings file.
|
||||
|
||||
The defaults are one worldwide set, as N1MM's are, not one per ITU region. They
|
||||
are a drawing aid: a contact logs either side of a boundary just the same.
|
||||
Bands where N1MM's own numbers contradict themselves — 60M, and everything
|
||||
above 2M — get no shading rather than a guess.
|
||||
|
||||
### Band edges
|
||||
|
||||
|
||||
Reference in New Issue
Block a user