Move python scripts to Tools/ directory
parent
99d617f142
commit
269fc479cc
|
@ -157,7 +157,7 @@ def print_summary(telemetry_file_path, event_file_path):
|
||||||
else:
|
else:
|
||||||
print("\n'Time' column not found in event data.")
|
print("\n'Time' column not found in event data.")
|
||||||
|
|
||||||
# Provide some insightful data about the hits and misses
|
|
||||||
if 'Time' in event_df.columns:
|
if 'Time' in event_df.columns:
|
||||||
hits = event_df[event_df['Event'] == 'HIT']
|
hits = event_df[event_df['Event'] == 'HIT']
|
||||||
misses = event_df[event_df['Event'] == 'MISS']
|
misses = event_df[event_df['Event'] == 'MISS']
|
||||||
|
@ -180,7 +180,6 @@ def print_summary(telemetry_file_path, event_file_path):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Update the main function to pass both telemetry and event file paths
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
parser = argparse.ArgumentParser(description='Visualize telemetry data and events.')
|
parser = argparse.ArgumentParser(description='Visualize telemetry data and events.')
|
||||||
parser.add_argument('telemetry_file', nargs='?', default=None, help='Path to telemetry CSV file.')
|
parser.add_argument('telemetry_file', nargs='?', default=None, help='Path to telemetry CSV file.')
|
Loading…
Reference in New Issue