From 38bb084b87e7c60348311ac55fd7304f0cb50faf Mon Sep 17 00:00:00 2001 From: Will Malisch <will.malisch@d2l.com> Date: Sun, 28 Apr 2024 16:16:56 -0400 Subject: [PATCH] Update plot scripts with sample data that works (#20) --- utils/data-processing/plot_all_planes.py | 2 +- utils/data-processing/plot_peaks.py | 2 +- utils/data-processing/plot_vectorized_planes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/data-processing/plot_all_planes.py b/utils/data-processing/plot_all_planes.py index e13d100..70db2ce 100644 --- a/utils/data-processing/plot_all_planes.py +++ b/utils/data-processing/plot_all_planes.py @@ -7,7 +7,7 @@ column2 = [] column3 = [] # Open and read the CSV file -with open('outputs/1714090197.csv', 'r') as file: +with open('outputs/30steps.csv', 'r') as file: reader = csv.reader(file) for row in reader: # Append data from each column to respective lists diff --git a/utils/data-processing/plot_peaks.py b/utils/data-processing/plot_peaks.py index a36fbcc..8e1f4e7 100644 --- a/utils/data-processing/plot_peaks.py +++ b/utils/data-processing/plot_peaks.py @@ -5,7 +5,7 @@ import csv magnitudes = [] -with open('outputs/50steps-vectorized.csv', 'r') as file: +with open('outputs/30steps-vectorized.csv', 'r') as file: reader = csv.reader(file) next(reader) # Skip the header row for row in reader: diff --git a/utils/data-processing/plot_vectorized_planes.py b/utils/data-processing/plot_vectorized_planes.py index 7a0cce2..fcb5e62 100644 --- a/utils/data-processing/plot_vectorized_planes.py +++ b/utils/data-processing/plot_vectorized_planes.py @@ -5,7 +5,7 @@ import csv # Initialize list to store magnitudes magnitudes = [] -with open('outputs/vectorized_data.csv', 'r') as file: +with open('outputs/30steps-vectorized.csv', 'r') as file: reader = csv.reader(file) next(reader) # Skip the header row for row in reader: -- GitLab