summaryrefslogtreecommitdiff
path: root/experiments
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-08-29 16:34:59 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-08-29 16:34:59 -0500
commita3536fa9de030ce26af7ebe00508ef632826e422 (patch)
tree3d21743e78efca6d02b9b04e9101a96941547467 /experiments
parent694ef40bb4dc7e16dbfcefec233055c4de396e80 (diff)
docs: label SPICE reference configuration
Diffstat (limited to 'experiments')
-rw-r--r--experiments/spice_autozero_primitive_p8.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/experiments/spice_autozero_primitive_p8.py b/experiments/spice_autozero_primitive_p8.py
index 3dec783..aba678b 100644
--- a/experiments/spice_autozero_primitive_p8.py
+++ b/experiments/spice_autozero_primitive_p8.py
@@ -131,7 +131,7 @@ def parse_args() -> argparse.Namespace:
def main() -> None:
args = parse_args()
records = [simulate(configuration) for configuration in configurations()]
- nominal = next(record for record in records if (
+ reference = next(record for record in records if (
record["acquisition_seconds"] == 1e-6
and record["switch_resistance_ohm"] == 200.0
and record["hold_capacitance_f"] == 1e-9
@@ -150,7 +150,7 @@ def main() -> None:
"buffer_and_subtractor": "ideal controlled voltage sources",
"switch": "ngspice voltage-controlled switch",
},
- "nominal_configuration": nominal,
+ "reference_configuration": reference,
"configuration_count": len(records),
"fraction_below_1_percent_error_at_start": sum(
record["start_relative_error"] < 0.01 for record in records
@@ -164,7 +164,7 @@ def main() -> None:
args.output.write_text(json.dumps(output, indent=2) + "\n")
print(json.dumps({
"configuration_count": len(records),
- "nominal_configuration": nominal,
+ "reference_configuration": reference,
"fraction_below_1_percent_error_at_start": (
output["fraction_below_1_percent_error_at_start"]),
"fraction_below_1_percent_error_at_end": (