Skip to content

Commit 3a9cf70

Browse files
committed
Minor tweaks
1 parent 64cecca commit 3a9cf70

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

freegsnke/control_loop/shape_category.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,6 @@ def __init__(
138138
139139
Notes
140140
-----
141-
If `mode` is not one of the recognised values, `run_control`,
142-
`keys_to_spline`, and `keys_to_step` are never set, and the
143-
subsequent validation loop and `update_interpolants` call will raise
144-
an `AttributeError` rather than a clear error about the invalid mode.
145-
146141
Calls `update_interpolants` at the end of initialisation to build
147142
the interpolating functions from `data`.
148143
"""
@@ -427,7 +422,6 @@ def run_control_PID(
427422
-----
428423
- The integral term is updated using trapezoidal integration.
429424
- The final output blends feedforward and feedback derivatives based on a dynamic blend factor.
430-
- THIS FUNCTION IS UNTESTED.
431425
"""
432426

433427
# extract data

freegsnke/control_loop/systems_category.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def plot_data(self, tmin=-1.0, tmax=1.0, nt=1001):
365365

366366
if key[-4:] == "pert":
367367
ax.set_ylabel(rf"{key} [$A$]")
368-
elif key in ["min_coil_curr_lims", "min_coil_curr_lims"]:
368+
elif key in ["min_coil_curr_lims", "max_coil_curr_lims"]:
369369
ax.set_ylabel(rf"{key} [$A$]")
370370
elif key == "max_coil_curr_ramp_lims":
371371
ax.set_ylabel(rf"{key} [$A/s$]")

0 commit comments

Comments
 (0)