nothing important
This commit is contained in:
parent
5650e7b03b
commit
f35d9a85a6
|
@ -14,7 +14,7 @@ import click
|
||||||
@click.option("--power", "-p", type=float, default=-5, help="Port output power [dBm].")
|
@click.option("--power", "-p", type=float, default=-5, help="Port output power [dBm].")
|
||||||
@click.option("--snp", "-o", type=click.Path(), help="Path for output Touchstone file.")
|
@click.option("--snp", "-o", type=click.Path(), help="Path for output Touchstone file.")
|
||||||
def capture(start: float, stop: float, pts: int, power: float, snp: Path, ports: int):
|
def capture(start: float, stop: float, pts: int, power: float, snp: Path, ports: int):
|
||||||
pass
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
# %%
|
# %%
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# %% imports
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Callable, List, Tuple
|
from typing import Callable, List, Tuple
|
||||||
|
@ -25,6 +26,7 @@ from charon_vna.util import db20, s2vswr
|
||||||
|
|
||||||
# from vna import Charon
|
# from vna import Charon
|
||||||
|
|
||||||
|
# %%
|
||||||
DEFAULT_CONFIG = dict(
|
DEFAULT_CONFIG = dict(
|
||||||
frequency=np.arange(1e9, 2e9, 11), # Hz
|
frequency=np.arange(1e9, 2e9, 11), # Hz
|
||||||
power=-5, # dB
|
power=-5, # dB
|
||||||
|
@ -208,5 +210,6 @@ def main() -> None:
|
||||||
app.exec()
|
app.exec()
|
||||||
|
|
||||||
|
|
||||||
|
# %%
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user