2021-11-18 12:10:36 +01:00
|
|
|
# yaml-language-server: $schema=http://json-schema.org/draft-07/schema
|
2022-01-10 17:52:36 +01:00
|
|
|
---
|
2021-11-18 12:10:36 +01:00
|
|
|
|
|
|
|
allOf:
|
2022-01-10 17:52:36 +01:00
|
|
|
- $ref: common.yaml
|
|
|
|
- $ref: multi.yaml
|
|
|
|
- type: object
|
2022-03-22 20:21:02 +01:00
|
|
|
required:
|
|
|
|
- sample_rate
|
|
|
|
- start_freqency
|
|
|
|
- end_freqency
|
|
|
|
- frequency_resolution
|
|
|
|
- dft_rate
|
2022-01-10 17:52:36 +01:00
|
|
|
properties:
|
|
|
|
sample_rate:
|
|
|
|
type: integer
|
2022-03-22 20:21:02 +01:00
|
|
|
default: 0
|
|
|
|
example: 10000
|
|
|
|
description: The precision to which the singal should be rounded
|
2022-01-10 17:52:36 +01:00
|
|
|
start_freqency:
|
|
|
|
type: number
|
2022-03-22 20:21:02 +01:00
|
|
|
example: 49.7
|
|
|
|
description: "The first frequency bin"
|
2022-01-10 17:52:36 +01:00
|
|
|
end_freqency:
|
|
|
|
type: number
|
2022-03-22 20:21:02 +01:00
|
|
|
example: 50.3
|
|
|
|
description: "The last frequency bin"
|
2022-01-10 17:52:36 +01:00
|
|
|
frequency_resolution:
|
|
|
|
type: number
|
2022-03-22 20:21:02 +01:00
|
|
|
example: 0.1
|
|
|
|
description: "The frequency resolution of the dft"
|
2022-01-10 17:52:36 +01:00
|
|
|
dft_rate:
|
|
|
|
type: integer
|
2022-03-22 20:21:02 +01:00
|
|
|
example: 1
|
|
|
|
description: "Phasor calculations per second. Cannot be lower then 1 phasor/second"
|
2022-01-10 17:52:36 +01:00
|
|
|
window_size_factor:
|
|
|
|
type: integer
|
2022-03-22 20:21:02 +01:00
|
|
|
default: 1
|
|
|
|
description: "A factor that increases the automatically calculated window by this amount"
|
2022-01-10 17:52:36 +01:00
|
|
|
window_type:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- flattop
|
|
|
|
- hamming
|
|
|
|
- hann
|
2022-03-22 20:21:02 +01:00
|
|
|
default: none
|
|
|
|
description: "The type of windowing"
|
2022-01-10 17:52:36 +01:00
|
|
|
padding_type:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- zero
|
|
|
|
- signal_repeat
|
2022-03-22 20:21:02 +01:00
|
|
|
default: none
|
|
|
|
description: "The padding type"
|
2022-01-10 17:52:36 +01:00
|
|
|
frequency_estimate_type:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- quadratic
|
2022-03-22 20:21:02 +01:00
|
|
|
default: none
|
|
|
|
description: "The estimation type"
|
2022-01-10 17:52:36 +01:00
|
|
|
pps_index:
|
|
|
|
type: integer
|
2022-03-22 20:21:02 +01:00
|
|
|
description: "The index of the PPS singal. This is only needed if dumper is used"
|
|
|
|
default: 0
|
2022-01-10 17:52:36 +01:00
|
|
|
angle_unit:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- rad
|
|
|
|
- degree
|
2022-03-22 20:21:02 +01:00
|
|
|
default: rad
|
|
|
|
description: "The representation of the angle"
|
2022-01-10 17:52:36 +01:00
|
|
|
add_channel_name:
|
|
|
|
type: boolean
|
2022-03-22 20:21:02 +01:00
|
|
|
default: false
|
|
|
|
description: "Adds the name of the channel to the phasor property name e.g amplitude_ch1"
|
|
|
|
timestamp_align:
|
|
|
|
enum:
|
|
|
|
- left
|
|
|
|
- center
|
|
|
|
- right
|
|
|
|
default: center
|
|
|
|
description: "The timestamp in the window that is used for timestamping the phasor"
|
|
|
|
phase_offset:
|
|
|
|
type: number
|
|
|
|
default: 0.0
|
|
|
|
example: 10.0
|
|
|
|
description: "The offset for a calculated phase"
|
|
|
|
amplitude_offset:
|
|
|
|
type: number
|
|
|
|
default: 0.0
|
|
|
|
example: 0.2
|
|
|
|
description: "The offset for a calculated amplitude"
|
|
|
|
frequency_offset:
|
|
|
|
type: number
|
|
|
|
default: 0.0
|
|
|
|
exmaple: 0.2
|
|
|
|
description: "The offset for a calculated frequency"
|
|
|
|
rocof_offset:
|
|
|
|
type: number
|
|
|
|
default: 0.0
|
|
|
|
example: 0.0
|
|
|
|
description: "The offset for a calculated rocof. This setting does not really make sense but is available for completeness reasons"
|