-
Notifications
You must be signed in to change notification settings - Fork 4
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
350527c
commit 5493704
Showing
9 changed files
with
152 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# use experimental/__init__.py to import all the necessary modules and functions. | ||
from .cables import rg164 | ||
from .oscilloscope import create_two_port_oscilloscope, DPO73304 | ||
from .waveform_generator import create_one_port_square_wave_waveform_generator, AWG70001A | ||
from .multimeter import DMM6500 | ||
from .rf_passives import create_power_splitter_1to2 | ||
from .rf_calibration import ( | ||
open_82052D, | ||
short_82052D, | ||
load_85052D, | ||
through_85052D, | ||
) | ||
from .sourcemeter import SMU2450 | ||
from .oscilloscope import create_two_port_oscilloscope, DPO73304 | ||
from .waveform_generator import ( | ||
create_one_port_square_wave_waveform_generator, | ||
AWG70001A, | ||
) | ||
from .vna import E8364A |
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,38 @@ | ||
from ...types import PhysicalPort | ||
from ..types import Multimeter | ||
|
||
|
||
def DMM6500() -> Multimeter: | ||
ports = [ | ||
PhysicalPort( | ||
name="INPUTHI", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="INPUTLO", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="SENSEHI", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="SENSELO", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="MANIFOLDGND", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
] | ||
|
||
return Multimeter( | ||
name="DMM6500", | ||
ports=ports, | ||
manufacturer="Keithley", | ||
) |
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,38 @@ | ||
from ...types import PhysicalPort | ||
from ..types import Sourcemeter | ||
|
||
|
||
def SMU2450() -> Sourcemeter: | ||
ports = [ | ||
PhysicalPort( | ||
name="FORCEHI", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="FORCELO", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="SENSEHI", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="SENSELO", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
PhysicalPort( | ||
name="MANIFOLDGND", | ||
domain="DC", | ||
connector="Banana", | ||
), | ||
] | ||
|
||
return Sourcemeter( | ||
name="SMU2450", | ||
manufacturer="Keithley", | ||
ports=ports, | ||
) |
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
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,31 @@ | ||
from .device import Device, DeviceConfiguration | ||
|
||
|
||
class SourcemeterConfiguration(DeviceConfiguration): | ||
""" | ||
This class corresponds to the configuration of data which is just inherent to the Sourcemeter connectivity and configuration, | ||
not the experimental setup connectivity. | ||
""" | ||
|
||
current_limit_A: float | ||
voltage_limit_V: float | ||
|
||
|
||
class Sourcemeter(Device): | ||
""" | ||
Represents a sourcemeter. | ||
""" | ||
|
||
configuration: SourcemeterConfiguration | ||
|
||
|
||
class MultimeterConfiguration(DeviceConfiguration): | ||
""" | ||
This class corresponds to the configuration of data which is just inherent to the Multimeter connectivity and configuration, | ||
""" | ||
|
||
|
||
class Multimeter(Device): | ||
""" | ||
Represents a multimeter. | ||
""" |
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