cariboulabs-cariboulite/software/gr-caribouLite/grc/caribouLite_caribouLiteSour...

65 wiersze
1.3 KiB
YAML

id: caribouLite_caribouLiteSource
label: CaribouLite Source
category: '[caribouLite]'
flags: [python,cpp,throttle]
templates:
imports:
from gnuradio import caribouLite
make:
caribouLite.caribouLiteSource(${channel}, ${enable_agc}, ${rx_gain}, ${rx_bw}, ${sample_rate}, ${freq})
parameters:
- id: channel
label: S1G(0) or HiF(1)
dtype: int
default: 0
- id: enable_agc
label: Enable AGC
dtype: bool
default: False
- id: rx_gain
label: Rx gain [dB]
dtype: float
default: 40.0
- id: rx_bw
label: Rx bandwidth [Hz]
dtype: float
default: 2500000.0
- id: sample_rate
label: Sample rate [Hz]
dtype: float
default: 4000000.0
- id: freq
label: Frequency [Hz]
dtype: float
default: 900000000.0
cpp_templates:
includes: ['#include <gnuradio/caribouLite/caribouLiteSource.h>']
declarations: 'caribouLite::caribouLiteSource::sptr ${id};'
make: 'this->${id} = caribouLite::caribouLiteSource::make(${channel}, ${enable_agc}, ${rx_gain}, ${rx_bw}, ${sample_rate}, ${freq});'
packages: ['gnuradio-caribouLite']
link: ['gnuradio::gnuradio-caribouLite']
translations:
'False': 'false'
'True': 'true'
\[: '{'
\]: '}'
outputs:
- label: samples
domain: stream
dtype: complex
- label: meta
domain: stream
dtype: byte
file_format: 1