Skip to content

Commit 87bf5f1

Browse files
committed
added stub files
1 parent 92b4c0d commit 87bf5f1

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from python_bladerf import pybladerf
2+
3+
run_available: dict[str, bool] = ...
4+
'''run_available[device.serialno] = True | False'''
5+
6+
def pybladerf_sweep(frequencies: list[int] | None = None, sample_rate: int = 61_000_000, baseband_filter_bandwidth: int | None = None,
7+
gain: int = 20, bin_width: int = 100_000, channel: int = 0, oversample: bool = False, antenna_enable: bool = False,
8+
sweep_style: pybladerf.pybladerf_sweep_style = pybladerf.pybladerf_sweep_style.PYBLADERF_SWEEP_STYLE_INTERLEAVED, serial_number: str | None = None,
9+
binary_output: bool = False, one_shot: bool = False, num_sweeps: int | None = None,
10+
filename: str | None = None, queue: object | None = None,
11+
print_to_console: bool = True,
12+
) -> None:
13+
...
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
run_available: dict[str, bool] = ...
2+
'''run_available[device.serialno] = True | False'''
3+
4+
def pybladerf_transfer(frequency: int | None = None, sample_rate: int = 10_000_000, baseband_filter_bandwidth: int | None = None,
5+
gain: int = 0, channel: int = 0, oversample: bool = False, antenna_enable: bool = False,
6+
repeat_tx: bool = False, synchronize: bool = False, num_samples: int | None = None, serial_number: str | None = None,
7+
rx_filename: str | None = None, tx_filename: str | None = None, rx_buffer: object | None = None, tx_buffer: object | None = None,
8+
print_to_console: bool = True) -> None:
9+
...

0 commit comments

Comments
 (0)