1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/Structs.yaml

93 lines
1.6 KiB
YAML
Raw Normal View History

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
2018-09-22 04:39:09 -04:00
Range:
description: An arbitrary range of integer values
2018-09-22 04:39:09 -04:00
properties:
min:
type: integer
max:
type: integer
step:
type: integer
scale:
type: number
format: float
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
2018-09-22 04:39:09 -04:00
step:
type: integer
scale:
type: number
format: float
NamedEnum:
description: Enumeration with name for values
properties:
name:
type: string
value:
type: integer
Complex:
description: A complex number
properties:
real:
type: number
format: float
imag:
type: number
format: float