Skip to content

Commit

Permalink
Add comment about coaxial_probes
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Mar 20, 2024
1 parent a371927 commit 107f822
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions generate_dataset/measurement_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
},
{
"enabled": true,
"enabled": false,
"name": "measurement_1kHz_middle_5v",
"noise_settings": {
"without_noise": false,
Expand All @@ -55,10 +55,10 @@
}
},
{
"enabled": false,
"enabled": true,
"name": "measurement_10kHz_middle_5v",
"noise_settings": {
"without_noise": false,
"without_noise": true,
"with_noise_copies": 1,
"horizontal_noise": 0.00035,
"vertical_noise": 0.166972709220574e-06
Expand All @@ -75,8 +75,8 @@
"enabled": true,
"name": "measurement_100kHz_high_12v",
"noise_settings": {
"without_noise": false,
"with_noise_copies": 1,
"without_noise": true,
"with_noise_copies": 0,
"horizontal_noise": 0.00035,
"vertical_noise": 0.166972709220574e-06
},
Expand Down
5 changes: 2 additions & 3 deletions generate_dataset/simulator_ivc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from matplotlib.offsetbox import AnnotationBbox, OffsetImage
from PySpice.Spice.Parser import Circuit

UFIV_VERSION = "1.1.2"


class SimulatorIVC:
def __init__(self, measurement_variant):
Expand All @@ -25,6 +23,7 @@ def get_ivc(self, circuit: Circuit):
ssr *= 2 # Increase quality

circuit.R('cs', 'input', 'input_dummy', self.measurement_settings['internal_resistance'])
# circuit.C('coaxial_probes', circuit.gnd, 'input_dummy', 204*10**-12) # 28*10**-12
circuit.AcLine('Current', circuit.gnd, 'input_dummy', rms_voltage=rms_voltage,
frequency=self.measurement_settings['probe_signal_frequency'])

Expand Down Expand Up @@ -55,7 +54,7 @@ def save_ivc(self, title, analysis, path):
'voltages': list(voltages),
'is_reference': True}

board = {'version': UFIV_VERSION,
board = {'version': "1.1.2",
'elements': [{'pins': [{'iv_curves': [measurement],
'x': 0,
'y': 0,
Expand Down

0 comments on commit 107f822

Please sign in to comment.