Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Dec 18, 2024
1 parent d266152 commit 27d1d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packages/MIES/MIES_SweepFormula_PSX.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,7 @@ static Function PSX_UpdateAverageTraces(string win, WAVE/T eventIndexFromTraces,

// single event waves are zeroed in x-direction to extractStartAbs
[extractStartAbs, extractStopAbs] = PSX_GetSingleEventRange(psxEvent, sweepDataOffFilt, idx)
fitStartAbs = psxEvent[idx][%$"Onset Time"]
fitStartAbs = psxEvent[idx][%$"Onset Time"]

if(IsFinite(fitStartAbs))
ASSERT(fitStartAbs >= extractStartAbs, "Unexpected fit/extraction start positions")
Expand Down Expand Up @@ -2356,7 +2356,7 @@ static Function PSX_FitAcceptAverage(string win, DFREF averageDFR, WAVE eventSta
if(WaveExists(eventStopTimeClean))
meanStopTime = mean(eventStopTime)
else
meanStopTime = inf
meanStopTime = Inf
endif

start = 0 // max(0, mean(eventStartTime))
Expand Down

0 comments on commit 27d1d13

Please sign in to comment.