id: digital_meas_evm_cc
label: EVM Measurement
category: '[Equalizers]'

templates:
  imports: from gnuradio import digital
  make: digital.meas_evm_cc(${cons},${meas_type})

parameters:
- id: cons
  label: Digital Constellation Object
  dtype: raw
  hide: 'part'
- id: meas_type
  label: EVM Meas Type
  dtype: enum
  options: [digital.evm_measurement_t.EVM_PERCENT, digital.evm_measurement_t.EVM_DB]
  option_labels: [Percent, Power-Ratio (dB)]
  hide: part

inputs:
- domain: stream
  dtype: complex
  vlen: 1

outputs:
- domain: stream
  dtype: float
  vlen: 1

file_format: 1
