Skip to content

Commit

Permalink
TP: Rename TP_GetStoredTPs to TP_GetConsecutiveTPsUptoMarker
Browse files Browse the repository at this point in the history
- better descriptive name for function purpose

No functional changes
  • Loading branch information
MichaelHuth committed Aug 16, 2024
1 parent d3b169f commit 09ba5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Packages/MIES/MIES_TestPulse.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ End
/// identified by tpMarker.
///
/// The wave reference wave will have as many columns as active headstages were used.
Function/WAVE TP_GetStoredTPs(string device, variable tpMarker, variable number)
Function/WAVE TP_GetConsecutiveTPsUptoMarker(string device, variable tpMarker, variable number)

variable numEntries

Expand Down Expand Up @@ -313,7 +313,7 @@ End
/// - Active headstages
static Function/WAVE TP_GetTPWaveForAutoTP(string device, variable marker)

WAVE/WAVE/Z TPs = TP_GetStoredTPs(device, marker, 2)
WAVE/WAVE/Z TPs = TP_GetConsecutiveTPsUptoMarker(device, marker, 2)

if(!WaveExists(TPs))
return $""
Expand Down

0 comments on commit 09ba5cb

Please sign in to comment.