diff --git a/main.py b/main.py index 1b83887..4247f1b 100644 --- a/main.py +++ b/main.py @@ -54,7 +54,7 @@ def make_pressure_graph(sheet1, aoa, rpm, air_speed, doGraph=True): pitot_height_inch = sheet1.iloc[4:23, 11] pitot_height_m = (pitot_height_inch - atm_presure_inch)*INCH_TO_M - pressure = water_density * GRAVITY * pitot_height_m + pressure = -water_density * GRAVITY * pitot_height_m #print(pressure) #print(pressure.min(), pressure.max()) @@ -339,7 +339,7 @@ if __name__ == '__main__': print(raw_data["rpm"]) print("AoA Total Lift Drag ---- Upper Force Lower Force ") for aoa, force in [(a[-2], a[-1]) for a in cp_pain_data]: - print(f"{aoa:d}\\textdegree & {force[0]:.3f} & {force[1]:.3f} & {force[2]:.3f} -- {force[4]:.3f} {force[5]:.3f} \\\\") + print(f"{aoa:d}\\textdegree & {force[0]:.3f} & {force[1]:.3f} & {force[2]:.3f} \\\\% -- {force[4]:.3f} {force[5]:.3f} \\\\") print("-"*50) print("\n\n")