Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Nov 10, 2023
1 parent a9b84b1 commit 25cb5a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25cb5a7

Please sign in to comment.