Skip to content

Commit

Permalink
🚧 more classes
Browse files Browse the repository at this point in the history
  • Loading branch information
daquintero committed Jul 31, 2024
1 parent 52bec1b commit 525554f
Show file tree
Hide file tree
Showing 11 changed files with 527 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create_vna_measurements(
components=[rf_calibration_pcb, vna],
connections=experiment_connections,
index=i,
date_configured=datetime.now(),
date_configured=str(datetime.now()),
)

experiment_instances.append(experiment)
Expand All @@ -142,7 +142,9 @@ def create_vna_measurements(


pe.construct_experiment_directories(
experiment=vna_pcb_experiment, parent_directory=experiment_data_directory
experiment=vna_pcb_experiment,
parent_directory=experiment_data_directory,
construct_directory=True,
)

# ```
Expand Down Expand Up @@ -260,6 +262,7 @@ def propagation_delay_experiment(square_wave_frequency_Hz_list: list[float] = No
propagation_delay_experiment_directory = pe.construct_experiment_directories(
experiment=basic_propagation_delay_experiment,
parent_directory=experiment_data_directory,
construct_directory=True,
)

# ```
Expand Down Expand Up @@ -372,6 +375,10 @@ def propagation_delay_experiment(square_wave_frequency_Hz_list: list[float] = No
measurement_name="delay_ch1_ch2__s_1",
)

fig, ax = pe.visual.plot_signal_propagation_sweep_signals(
pcb_propagation_delay_sweep_data,
)

# TODO add graph showing this exact setup.
#
# In this setup, we will use a RF signal generator and a RF oscilloscope.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,127 @@
TODO
- **name**: None
- **components**:
-
- **name**: rf_calibration_pcb
- **ports**:
-
- **name**: SIG14
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: RES1
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG1
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG2
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: RES2
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG3
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: OPEN
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SHORT
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG5
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: RES3
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG6
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG7
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: RES4
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: SIG8
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
-
- **name**: L50
- **domain**: RF
- **connector**: smp_plug
- **manifold**: None
- **connections**:
- **components**:
- **environment**:
- **temperature_K**: 273.0
- **region**: None
- **manufacturer**: None
- **model**: None
-
- **name**: DPO73304
- **ports**:
-
- **name**: PORT1
- **domain**: RF
- **connector**: None
- **manifold**: None
-
- **name**: PORT2
- **domain**: RF
- **connector**: None
- **manifold**: None
- **connections**: None
- **components**:
- **environment**:
- **temperature_K**: 273.0
- **region**: None
- **manufacturer**: None
- **model**: None
- **configuration**: None
- **connections**:
-
- **name**: None
- **ports**:
-
- **name**: PORT1
-
- **name**: SIG14
-
- **name**: None
- **ports**:
-
- **name**: PORT2
-
- **name**: RES1
- **goal**: None
- **index**: 0
- **date_configured**: 2024-07-31 00:06:00.143602
- **date_measured**: None
Original file line number Diff line number Diff line change
@@ -1 +1,162 @@
"{\"name\":null,\"components\":[{\"name\":\"rf_calibration_pcb\",\"ports\":[{\"name\":\"SIG14\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"RES1\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG1\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG2\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"RES2\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG3\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"OPEN\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SHORT\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG5\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"RES3\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG6\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG7\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"RES4\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"SIG8\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null},{\"name\":\"L50\",\"domain\":\"RF\",\"connector\":\"smp_plug\",\"manifold\":null}],\"connections\":[],\"components\":[],\"environment\":{\"temperature_K\":273.0,\"region\":null}},{\"name\":\"DPO73304\",\"ports\":[{\"name\":\"PORT1\",\"domain\":\"RF\",\"connector\":null,\"manifold\":null},{\"name\":\"PORT2\",\"domain\":\"RF\",\"connector\":null,\"manifold\":null}],\"connections\":null,\"components\":[],\"environment\":{\"temperature_K\":273.0,\"region\":null},\"configuration\":null}],\"connections\":[{\"name\":null,\"ports\":[{\"name\":\"PORT1\"},{\"name\":\"SIG14\"}]},{\"name\":null,\"ports\":[{\"name\":\"PORT2\"},{\"name\":\"RES1\"}]}],\"goal\":null,\"index\":0,\"date_configured\":\"2024-07-29T11:15:57.223001\",\"date_measured\":null}"
{
"name": null,
"components": [
{
"name": "rf_calibration_pcb",
"ports": [
{
"name": "SIG14",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "RES1",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG1",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG2",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "RES2",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG3",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "OPEN",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SHORT",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG5",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "RES3",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG6",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG7",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "RES4",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "SIG8",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
},
{
"name": "L50",
"domain": "RF",
"connector": "smp_plug",
"manifold": null
}
],
"connections": [],
"components": [],
"environment": {
"temperature_K": 273.0,
"region": null
},
"manufacturer": null,
"model": null
},
{
"name": "DPO73304",
"ports": [
{
"name": "PORT1",
"domain": "RF",
"connector": null,
"manifold": null
},
{
"name": "PORT2",
"domain": "RF",
"connector": null,
"manifold": null
}
],
"connections": null,
"components": [],
"environment": {
"temperature_K": 273.0,
"region": null
},
"manufacturer": null,
"model": null,
"configuration": null
}
],
"connections": [
{
"name": null,
"ports": [
{
"name": "PORT1"
},
{
"name": "SIG14"
}
]
},
{
"name": null,
"ports": [
{
"name": "PORT2"
},
{
"name": "RES1"
}
]
}
],
"goal": null,
"index": 0,
"date_configured": "2024-07-31 00:06:00.143602",
"date_measured": null
}
Loading

0 comments on commit 525554f

Please sign in to comment.