Fix things?
This commit is contained in:
parent
0c6d48283a
commit
31aeb58d56
8
main.py
8
main.py
@ -257,9 +257,7 @@ if __name__ == '__main__':
|
|||||||
pressure = this_data[0]
|
pressure = this_data[0]
|
||||||
|
|
||||||
# Extrapolate Aerofoil Tip
|
# Extrapolate Aerofoil Tip
|
||||||
p1 = (PITOT_PLACEMENT[9], pressure.iloc[9])
|
p1, p2, pN = this_data[-3]
|
||||||
p2 = (PITOT_PLACEMENT[18], pressure.iloc[18])
|
|
||||||
pN = (0.9*CHORD_LEN, p2[1] + (p1[1]-p2[1])/2)
|
|
||||||
|
|
||||||
plts = (
|
plts = (
|
||||||
{"x": PITOT_PLACEMENT[:10], "y":pressure[:10], "colour": c["color"]},
|
{"x": PITOT_PLACEMENT[:10], "y":pressure[:10], "colour": c["color"]},
|
||||||
@ -296,9 +294,7 @@ if __name__ == '__main__':
|
|||||||
pressure = this_data[0]
|
pressure = this_data[0]
|
||||||
|
|
||||||
# Extrapolate Aerofoil Tip
|
# Extrapolate Aerofoil Tip
|
||||||
p1 = (PITOT_PLACEMENT[9], pressure.iloc[9])
|
p1, p2, pN = this_data[-3]
|
||||||
p2 = (PITOT_PLACEMENT[18], pressure.iloc[18])
|
|
||||||
pN = (0.9*CHORD_LEN, p2[1] + (p1[1]-p2[1])/2)
|
|
||||||
|
|
||||||
plts = (
|
plts = (
|
||||||
{"x": PITOT_PLACEMENT[:10], "y":pressure[:10], "colour": c["color"]},
|
{"x": PITOT_PLACEMENT[:10], "y":pressure[:10], "colour": c["color"]},
|
||||||
|
Loading…
Reference in New Issue
Block a user