openwebrx/owrx/hfdl/dumphfdl.py

19 lines
477 B
Python
Raw Normal View History

2023-09-03 23:48:56 +02:00
from pycsdr.modules import ExecModule
from pycsdr.types import Format
class DumpHFDLModule(ExecModule):
def __init__(self):
super().__init__(
Format.COMPLEX_FLOAT,
Format.CHAR,
[
"dumphfdl",
"--iq-file", "-",
"--sample-format", "CF32",
"--sample-rate", "12000",
"--output", "decoded:json:file:path=-",
"0",
]
)