1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-08 01:26:01 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/Structs.yaml

98 lines
1.8 KiB
YAML

SampleRate:
description: A sample rate expressed in samples per second (S/s)
properties:
rate:
type: integer
Bandwidth:
description: A bandwidth expressed in Hertz (Hz)
properties:
bandwidth:
type: integer
Frequency:
description: A frequency expressed in Hertz (Hz)
properties:
frequency:
type: integer
FrequencyBand:
description: A band of frequencies given its boudaries in Hertz (Hz)
properties:
name:
type: string
lowerBound:
type: integer
higherBound:
type: integer
Gain:
description: A gain expressed in centi-Bels (tenths of dB)
properties:
gainCB:
type: integer
Range:
description: An arbitrary range of integer values
properties:
min:
type: integer
max:
type: integer
step:
type: integer
RangeFloat:
description: An arbitrary range of floating point values
properties:
min:
type: number
format: float
max:
type: number
format: float
step:
type: number
format: float
FrequencyRange:
description: An frequency range with 64 bit support for min and max
properties:
min:
type: integer
format: int64
max:
type: integer
format: int64
step:
type: integer
NamedEnum:
description: Enumeration with name for values
properties:
name:
type: string
value:
type: integer
ArgInfo:
descripion: Argument information used in SoapySDR
properties:
key:
type: string
valueType:
type: string
enum: [bool, int, float, string]
valueString:
type: string
Complex:
description: A complex number
properties:
real:
type: number
format: float
imag:
type: number
format: float