This commit is contained in:
Cal Wing 2024-10-17 00:15:46 +10:00
parent f94db19588
commit 28a70f453a

View File

@ -243,8 +243,8 @@ def load_data(data_to_load: list[str]) -> dict:
p2p_1 = p2p / abs(p2_g1_time - p1_g1_time) # m/s p2p_1 = p2p / abs(p2_g1_time - p1_g1_time) # m/s
p2p_2 = p2p / abs(p2_g2_time - p1_g2_time) # m/s p2p_2 = p2p / abs(p2_g2_time - p1_g2_time) # m/s
print(f"{foo[0]} - {foo[1]} - G1 - Measured a shock speed of {p2p_1:.2f} m/s ({p2p_1/1000:.2f} km/s)") print(f"{foo[0]}-{foo[1]} - G1 - Measured a shock speed of {p2p_1:.2f} m/s ({p2p_1/1000:.2f} km/s)")
print(f"{foo[0]} - {foo[1]} - G2 - Measured a shock speed of {p2p_2:.2f} m/s ({p2p_2/1000:.2f} km/s)") print(f"{foo[0]}-{foo[1]} - G2 - Measured a shock speed of {p2p_2:.2f} m/s ({p2p_2/1000:.2f} km/s)")
# Return the data & the successfully loaded data keys # Return the data & the successfully loaded data keys