Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Jul 19, 2024
1 parent dcefacd commit 4035595
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Packages/MIES/MIES_AnalysisFunctions_PatchSeq.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,7 @@ static Function PSQ_DS_AdaptiveIsFinished(string device, variable sweepNo, varia
endif

WAVE numericalValues = GetLBNumericalValues(device)
WAVE textualValues = GetLBTextualValues(device)
WAVE textualValues = GetLBTextualValues(device)

if(fromRHSuAd)
Make/FREE/N=0 sweepPassed, fiSlopeReached
Expand Down Expand Up @@ -2717,9 +2717,9 @@ static Function PSQ_DS_AdaptiveIsFinished(string device, variable sweepNo, varia
endif
endif

key = CreateAnaFuncLBNKey(PSQ_DA_SCALE, PSQ_FMT_LBN_DA_AT_RSA_FI_SLOPES_PASS, query = 1)
key = CreateAnaFuncLBNKey(PSQ_DA_SCALE, PSQ_FMT_LBN_DA_AT_RSA_FI_SLOPES_PASS, query = 1)
WAVE/T fiSlopeReachedRhSuAdLBN = GetLastSetting(textualValues, sweepNo, key, UNKNOWN_MODE)
WAVE fiSlopeReachedRhSuAd = ListToNumericWave(fiSlopeReachedRhSuAdLBN[headstage], ";")
WAVE fiSlopeReachedRhSuAd = ListToNumericWave(fiSlopeReachedRhSuAdLBN[headstage], ";")
WaveClear fiSlopeReachedRhSuAdLBN

// we only store the f-I slopes from passing RhSuAd sweeps
Expand Down Expand Up @@ -2976,7 +2976,7 @@ static Function/WAVE PSQ_DS_GetPassingRhSuAdSweepsAndStoreInLBN(string device, v

WAVE/T RhSuAdSweepsLBN = LBN_GetTextWave()
RhSuAdSweepsLBN[headstage] = NumericWaveToList(sweeps, ";", format = "%d")
key = CreateAnaFuncLBNKey(PSQ_DA_SCALE, PSQ_FMT_LBN_DA_AT_RSA_SWEEPS)
key = CreateAnaFuncLBNKey(PSQ_DA_SCALE, PSQ_FMT_LBN_DA_AT_RSA_SWEEPS)
ED_AddEntryToLabnotebook(device, key, RhSuAdSweepsLBN, overrideSweepNo = sweepNo)

return sweeps
Expand Down

0 comments on commit 4035595

Please sign in to comment.