1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 04:11:48 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
2022-01-22 08:59:40 +01:00

154 lines
3.6 KiB
YAML

SpectrumHistogramMarker:
description: Spectrum histogram marker settings
properties:
frequency:
type: number
format: float
power:
type: number
format: float
description: Fixed power mark
markerType:
type: integer
description: >
Marker type
* 0 - Fixed power
* 1 - Current power
* 2 - Max power
markerColor:
type: integer
description: Color in 8 bit BGR serie
show:
type: integer
description: >
Boolean - Marker display state
* 0 - Hidden
* 1 - Visible
SpectrumWaterfallMarker:
description: Spectrum waterfall marker settings
properties:
frequency:
type: number
format: float
time:
type: number
format: float
description: Time shift in seconds
markerColor:
type: integer
description: Color in 8 bit BGR serie
show:
type: integer
description: >
Boolean - Marker display state
* 0 - Hidden
* 1 - Visible
SpectrumAnnotationMarker:
description: Spectrum annotation marker settings
properties:
startFrequency:
type: integer
format: int64
bandwidth:
type: integer
markerColor:
type: integer
description: Color in 8 bit BGR serie
show:
type: integer
description: >
Boolean - Marker display state
* 0 - Hidden
* 1 - Visible
GLSpectrum:
description: GLSpectrumGUI settings
properties:
fftSize:
type: integer
fftOverlap:
type: integer
fftWindow:
description: See FFTWindow
type: integer
refLevel:
type: number
format: float
powerRange:
type: number
format: float
fpsPeriodMs:
type: integer
description: FPS capping period in milliseconds. 0 for no limit.
displayWaterfall:
description: boolean
type: integer
invertedWaterfall:
description: boolean
type: integer
displayMaxHold:
description: boolean
type: integer
displayHistogram:
description: boolean
type: integer
decay:
type: integer
displayGrid:
description: boolean
type: integer
displayGridIntensity:
type: integer
decayDivisor:
type: integer
histogramStroke:
type: integer
displayCurrent:
description: boolean
type: integer
displayTraceIntensity:
type: integer
waterfallShare:
type: number
format: float
averagingMode:
description: See GLSpectrumGUI::AveragingMode
type: integer
averagingValue:
type: integer
linear:
description: boolean
type: integer
ssb:
description: boolean
type: integer
usb:
description: boolean
type: integer
wsSpectrum:
type: integer
description: >
Boolean - Start or stop websocket server
* 0 - Stop server
* 1 - Start server
wsSpectrumAddress:
description: IPv4 address of interface the websocket server is listening to
type: string
wsSpectrumPort:
description: port on which the websocket server is listening
type: integer
histogramMarkers:
type: array
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumHistogramMarker"
waterfallMarkers:
type: array
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumWaterfallMarker"
annotationMarkers:
type: array
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumAnnotationMarker"