From 4037d201e8f361d95a989107e64e5bf1cd279e07 Mon Sep 17 00:00:00 2001 From: Salma Baig <76014459+hydrowoxy@users.noreply.github.com> Date: Wed, 14 Jan 2026 15:34:07 -0500 Subject: [PATCH 1/4] removed accel curve from front end and backend enum --- .../java/com/mcmasterbaja/model/AnalyzerType.java | 1 - front-end/src/types/AnalyzerTypes.ts | 12 ------------ front-end/src/types/ApiTypes.ts | 1 - 3 files changed, 14 deletions(-) diff --git a/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java b/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java index c624fe60..5ca66fd7 100644 --- a/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java +++ b/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java @@ -1,7 +1,6 @@ package com.mcmasterbaja.model; public enum AnalyzerType { - ACCEL_CURVE, AVERAGE, CUBIC, DELETE_OUTLIER, diff --git a/front-end/src/types/AnalyzerTypes.ts b/front-end/src/types/AnalyzerTypes.ts index 7a45e900..6d80ebc6 100644 --- a/front-end/src/types/AnalyzerTypes.ts +++ b/front-end/src/types/AnalyzerTypes.ts @@ -47,18 +47,6 @@ export const analyzerConfig: Record = { defaultChecked: true, }, - [AnalyzerType.ACCEL_CURVE]: { - title: 'Acceleration Curve Tool', - description: - 'Given both primary (y-axis) and secondary (x-axis) RPM values, applies noise reduction then interpolates to show the shift curve.', - isJoinBased: true, - image: { - src: accelImage, - alt: 'Acceleration curve demo', - }, - links: [{ title: 'CVT Shifting Stages', url: 'CVT_Tutorial-part-2.pdf' }], - }, - [AnalyzerType.SGOLAY]: { title: 'Savitzky-Golay Smoother', description: diff --git a/front-end/src/types/ApiTypes.ts b/front-end/src/types/ApiTypes.ts index 2607e86a..667a14a4 100644 --- a/front-end/src/types/ApiTypes.ts +++ b/front-end/src/types/ApiTypes.ts @@ -24,7 +24,6 @@ export interface MinMax { } export enum AnalyzerType { - ACCEL_CURVE = 'ACCEL_CURVE', AVERAGE = 'AVERAGE', CUBIC = 'CUBIC', LINEAR_MULTIPLY = 'LINEAR_MULTIPLY', From 7365c9f131b62f1f4a30e10de9cb17bbcfd4e2f1 Mon Sep 17 00:00:00 2001 From: Salma Baig <76014459+hydrowoxy@users.noreply.github.com> Date: Wed, 14 Jan 2026 15:43:33 -0500 Subject: [PATCH 2/4] remove shift curve from enum --- backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java b/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java index 5ca66fd7..2f9f9c48 100644 --- a/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java +++ b/backend/src/main/java/com/mcmasterbaja/model/AnalyzerType.java @@ -12,7 +12,6 @@ public enum AnalyzerType { SPLIT, CONSTANT_ADDER, STRICT_TIMESTAMP, - SHIFT_CURVE, SMOOTH_STRICT_PRIM, SMOOTH_STRICT_SEC; From 94df7520c7fc210a9909c876df75152f4cad3813 Mon Sep 17 00:00:00 2001 From: Salma Baig <76014459+hydrowoxy@users.noreply.github.com> Date: Wed, 14 Jan 2026 15:44:05 -0500 Subject: [PATCH 3/4] remove redundant images --- front-end/src/assets/help/index.ts | 2 -- front-end/src/types/AnalyzerTypes.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/front-end/src/assets/help/index.ts b/front-end/src/assets/help/index.ts index 3677e2f4..e0484036 100644 --- a/front-end/src/assets/help/index.ts +++ b/front-end/src/assets/help/index.ts @@ -1,4 +1,3 @@ -import accelImage from '@assets/help/accel.png'; import interpolateImage from '@assets/help/interpolate.png'; import linearMultiplierImage from '@assets/help/linMult.png'; import RdpGif from '@assets/help/rdp.gif'; @@ -9,7 +8,6 @@ import splitImage from '@assets/help/split.png'; import placeholderImage from '@assets/help/placeholder.png'; export { - accelImage, interpolateImage, linearMultiplierImage, RdpGif, diff --git a/front-end/src/types/AnalyzerTypes.ts b/front-end/src/types/AnalyzerTypes.ts index 6d80ebc6..c588c724 100644 --- a/front-end/src/types/AnalyzerTypes.ts +++ b/front-end/src/types/AnalyzerTypes.ts @@ -1,8 +1,6 @@ /* eslint-disable max-len */ import { AnalyzerType } from '@types'; import { - accelImage, - interpolateImage, linearMultiplierImage, RdpGif, rollAvgImage, From 95e35c6e1bd1ef5fc2ad360e3132f0162992a814 Mon Sep 17 00:00:00 2001 From: Salma Baig <76014459+hydrowoxy@users.noreply.github.com> Date: Thu, 15 Jan 2026 00:11:32 -0500 Subject: [PATCH 4/4] fix shift curve --- front-end/src/lib/subteamGraphPresets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/src/lib/subteamGraphPresets.ts b/front-end/src/lib/subteamGraphPresets.ts index eefa2851..5654f1a1 100644 --- a/front-end/src/lib/subteamGraphPresets.ts +++ b/front-end/src/lib/subteamGraphPresets.ts @@ -7,8 +7,8 @@ export const subteamGraphPresets: DataViewerPreset[] = [ graphs: [ { axes: [ - { source: 'RPM PRIM.csv', dataType: 'RPM PRIM' }, { source: 'RPM SEC.csv', dataType: 'RPM SEC' }, + { source: 'RPM PRIM.csv', dataType: 'RPM PRIM' }, ], analyzer: AnalyzerType.SGOLAY, analyzerOptions: ['100', '3'],