From 25cb5a7970a017f87135086294235a0f3d0762c8 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Fri, 10 Nov 2023 14:07:02 +0100 Subject: [PATCH] changes --- Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf b/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf index db11bd5d40..c45eb13878 100644 --- a/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf +++ b/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf @@ -2665,9 +2665,9 @@ Function PSQ_DAScale(device, s) ED_AddEntryToLabnotebook(device, key, maxSlopeLBN, overrideSweepNo = s.sweepNo, unit = "% of Hz/pA") if(PSQ_DS_CheckFitResults(device, s.sweepNo, s.headstage, fitOffset, fitSlope, fromSupra = 1)) - WAVE/D/Z futureDAScales = PSQ_DS_GatherOvershootCorrection(apfreq, DAScales, maxFrequencyChangePercent) + WAVE/D/Z futureDAScales = PSQ_DS_GatherOvershootCorrection(apfreqFromSupra, DAScalesFromSupra, maxFrequencyChangePercent) else - dascale = PSQ_DS_CalculateDAScale(fitOffset[inf], fitSlope[inf], apfreq[inf], maxFrequencyChangePercent) + dascale = PSQ_DS_CalculateDAScale(fitOffset[inf], fitSlope[inf], apfreqFromSupra[inf], maxFrequencyChangePercent) Make/FREE/D futureDAScales = {dascale} endif