Robotron Pty Ltd G9P 用户手册

下载
页码 128
            WiNRADiO G39DDC User’s Guide
 
 
 
121 
 
Appendix F – Waterfall Spectrum Palettes 
The Waterfall spectrum uses color palettes, selectable using the Palette 
control: 
 
The color palettes reside in ordinary text files with an extension “.pal”, located 
in the application installation folder, i.e. typically 
C:/Program files/WiNRADiO/G39DDC/Defs
The existing files are named Default.palBlue.palDeepBlue.palGray.pal
Magenta.palRainbow.palSepia.pal and Yellow.pal
You can create your own additional palettes quite easily. 
A palette file consists of 256 lines. The top line corresponds to the maximum 
signal strength (max_SS) displayed by the waterfall, the bottom line 
corresponds to the minimum signal strength (min_SS). 
Each line contains a set of decimal RGB values separated by spaces (0  0  0 
represents black; 255 255 255 is white). The incoming signal strength values 
are mapped to this color space as follows: 
If the attenuator is off, the minimum signal level is -150 dBm, the maximum 
level is 0 dBm. If the attenuator is on, the attenuation value is added to these 
figures (for example, for 10 dB attenuation, the minimum displayed signal level 
will be -140 dBm and the maximum level will be +10 dBm). 
The Color index, i.e. the sequential number of the corresponding line in the 
palette related to a particular input signal strength (SS) will be calculated using 
a linear interpolation formula:  
Color_index = 255 * (SS - min_SS) / (max_SS - min_SS) 
(All signal strength values are in dBm.)