From 715f63ef20cc5778c20e1fdbf1828c13591ae654 Mon Sep 17 00:00:00 2001 From: kjayawar <77035452+kjayawar@users.noreply.github.com> Date: Mon, 25 Sep 2023 11:05:08 +1000 Subject: [PATCH] small fix https://www.rcgroups.com/forums/showpost.php?p=51524707&postcount=26 --- afsmo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/afsmo.py b/afsmo.py index 14642d0..8af1096 100644 --- a/afsmo.py +++ b/afsmo.py @@ -161,6 +161,9 @@ def afsmo(dat_file, interpolate, n_inter, plotter, aspect_equal, **kwargs): try: theta, x_new, y_new = extract_afsmo_smr() + theta = theta[::-1] + x_new = x_new[::-1] + y_new = y_new[::-1] if interpolate: x_new, y_new = interpolate_new_points(theta, x_new, y_new, n_inter) except: @@ -271,4 +274,4 @@ def afsmo(dat_file, interpolate, n_inter, plotter, aspect_equal, **kwargs): ipunch = args.ipunch, icamtk = args.icamtk, ibad = args.ibad, - itrn = args.itrn) \ No newline at end of file + itrn = args.itrn)