id: droneid_extractor
label: extractor
category: '[droneid]'

templates:
  imports: import droneid
  make: droneid.extractor(${sample_rate})

#  Make one 'parameters' list entry for every parameter you want settable from the GUI.
#     Keys include:
#     * id (makes the value accessible as \$keyname, e.g. in the make entry)
#     * label (label shown in the GUI)
#     * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...)
parameters:
- id: sample_rate
  label: Sample Rate
  dtype: float

#  Make one 'inputs' list entry per input and one 'outputs' list entry per output.
#  Keys include:
#      * label (an identifier for the GUI)
#      * domain (optional - stream or message. Default is stream)
#      * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...)
#      * vlen (optional - data stream vector length. Default is 1)
#      * optional (optional - set to 1 for optional inputs. Default is 0)
inputs:
- label: samples
  domain: stream
  dtype: complex
  vlen: 1
  optional: 0
- label: corr
  domain: stream
  dtype: float
  vlen: 1
  optional: 0

outputs:
- label: pdus
  domain: message
  optional: true

#  'file_format' specifies the version of the GRC yml format used in the file
#  and should usually not be changed.
file_format: 1
