mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
19 lines
477 B
Python
19 lines
477 B
Python
|
|
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",
|
||
|
|
]
|
||
|
|
)
|