-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
836e99f
commit cf09060
Showing
16 changed files
with
89 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
|
||
class DPO73304(Oscilloscope): | ||
name = "DPO73304" | ||
name: str = "DPO73304" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
import piel.experimental.types as types | ||
import piel.experimental.visual as visual | ||
|
||
from . import E8364A | ||
from . import DPO73304 | ||
from . import AWG70001A | ||
from . import SMA82052D | ||
|
||
from .file_system import ( | ||
construct_experiment_directories, | ||
construct_experiment_structure, | ||
) | ||
|
||
from .models.cables import rg164 | ||
from .models.oscilloscope import create_two_port_oscilloscope | ||
from .models.waveform_generator import create_one_port_square_wave_waveform_generator | ||
from .models.rf_passives import create_power_splitter_1to2 | ||
from .models.rf_calibration import ( | ||
open_82052D, | ||
short_82052D, | ||
load_85052D, | ||
through_85052D, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from ...types import CoaxialCable, CoaxialCableGeometryType | ||
|
||
|
||
def rg164( | ||
length_m: float, | ||
) -> CoaxialCable: | ||
geometry = CoaxialCableGeometryType( | ||
length_m=length_m, | ||
) | ||
|
||
return CoaxialCable(name="RG164", geometry=geometry) | ||
|
||
|
||
def cryo_cable( | ||
length_m: float, | ||
) -> CoaxialCable: | ||
# TODO measure them | ||
geometry = CoaxialCableGeometryType(length_m=length_m) | ||
|
||
return CoaxialCable(geometry=geometry) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from piel.types import Short, Open, Load, Through | ||
|
||
|
||
def short_82052D(): | ||
return Short(name="short_82052D") | ||
|
||
|
||
def open_82052D(): | ||
return Open(name="open_82052D") | ||
|
||
|
||
def load_85052D(): | ||
return Load(name="load_82052D") | ||
|
||
|
||
def through_85052D(): | ||
return Through(name="through_82052D") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import piel.experimental as pe | ||
|
||
|
||
def create_E8364A() -> pe.types.VNA: | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from ...types import PhysicalComponent, PhysicalPort | ||
|
||
|
||
class Short(PhysicalComponent): | ||
ports = [PhysicalPort(name="SHORT", connector="SMA_3.5mm", manifold="82052D")] | ||
|
||
|
||
class Open(PhysicalComponent): | ||
ports = [PhysicalPort(name="OPEN", connector="SMA_3.5mm", manifold="82052D")] | ||
|
||
|
||
class Load(PhysicalComponent): | ||
ports = [PhysicalPort(name="LOAD", connector="SMA_3.5mm", manifold="82052D")] | ||
|
||
|
||
class Through(PhysicalComponent): | ||
ports = [ | ||
PhysicalPort(name="IN", connector="SMA_3.5mm", manifold="82052D"), | ||
PhysicalPort(name="OUT", connector="SMA_3.5mm", manifold="82052D"), | ||
] |