diff --git a/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf b/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf index 96abbd8d44..46bba2a30c 100644 --- a/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf +++ b/Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf @@ -3219,6 +3219,7 @@ Function PSQ_DAScale(device, s) if(sweepPassed && initialFISlopeValid[s.headstage]) // we only want to calculate new DAScale values for passing sweeps // and if the initial FI slope is invalid we only need to measure futureDAScale values + // TODO why increment here only? What is for initial invalid fit and multiple futureDASCAles? DAScalesIndex[s.headstage] += 1 dascale = PSQ_DS_CalculateDAScale(fitOffset, fitSlope, apfreq, maxFrequencyChangePercent)